Skip to content

Change from QEMU to OpenStack Builder#86

Merged
jose-caballero merged 8 commits into
mainfrom
qemu_to_openstack_builder
Jan 12, 2026
Merged

Change from QEMU to OpenStack Builder#86
jose-caballero merged 8 commits into
mainfrom
qemu_to_openstack_builder

Conversation

@khalford
Copy link
Copy Markdown
Member

@khalford khalford commented Dec 3, 2025

Change to using the OpenStack builder which we are using for the os image builds.

Updates the README.md to provide up to date instructions.

Split the variables file into a dev and prod variables. This is because we will be remote provisioning to 2 different clouds

@khalford khalford self-assigned this Dec 3, 2025
@khalford khalford requested a review from a team as a code owner December 3, 2025 15:07
Comment thread cluster-api/dev_vars.json Outdated
Comment thread cluster-api/prod_vars.json
@khalford khalford force-pushed the qemu_to_openstack_builder branch 4 times, most recently from 0d52102 to 5a6f937 Compare December 4, 2025 09:44
@DavidFair
Copy link
Copy Markdown
Collaborator

@khalford is this running the baseline roles currently? Not sure if this is ready for review or still pending problems

@khalford khalford marked this pull request as draft December 4, 2025 14:49
@khalford khalford marked this pull request as ready for review January 6, 2026 09:54
@khalford khalford force-pushed the qemu_to_openstack_builder branch from f694c7e to 6f9f3d5 Compare January 6, 2026 09:56
@khalford
Copy link
Copy Markdown
Member Author

khalford commented Jan 6, 2026

Fixed the issue with roles not runnning and goss failing

Comment thread scripts/build-all.sh
@DavidFair
Copy link
Copy Markdown
Collaborator

Could we confirm that the image still applies the roles from our baseline now we've changed it to node_custom_roles_post?
If the key doesn't match it will just nop instead of applying changes, which might be how goss suddenly started working too

@khalford
Copy link
Copy Markdown
Member Author

khalford commented Jan 6, 2026

Could we confirm that the image still applies the roles from our baseline now we've changed it to node_custom_roles_post? If the key doesn't match it will just nop instead of applying changes, which might be how goss suddenly started working too

I have tested this. It applies the roles

DavidFair
DavidFair previously approved these changes Jan 6, 2026
@khalford khalford force-pushed the qemu_to_openstack_builder branch 4 times, most recently from 0a121d7 to 17fd2bf Compare January 12, 2026 12:28
Use the openstack builder as we do for the os images. As we are now building images remotely we need separate variables for dev and prod
OpenStack provisioner uses node instead of first boot. This fixes the vm_baseline role not running
Goss fails but we don't care. Adding this flag allows packer to build the image anyways as it would fail and not build previously
Update the README.md for the build-all script. The usage has changed as packer uploads the image for us
Move common vars between environments into a single file to avoid drift
Override image name to include the date as we normally do. This is changed in the build-all.sh script and needs to be manually changed when doing manual builds
@khalford khalford force-pushed the qemu_to_openstack_builder branch from 17fd2bf to 1af9dbc Compare January 12, 2026 12:30
Update the readme for better formatting and more guidance on different image building scenarios.
Comment thread cluster-api/common_vars.json Outdated
Comment thread scripts/build-all.sh Outdated
Using this template makes the sed simpler and it more obvious.
@khalford khalford force-pushed the qemu_to_openstack_builder branch from 0928523 to 82a8bee Compare January 12, 2026 14:35
@jose-caballero jose-caballero merged commit 0203209 into main Jan 12, 2026
11 checks passed
@jose-caballero jose-caballero deleted the qemu_to_openstack_builder branch January 12, 2026 14:40
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.

3 participants