From be1cfc948d5ddbbd1ea21c1a8adaad04a8dd90e2 Mon Sep 17 00:00:00 2001 From: Matt Crees Date: Mon, 27 Oct 2025 10:22:56 +0000 Subject: [PATCH] Correctly set mirrors for Rocky host image builds --- etc/kayobe/pulp-host-image-versions.yml | 2 +- etc/kayobe/stackhpc-overcloud-dib.yml | 4 ++-- .../rocky-mirrors-host-image-build-b2360185a5d9cd3b.yaml | 4 ++++ 3 files changed, 7 insertions(+), 3 deletions(-) create mode 100644 releasenotes/notes/rocky-mirrors-host-image-build-b2360185a5d9cd3b.yaml diff --git a/etc/kayobe/pulp-host-image-versions.yml b/etc/kayobe/pulp-host-image-versions.yml index 476e472587..0a368bc9fb 100644 --- a/etc/kayobe/pulp-host-image-versions.yml +++ b/etc/kayobe/pulp-host-image-versions.yml @@ -1,5 +1,5 @@ --- # Overcloud host image versioning tags # These images must be in SMS, since they are used by our AIO CI runners -stackhpc_rocky_9_overcloud_host_image_version: "2025.1-20250930T144255" +stackhpc_rocky_9_overcloud_host_image_version: "2025.1-20251027T102633" stackhpc_ubuntu_noble_overcloud_host_image_version: "2025.1-20250930T144255" diff --git a/etc/kayobe/stackhpc-overcloud-dib.yml b/etc/kayobe/stackhpc-overcloud-dib.yml index 89d6ac5984..63c769fb3a 100644 --- a/etc/kayobe/stackhpc-overcloud-dib.yml +++ b/etc/kayobe/stackhpc-overcloud-dib.yml @@ -58,8 +58,8 @@ stackhpc_overcloud_dib_env_vars_default: stackhpc_overcloud_dib_env_vars_ark: DIB_CONTAINERFILE_BUILDOPTS: >- - --build-arg=ROCKY_USE_MIRRORS=true - --build-arg=ROCKY_MIRROR_URLS={{ [stackhpc_repo_rocky_9_baseos_url, stackhpc_repo_rocky_9_appstream_url] | join(',') }} + --build-arg=ROCKY_USE_CUSTOM_DNF_MIRRORS=true + --build-arg=ROCKY_CUSTOM_DNF_MIRROR_URLS={{ [stackhpc_repo_rocky_9_baseos_url, stackhpc_repo_rocky_9_appstream_url] | join(',') }} DIB_DISTRIBUTION_MIRROR: "{{ stackhpc_repo_ubuntu_noble_url if os_distribution == 'ubuntu' else '' }}" # StackHPC overcloud DIB image packages. diff --git a/releasenotes/notes/rocky-mirrors-host-image-build-b2360185a5d9cd3b.yaml b/releasenotes/notes/rocky-mirrors-host-image-build-b2360185a5d9cd3b.yaml new file mode 100644 index 0000000000..0dec61bea9 --- /dev/null +++ b/releasenotes/notes/rocky-mirrors-host-image-build-b2360185a5d9cd3b.yaml @@ -0,0 +1,4 @@ +--- +fixes: + - | + Fixes Rocky Linux host image builds not using repositories from Ark.