Skip to content

Update uid/gid pins for qemu - #2418

Merged
mmlb merged 2 commits into
developfrom
push-zmtpsulptylu
Sep 7, 2026
Merged

mmlb merged 2 commits into
developfrom
push-zmtpsulptylu

Conversation

@mmlb

@mmlb mmlb commented Sep 4, 2026

Copy link
Copy Markdown
Collaborator

What kind of change does this PR introduce?

Bug fix and feature!

What is the current behavior?

We aren't building the qemu images because of uid/gid conflicts, but more importantly we don't treat qemu image builds like the AMI builds and don't check the output with supascan.

What is the new behavior?

Ansible explicitly creates users/groups with same uid/gids as we had previously and supascan verifies the qemu build artifact.

mmlb added 2 commits September 4, 2026 15:04
The qemu build setup is a bit different than the AMI so ends up with
different uid/gids. For example the ubuntu user/group already exists
since we do an in place build instead of debootstrap like in the AMI.
We should be testing qemu build output just like arm64 (and recently
amd64). This is based on ami-build-arm64 with minimal changes to get it
to pass. I opted for this so we can see differences between all the
different baselines.
@mmlb
mmlb requested review from a team as code owners September 4, 2026 19:26
@brainrake

Copy link
Copy Markdown
Collaborator

Oof, any way we can avoid diverging ids?

@brainrake

Copy link
Copy Markdown
Collaborator

Or was that the previous state? In that case, maybe we can migrate qemu images? What are they used for downstream?

@mmlb

mmlb commented Sep 7, 2026

Copy link
Copy Markdown
Collaborator Author

@brainrake yeah oof indeed. This is matching the previous state. I'd like to transition so everything matches but thats not really in the cards right now and we need to get back to the previous values ASAP.

@mmlb
mmlb enabled auto-merge September 7, 2026 12:47
@mmlb
mmlb added this pull request to the merge queue Sep 7, 2026
Merged via the queue into develop with commit 5c7df5a Sep 7, 2026
47 checks passed
@mmlb
mmlb deleted the push-zmtpsulptylu branch September 7, 2026 14:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants