Repository navigation
Fix ipxe shim refresh - #394
Merged
Merged
Conversation
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
force-pushed
the
fix/ipxe-shim-refresh
branch
from
November 17, 2026 22:21
1a861ac to
cf98bf1
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
UEFI HTTP boot chainloads the iPXE shim from
/var/lib/confluent/public/ipxe/<arch>/. Only someosdeploy initializeruns copied it there, so a server upgraded to 4.1 keeps loadingboot.img, and a newconfluent_ipxebuild never replaces the copy.confluent_ipxe%postcopies the shim andipxe.efifor x86_64 and aarch64 when/var/lib/confluent/publicexists.osdeploy initializeinstalls 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,-lor-galone. The aarch64 check looked foripxe-aarch64-shim.efi, a name it never writes, so it copied that shim on every run.boot.imguntilosdeploy initializewith-i,-u,-t,-s,-aor-rconfluent_ipxebuildpublic/ipxeosdeploy initialize -ponly