Description of problem:
The ironic pxe_ilo driver is using uefi boot_mode by default but uefi is not configured by the undercloud installation
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Try to deploy HP servers with pxe_ilo ironic driver
Fails to boot
Should be booting
Workaround is to set the flavor and node capabilities to boot_mode:bios
ironic node-update <node-uuid> add properties/capabilities='boot_mode:bios'
nova flavor-key <flavor> set capabilities:boot_mode="bios"
This bug did not make the OSP 8.0 release. It is being deferred to OSP 10.
Thanks for the report. I've opened a bug upstream against the iLO driver's  behavior of trying to magically figure out what boot mode it should use by default. Unfortunately, it will up to the iLO developers to accept it or not for their driver.
For OSP, I think we should explicitly set the boot mode when it enroll the nodes and create the flavors according to the user configuration.
One of the iLO devs replied to the bug upstream asking few questions , one of the question is about the hardware. Is the machine an iLO Gen 9 ?
Starting with OSP10, we're providing UEFI-capable unddercloud by default, so this should no longer be an issue. Additionally, we provide a new configuration option for tweaking the default. It can be set to 'bios' via puppet variable ironic::drivers::ilo::default_boot_mode.
Created attachment 1213055 [details]
Ironic provides the conf option to change the behaviour of iLO driver
Ironic iLO driver seems to contain the patch.
However I'm unsure about how to propagate the "iLO.default_boot_mode" to the relevant undercloud installation mechanism. Where would be the bet place to set the "ironic::drivers::ilo::default_boot_mode" variable before calling the "openstack undercloud install" command?
I'm reopening this issue. We have UEFI support currently broken in OSP 10, so we should change the default as well as described in comment 11.
UEFI is currently supported by default in osp10, so booting uefi node is not an issue any more.
please note: currently triple-o blocks inspector from setting the boot_mode:uefi/bios automatically so you may need to set the parameter or enable boot_mode=true in inspector.conf before inspection
default setting bug for triple-o
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.