From 2ba8db30ef5b17d204c253ba519312b19e81def2 Mon Sep 17 00:00:00 2001 From: Markus Hilger Date: Tue, 17 Nov 2026 21:05:33 +0100 Subject: [PATCH] Check the iPXE shim of the booting architecture for HTTP boot UEFI HTTP boot chainloads the iPXE shim only when it is installed, but the check always looked for the x86_64 shim. An aarch64 node on a server with only the x86_64 shim was offered the missing aarch64 one and failed to boot, and on a server with only the aarch64 shim it got the static boot.img instead. --- confluent_server/confluent/discovery/protocols/pxe.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/confluent_server/confluent/discovery/protocols/pxe.py b/confluent_server/confluent/discovery/protocols/pxe.py index ae967f06..65370413 100644 --- a/confluent_server/confluent/discovery/protocols/pxe.py +++ b/confluent_server/confluent/discovery/protocols/pxe.py @@ -800,9 +800,10 @@ async def reply_dhcp4(node, info, packet, cfg, reqview, httpboot, cfd, profile, can302 = True proto = 'https' if insecuremode == 'never' else 'http' if isboot and httpboot: + shimarch = 'aarch64' if bootarch == 'uefi-httpboot-arm' else 'x86_64' if (proto in ('http', 'https') and os.path.exists('/var/lib/confluent/public/os/{}/boot.ipxe.shim'.format(profile)) - and os.path.exists('/var/lib/confluent/public/ipxe/x86_64/ipxe-shim.efi')): + and os.path.exists('/var/lib/confluent/public/ipxe/{}/ipxe-shim.efi'.format(shimarch))): if bootarch == 'uefi-httpboot': bootfile = '{0}://{1}/confluent-public/ipxe/x86_64/ipxe-shim.efi'.format( proto, myipn