diff options
author | Jacob Anders <janders@redhat.com> | 2023-04-17 14:39:50 +1000 |
---|---|---|
committer | Jacob Anders <janders@redhat.com> | 2023-05-02 22:09:26 +1000 |
commit | f10958a542dd58ff301c386ce0981ec218e9eef6 (patch) | |
tree | 15a5840fd657fd052dd8256ec0cab3b17bf3d102 /releasenotes | |
parent | 8ef9db15704c0c2cb1342c7c1554bfa8d8a7a2e3 (diff) | |
download | ironic-f10958a542dd58ff301c386ce0981ec218e9eef6.tar.gz |
Handle MissingAttributeError when using OOB inspections to fetch MACs
Currently, if an attempt is made to fetch MAC address information using
OOB inspection on a Redfish-managed node and EthernetInterfaces
attribute is missing on the node, inspection fails due to a
MissingAttributeError exception being raised by sushy. This change adds
catching and handling this exception.
Change-Id: I6f16da05e19c7efc966128fdf79f13546f51b5a6
Diffstat (limited to 'releasenotes')
-rw-r--r-- | releasenotes/notes/handle-missing-ethernetinterfaces-attr-7e52f7259fe66762.yaml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/releasenotes/notes/handle-missing-ethernetinterfaces-attr-7e52f7259fe66762.yaml b/releasenotes/notes/handle-missing-ethernetinterfaces-attr-7e52f7259fe66762.yaml new file mode 100644 index 000000000..225238506 --- /dev/null +++ b/releasenotes/notes/handle-missing-ethernetinterfaces-attr-7e52f7259fe66762.yaml @@ -0,0 +1,9 @@ +--- +fixes: + - | + Fixes the bug where provisioning a Redfish managed node fails if the BMC + doesn't support EthernetInterfaces attribute, even if MAC address + information is provided manually. This is done by handling of + MissingAttributeError sushy exception in get_mac_addresses() method. + This fix is needed to successfully provision machines such as Cisco UCSB + and UCSX. |