Previously, the WSMAN interface on the DRAC card would change between 11g and 12g hardware.
Consequently, `get_boot_device` and `set_boot_device` calls would fail in OpenStack Bare Metal Provisioning (Ironic) when using the DRAC driver on 11g hardware.
With this update, the DRAC driver checks the Lifecycle controller version, and uses alternate methods on different versions to manage the boot device.
As a result, `get_boot_device` and `set_boot_device` operations succeed on 11g nodes.
Created attachment 1037214[details]
ironic-conductor.log
Description of problem:
Can't query boot device on DRAC 11g hardware with pxe_drac driver
Version-Release number of selected component (if applicable):
How reproducible:
Steps to Reproduce:
1. $ ironic node-get-boot-device $NODE
Actual results:
'NoneType' object has no attribute 'text' (HTTP 500)
Expected results:
Should return the actual boot device
Additional info:
There's also an upstream bug reported: https://bugs.launchpad.net/ironic/+bug/1413949
The issue is caused by missing the BootSourceType from the DCIM_BootSourceSetting resource on 11g. That attribute is present on both 12g and 13g hardware.
Not sure what the ask is here. Unfortunately I don't have insight into the implementation of the DRAC software, so can't really comment on it. It looks like Imre has a proposed patch out there now.
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.
https://access.redhat.com/errata/RHEA-2015:1548