The redfish management interface is not boot_mode aware

Bug #1731013 reported by Ilya Etingof
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ironic
Fix Released
High
Ilya Etingof

Bug Description

Redfish spec allows for configuring boot mode (e.g. UEFI/BIOS) to the the BM node.

With current redfish driver, it is not possible to change boot mode - one can only rely on system default (which is typically legacy BIOS).

We should probably pull the desired boot mode from `instance_info` or `properties/capabilities` and convey it to appropriate [1] Redfish call.

1. https://github.com/openstack/ironic/blob/7c5115747a37ea49c8aa47ff6159096d5fa75b2e/ironic/drivers/modules/redfish/management.py#L106

Tags: redfish uefi
Ilya Etingof (etingof)
description: updated
description: updated
Revision history for this message
Dmitry Tantsur (divius) wrote :

This should be split into two fixes, I think.

The first just reads the boot mode and makes sure ironic does the right PXE stuff (sending ipxe.efi instead of undionly.kpxe, etc). This is clearly backportable, and has to be backported to Pike.

The second will allow setting boot mode via boot_mode capability. This may not be backportable, even though we treat it as a bug. We'll have to look at the actual fix to decide.

Thanks!

P.S.
Reading boot mode with sushy: https://github.com/openstack/sushy/blob/8fe2904a62b0f56dc3fc3fefc5a5a746911ce891/sushy/resources/system/system.py#L43-L44 (it will be accessible as system.boot.mode)
Setting: https://github.com/openstack/sushy/blob/8fe2904a62b0f56dc3fc3fefc5a5a746911ce891/sushy/resources/system/system.py#L204-L205

Changed in ironic:
status: New → Triaged
importance: Undecided → High
summary: - Ironic Redfish driver should allow setting boot mode
+ The redfish driver is not boot_mode aware
Changed in ironic:
assignee: nobody → Ilya Etingof (etingof)
summary: - The redfish driver is not boot_mode aware
+ The redfish management interface is not boot_mode aware
Dmitry Tantsur (divius)
Changed in ironic:
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.