From 378ea301ff7d9343ba3b4dd567a2831234ac226d Mon Sep 17 00:00:00 2001 From: Piotr Parczewski Date: Fri, 26 Sep 2025 13:39:29 +0200 Subject: [PATCH] Define Glance image architecture property Mark the example images explicitly as X86 architecture. This should help distinguishing between others that may be living in the environment. --- ansible/templates/magnum-capi-images.j2 | 1 + examples/images.yml | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/ansible/templates/magnum-capi-images.j2 b/ansible/templates/magnum-capi-images.j2 index 366b299..ebf3e3f 100644 --- a/ansible/templates/magnum-capi-images.j2 +++ b/ansible/templates/magnum-capi-images.j2 @@ -20,5 +20,6 @@ os_distro: "ubuntu" os_version: "22.04" kube_version: "{{ item.value.kubernetes_version }}" + hw_architecture: "x86_64" {% endfor %} diff --git a/examples/images.yml b/examples/images.yml index dbacc0f..45f3b34 100644 --- a/examples/images.yml +++ b/examples/images.yml @@ -53,6 +53,7 @@ openstack_image_centos_stream8: os_distro: "centos" os_version: "8-stream" hw_rng_model: "virtio" + hw_architecture: "x86_64" # Cirros 0.6.0 openstack_image_cirros_0_6_0: @@ -66,6 +67,7 @@ openstack_image_cirros_0_6_0: os_distro: "cirros" os_version: "0.6.0" hw_rng_model: "virtio" + hw_architecture: "x86_64" # Rocky Linux 9. openstack_image_rocky9: @@ -101,6 +103,7 @@ openstack_image_rocky9: os_distro: "rocky" os_version: "9" hw_rng_model: "virtio" + hw_architecture: "x86_64" # Ubuntu Jammy 22.04. openstack_image_ubuntu_jammy: @@ -126,6 +129,7 @@ openstack_image_ubuntu_jammy: os_distro: "ubuntu" os_version: "jammy" hw_rng_model: "virtio" + hw_architecture: "x86_64" env: DIB_RELEASE: "jammy" DIB_CLOUD_INIT_DATASOURCES: "ConfigDrive"