ironic/releasenotes/notes/ipmitool-bootdev-persistent-uefi-b1181a3c82343c8f.yaml
Lucas Alvares Gomes 6419cc2118 IPMITool: Check the boot mode when setting the boot device
This patch is fixing a problem where the ipmitool option "efiboot"
wasn't passed as part of the command to set the boot device for UEFI
nodes causing them to switch back to legacy BIOS.

A FIXME note was left in the code. It seems that ipmitool has a problem
setting the efiboot + persistent options at the same time
(see bug #1611306). It seems multiple options ought to be specified
together, and that works, except for efiboot. Therefore this patch is
using raw bytes to change the boot device when persistent and uefi are
specified, that way it will work for newer and older versions of the
ipmitool utility.

Closes-Bug: #1611306
Change-Id: I11456fb035fe41fe46f1ff04e4d56c9f85b9e19d
2016-08-11 14:49:10 +01:00

6 lines
220 B
YAML

---
fixes:
- Fixes a problem where the boot mode (UEFI or BIOS) wasn't checked
as part of changing the boot device of a node, making it incorrectly
switch from UEFI to Legacy BIOS mode on some hardware models.