Skip to content

Promotion of 0.3.0 to main - #189

Merged
jose-caballero merged 32 commits into
mainfrom
0.3.X
Aug 20, 2026
Merged

Promotion of 0.3.0 to main#189
jose-caballero merged 32 commits into
mainfrom
0.3.X

Conversation

@khalford

Copy link
Copy Markdown
Member

This is the promotion PR for image builders version 0.3.0 to main. All features in this branch have been reviewed already. This PR completes the CHANGELOG.md with pull requests numbers and completes the RELEASE.md notes for the version.

khalford and others added 30 commits August 17, 2026 13:29
- Remove reference to K8s images as they are not built directly with this tooling.
- Added the pull request link to the changelog.
- Added a date to the release

- removed the duplicated release 0.2.0 from the rebase
DOC - os_builders: Update CHANGELOG
- Pakiti 2 is no longer being used. We need to move to Pakiti 3.
- There is no repository or RPM providing this script. We have to download it from GitHub and install perl. To prevent supply chain attacks we will copy the script into our repository
- All VMs should report to the "Cloud" site which members of the Cloud team have access to.
- It is set to run as a cron job by the root user. It does not run on boot, this stops short lived VMs from polluting the Pakiti server. e.g. Rally VMs
update_keys.sh hangs indefinitely because the endpoint
openstack.stfc.ac.uk:9999/admin_key_list was removed when we
decommissioned lb5 and lb6. I've added a limit to the wget command so it
only tries 5 times then errors. We still want to include this script because we will create a redirect / alternative solution that may use the same endpoint.
The EPEL repositories were removed during the change over to the new image builders. Some users automations relied on this package being present so I am adding it back to the Rocky images.
ENH - os_builders: Install EPEL repositories onto Rocky
This shrinks the image down by marking free blocks so the conversion
can simply truncate these blocks in the qcow2 image.

While disk space is cheap, this is free and slightly speeds up VM
creation by using smaller images with less cruft being shipped around
in the form of released blocks from the FS

Skip adding to changelog, as this is not user-visible in any way as
those blocks were released in the image build. It's purely a glance
nova free little-win
BUG - os_builders: Fix hanging update_keys.sh
Add a link to the pakiti client script for traceability
By calling the script from /etc/cron.daily it will naturally smear all VMs as they are created at different times.
MAINT: Move to Pakiti 3
ENH: Run fstrim during image sysprep
The hostname command doesn't always set the hostname when the script runs. Changing to hostnamectl should make this more reliable
Slight tweak to the bash if statement to use better functionailty.
The nubes-bootcontext script now only calls 3 scripts rather than running some bash then running other scripts. This should make it more clear what the script is doing and easier to debug in the future.
The nubes boot service is quite racey as the service file is not set up correctly. Adding the hostname daemon to the wants and setting this as a oneshot type should make sure that: the service runs once at boot, runs after the hostname service is online and reports correctly to systemctl. Any retries is handled in the script logic.
The service is called nubes-boot and everything else should be named that too. It makes debugging confusing because the nubes-boot service calls the nubes-bootcontext script
We need to copy the update_cloud_users.sh script first before we start the nubes boot service. Otherwise nubes boot fails because the script doesn't exist.
We do not need to start this service when we build the image. It is enabled to start on boot. Starting it causes the build to fail as the admin key list endpoint doesn't exist which is expected.
We cannot run this task in the GitHub container as systemctl doesn't exist. So we need to skip it
This change should have been added to the changelog when it was made as it affects the disk image size.
This partially reverts commit 4f8f55b.

Ubuntu have released a patch for the Ghostlock CVE 1 day after this
mitigation was added. We should revert back to using the mainstream
kernel.
The GitHub pipeline uses container to emulate a VM and run the config. Containers do not have systemd installed and so the task to enable qemu is not working. Add a check to not run this step when in a container
Revert "ENH: Add mitigation for 22.04 not having CVE-2026-43499"
DOC - os_builders: Add l3.imagecreate to CHANGELOG.md
I am changing this to a simple substitution rather than trying to use DNS lookups, it's prone to network failure and does not make any difference
Dmitry-Popovichev and others added 2 commits August 20, 2026 13:46
BUG - os_builders: Remove network attempts to get DNS
Promotion for image builders version 0.3.0 to main.

See CHANGELOG.md for details.
@jose-caballero
jose-caballero merged commit a3022fc into main Aug 20, 2026
8 checks passed
@jose-caballero
jose-caballero deleted the 0.3.X branch August 20, 2026 13:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants