MAAS incorrectly classifies UEFI machines as iPXE when ipxe.efi is used
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS |
New
|
Undecided
|
Unassigned |
Bug Description
Hello MAAS Team!
One of our large clients is experiencing an issue where UEFI machines PXE booted using the ipxe.efi binary are being incorrectly classified as "iPXE" a.k.a Legacy which creates issues with automatic storage layout missing the /boot/efi partition which leads to un-deployable machines.
Their current "workaround" is creating the /boot/efi manually which is not sustainable; every time the machine is commissioned the storage layout goes back to missing the /boot/efi.
Looking into the MAAS source code (1),(2),(3), it appears that MAAS is looking for the user_class "iPXE" to assume a machine is using Legacy or UEFI mode (user_class == None).
I was able to 100% reproduce this behavior by deploying a dnsmasq based DHCP/PXE server that serves ipxe.pxe for legacy boot and ipxe.efi for UEFI mode configurations.
After switching the UEFI mode conditions to use grubnetx64.
I think it would be great if we can find a way to make ipxe.efi register the same way as grubnetx64.
If need be I can provide instructions regarding getting a PXE/DHCP server configured to reproduce this issue.
Also adding that the MAAS provided ipxe.cfg is also not booting correctly and needs manipulation (4), something that apparently has been addressed in MAAS 3.5.
I would love to hear what your thoughts are on this.
Thanks much,
Alan
(1) https:/
(2) https:/
(3) https:/
(4) https:/
Hi Alan, could you share the logs during commissioning and deployment (from rackd.log)?