Skip to content

Fix ipxe shim refresh - #394

Merged
jjohnson42 merged 2 commits into
xcat2:masterfrom
Obihoernchen:fix/ipxe-shim-refresh
Nov 18, 2026
Merged

jjohnson42 merged 2 commits into
xcat2:masterfrom
Obihoernchen:fix/ipxe-shim-refresh

Conversation

@Obihoernchen

@Obihoernchen Obihoernchen commented Nov 17, 2026 •

Copy link
Copy Markdown
Member

UEFI HTTP boot chainloads the iPXE shim from /var/lib/confluent/public/ipxe/<arch>/. Only some osdeploy initialize runs copied it there, so a server upgraded to 4.1 keeps loading boot.img, and a new confluent_ipxe build never replaces the copy.

  • confluent_ipxe %post copies the shim and ipxe.efi for x86_64 and aarch64 when /var/lib/confluent/public exists.
  • osdeploy initialize installs a missing shim with any option. The copy ran after the early exit, so -p, the network boot setup, did not install the shim UEFI HTTP boot needs, and neither did -k, -l or -g alone. The aarch64 check looked for ipxe-aarch64-shim.efi, a name it never writes, so it copied that shim on every run.
Case Before After
Upgrade from 4.0 boot.img until osdeploy initialize with -i, -u, -t, -s, -a or -r Shim installed by the package update
New confluent_ipxe build Old shim stays in public/ipxe Shim replaced
Fresh install, osdeploy initialize -p only No shim Shim installed

The shim copy ran after the early exit of initialize, so -p, -k, -l
or -g on their own did not install it. It also checked for the aarch64
shim as ipxe-aarch64-shim.efi, a name it never writes, so it copied
that one on every run instead of only when it was missing.
A package update replaced only the copies in /opt/confluent/lib/ipxe,
so an upgraded server kept serving no shim, or an old one, until
osdeploy initialize ran again. A fresh install still gets the shim from
osdeploy initialize, before which the public tree may not exist.
@Obihoernchen Obihoernchen changed the title Fix/ipxe shim refresh Fix ipxe shim refresh Nov 17, 2026
@jjohnson42
jjohnson42 merged commit 192eda0 into xcat2:master Nov 18, 2026
36 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants