From e6c52106992e8cb4a37ff6c1076ca7aa141c661b Mon Sep 17 00:00:00 2001 From: Markus Hilger Date: Tue, 17 Nov 2026 23:10:51 +0100 Subject: [PATCH] Name the cause in the kernelargs HTTP boot warnings UEFI HTTP boot goes through the iPXE shim once osdeploy initialize has installed it, so the boot.img fallback warning points to that, for IPv4 and IPv6. --- confluent_server/confluent/discovery/protocols/pxe.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/confluent_server/confluent/discovery/protocols/pxe.py b/confluent_server/confluent/discovery/protocols/pxe.py index f6d802c0..b4d3584e 100644 --- a/confluent_server/confluent/discovery/protocols/pxe.py +++ b/confluent_server/confluent/discovery/protocols/pxe.py @@ -704,7 +704,7 @@ async def reply_dhcp6(node, addr, cfg, packet, cfd, profile, sock, niccfg=None): return if (packet['rqtype'] == 1 and bootfile.endswith(b'/boot.img') and cfd.get(node, {}).get('deployment.kernelargs', {}).get('value', None)): - log.log({'warning': 'deployment.kernelargs of {0} is not applied, UEFI HTTP boot of profile {1} does not go through iPXE'.format(node, profile)}) + log.log({'warning': 'deployment.kernelargs of {0} is not applied, UEFI HTTP boot of profile {1} falls back to boot.img, run osdeploy initialize -r to install the iPXE shim'.format(node, profile)}) # 1 msgtype # 3 txid # 22 - server ident @@ -860,7 +860,7 @@ async def reply_dhcp4(node, info, packet, cfg, reqview, httpboot, cfd, profile, ) bootshorturl = '/confluent-public/os/{0}/boot.img'.format(profile) if rqtype == 1 and cfd.get(node, {}).get('deployment.kernelargs', {}).get('value', None): - log.log({'warning': 'deployment.kernelargs of {0} is not applied, UEFI HTTP boot of profile {1} does not go through iPXE'.format(node, profile)}) + log.log({'warning': 'deployment.kernelargs of {0} is not applied, UEFI HTTP boot of profile {1} falls back to boot.img, run osdeploy initialize -r to install the iPXE shim'.format(node, profile)}) bootfilename = '/var/lib/confluent/public/os/{0}/boot.img'.format(profile) can302 = False if not isinstance(bootfile, bytes):