[Kolla-Ansible][Ironic] Baremetal node Cleaning fails in UEFI mode, but succeeds in Legacy Bios Mode

Julia Kreger juliaashleykreger at gmail.com
Fri Aug 20 16:26:37 UTC 2021


On Fri, Aug 20, 2021 at 7:07 AM Anirudh Gupta <anyrude10 at gmail.com> wrote:

> Hi Mark,
>
> There was some issue with the cleaning image due to which the issue
> reported in previous conversation was observed.
>
> This was successfully resolved.
> By setting the parameter in ironic.conf file
> [pxe]
> uefi_ipxe_bootfile_name =  ipxe-x86_64.efi
>
> The "node provide" command successfully executed and the node came in
> "available" state.
>
> *In Legacy:*
> When I am trying to create the server using "server create " command and a
> userimage is passed in the command, the procedure is that the node will
> install userimage over the network and then will be rebooted
> After the reboot, it will boot up with the Hard disk and with the OS
> specified in userimage.
>
> *In UEFI:*
> When I am trying to create the server using "server create " command and a
> userimage is passed in the command, the procedure of installing user image
> and rebooting remains the same.
> But After the reboot, despite setting the hard disk as the first
> priority,  it again starts booting over the network and eventually fails.
>
> This is very very likely an issue with the vendor's firmware. We've seen
some instances where the bmc refuses to honor the request to change *or*
where it is honored for a single boot operation only. In part some of this
may be due to improved support in handling UEFI boot signaling where the
wrong thing could occur, at least with IPMI.

In order to create a fix or workaround, we need the following information:

Are you using IPMI or Redfish? If your using IPMI, you should consider
using Redfish.

What is the hardware vendor?

What is the BMC firmware version?

Is the BMC set to always network boot by default completely?

In UEFI, what does the machine report for the efibootmgr output. Your
deployment agent logs actually have this output already in the journal.
Typically /var/log/ironic/deploy_logs. We've seen some hardware act
completely disjointed from the EFI NVRAM, or where it resets the EFI NVRAM
when we request a one time override.

Most importantly, what is the version of ironic and ironic-python-agent?


> I have also tried passing the *capabilities='boot_option:local' *both in
> baremetal node and flavor, but the behaviour is the same.
>
> Regards
> Anirudh Gupta
>
>
>
>
> [trim]
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20210820/799e664d/attachment.html>


More information about the openstack-discuss mailing list