From 547d31c6067ba6523e17cd8257a8e15bef532e11 Mon Sep 17 00:00:00 2001 From: Owen Jones Date: Fri, 10 Jul 2026 14:53:24 +0100 Subject: [PATCH 1/2] ironic-pxe: don't fail if symlinks already exist `ironic-pxe` start-up fails if symlinks to efi files have previously been created. Removing test for existence and adding `-f` flag to symlink creation ensures they always exist without failing on start. Closes-Bug: #2160317 Change-Id: Ib736e5beb201409c8987fbc62225c75f89cbfe62 Signed-off-by: Owen Jones (cherry picked from commit 2da1223d8301da05f9b070ca656d62c1bde93c66) --- docker/ironic/ironic-pxe/extend_start.sh | 14 +++++--------- .../ironic-pxe-symlinks-18d09b19373f16c4.yaml | 6 ++++++ 2 files changed, 11 insertions(+), 9 deletions(-) create mode 100644 releasenotes/notes/ironic-pxe-symlinks-18d09b19373f16c4.yaml diff --git a/docker/ironic/ironic-pxe/extend_start.sh b/docker/ironic/ironic-pxe/extend_start.sh index 07652b803e..9add03187e 100644 --- a/docker/ironic/ironic-pxe/extend_start.sh +++ b/docker/ironic/ironic-pxe/extend_start.sh @@ -46,20 +46,16 @@ function prepare_ipxe { # NOTE(m-anson): ipxe-arm64.efi is not symlinked from /boot to # /usr/lib/ipxe by the Ubuntu ipxe package, so fix that here. if [[ -e /boot/ipxe-arm64.efi ]]; then - ln -s /boot/ipxe-arm64.efi /usr/lib/ipxe/ + ln -sf /boot/ipxe-arm64.efi /usr/lib/ipxe/ fi cp /usr/lib/ipxe/{undionly.kpxe,ipxe*.efi,snponly.efi} ${TFTPBOOT_PATH}/ elif [[ "${KOLLA_BASE_DISTRO}" =~ centos|rocky ]]; then cp /usr/share/ipxe/{undionly.kpxe,ipxe*.efi} ${TFTPBOOT_PATH}/ cp /usr/share/ipxe/arm64-efi/snponly.efi ${TFTPBOOT_PATH}/ipxe-snponly-aarch64.efi - if [[ ! -e ${TFTPBOOT_PATH}/ipxe.efi ]]; then - # NOTE(m-anson): No ipxe-aarch64.efi exists so no need to use - # $KOLLA_BASE_ARCH in the symlink target - ln -s ${TFTPBOOT_PATH}/ipxe-x86_64.efi ${TFTPBOOT_PATH}/ipxe.efi - fi - if [[ ! -e ${TFTPBOOT_PATH}/snponly.efi ]]; then - ln -s ${TFTPBOOT_PATH}/ipxe-snponly-${KOLLA_BASE_ARCH}.efi ${TFTPBOOT_PATH}/snponly.efi - fi + # NOTE(m-anson): No ipxe-aarch64.efi exists so no need to use + # $KOLLA_BASE_ARCH in the symlink target + ln -sf ${TFTPBOOT_PATH}/ipxe-x86_64.efi ${TFTPBOOT_PATH}/ipxe.efi + ln -sf ${TFTPBOOT_PATH}/ipxe-snponly-${KOLLA_BASE_ARCH}.efi ${TFTPBOOT_PATH}/snponly.efi fi } diff --git a/releasenotes/notes/ironic-pxe-symlinks-18d09b19373f16c4.yaml b/releasenotes/notes/ironic-pxe-symlinks-18d09b19373f16c4.yaml new file mode 100644 index 0000000000..1f4d4db373 --- /dev/null +++ b/releasenotes/notes/ironic-pxe-symlinks-18d09b19373f16c4.yaml @@ -0,0 +1,6 @@ +--- +fixes: + - | + Fixes ``ironic_pxe`` launch failures when symlinks to EFI files have + previously been created. + `LP#2160317 `__ From 099421748d7b36fab5d45dac5c3036c2995d4d65 Mon Sep 17 00:00:00 2001 From: "Dr. Jens Harbott" Date: Tue, 4 Aug 2026 19:43:42 +0200 Subject: [PATCH 2/2] Don't build releaser image on Rocky The releases repo dropped support for Python 3.9, so let's just stop building the image there. Signed-off-by: Dr. Jens Harbott Change-Id: I70e244cb289202080a78066f899b9eb24faa5cdc --- kolla/image/unbuildable.py | 1 + 1 file changed, 1 insertion(+) diff --git a/kolla/image/unbuildable.py b/kolla/image/unbuildable.py index 4141770e33..f85317322f 100644 --- a/kolla/image/unbuildable.py +++ b/kolla/image/unbuildable.py @@ -51,6 +51,7 @@ }, 'rocky+9': { + "releaser", # releases repo no longer supports py3.9 }, 'rocky+10': {