hil
hil copied to clipboard
Support for booting nodes in UEFI
First of all, I spoke with @naved001 and we agree that power_cycle() should not assume that the user wants the next boot device to be set to PXE. Instead, they should use the set_bootdev() routine prior to the boot. Further, with these specific options, ipmitool forces the boot mode into legacy BIOS mode which completely prevents any UEFI based boot chains with HIL.
.../obm/ipmi.py:72
def power_cycle(self):
self._ipmitool(['chassis', 'bootdev', 'pxe'])
if self._ipmitool(['chassis', 'power', 'cycle']) == 0:
return
Not sure how you guys want to support booting into UEFI, but here's the bug report from the Ironic team and some pointers on how they got it to work. Basically, the trick is to add "options=efiboot" to the ipmitool arguments.
https://bugs.launchpad.net/ironic/+bug/1611306