ironic/ironic/drivers/modules/redfish
Steve Baker b57b62ae12 Allow unsupported redfish set_boot_mode
Currently if the baremetal boot mode is unknown and the driver doesn't
support setting the boot mode then the error is logged and deployment
continues.

However if the BMC doesn't support getting or setting the boot mode
then setting the boot mode raises an error which results in the deploy
failing. This is the case for HPE Gen9 baremetal, which doesn't have a
'BootSourceOverrideMode' attribute in its system Boot field, and
raises a 400 iLO.2.14.UnsupportedOperation in response to setting the
boot mode.

This is raised from set_boot_mode as a RedfishError. This change
raises UnsupportedDriverExtension exception when the 'mode' attribute
is missing from the 'boot' field, allowing the deployment to continue.

Change-Id: I360ff8180be252de21f5fcd2208947087e332a39
(cherry picked from commit 9f221a7d42)
2021-03-22 10:14:27 +13:00
..
__init__.py Add redfish driver 2017-04-21 11:06:24 +01:00
bios.py Follow-up for deploy steps for Redfish BIOS interface 2019-08-28 03:52:45 -04:00
boot.py redfish-vmedia: correctly pass ipa-debug 2020-01-03 17:01:19 +00:00
inspect.py Set boot_mode in node properties during Redfish introspection 2019-03-08 08:18:48 +01:00
management.py Allow unsupported redfish set_boot_mode 2021-03-22 10:14:27 +13:00
power.py redfish: handle hardware that is unable to set persistent boot 2020-05-29 02:02:57 -04:00
utils.py Add configurable Redfish client authentication 2018-12-04 09:07:06 +01:00