summaryrefslogtreecommitdiff
path: root/releasenotes/notes/handle-missing-ethernetinterfaces-attr-7e52f7259fe66762.yaml
diff options
context:
space:
mode:
authorJacob Anders <janders@redhat.com>2023-04-17 14:39:50 +1000
committerDmitry Tantsur <dtantsur@protonmail.com>2023-05-09 10:55:17 +0000
commitf576b4d60fa9230cc7f6b77c5c65d44abfc9f047 (patch)
tree2a07b4e2e67802ab0d4b831b5ec3db735899a3e1 /releasenotes/notes/handle-missing-ethernetinterfaces-attr-7e52f7259fe66762.yaml
parent7ea86a8669ddcba70b9a3ca05f54ebd341446097 (diff)
downloadironic-f576b4d60fa9230cc7f6b77c5c65d44abfc9f047.tar.gz
Handle MissingAttributeError when using OOB inspections to fetch MACsbugfix/21.0
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 (cherry picked from commit f10958a542dd58ff301c386ce0981ec218e9eef6)
Diffstat (limited to 'releasenotes/notes/handle-missing-ethernetinterfaces-attr-7e52f7259fe66762.yaml')
-rw-r--r--releasenotes/notes/handle-missing-ethernetinterfaces-attr-7e52f7259fe66762.yaml9
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.