ironic-inspector/releasenotes/notes/lookup-all-macs-eead528c0b764ad7.yaml
Dmitry Tantsur b638c70f82 Use all valid MAC's for lookup
Currently we are using only the resulting MAC(s) when doing a node lookup.
In many cases it is the MAC of the PXE-booting NIC. However, it's not necessary
the MAC that people used for enrolling the Ironic node, which will lead to
lookup failures on the virtual environment. This change makes the lookup
procedure use all of the valid MAC's.

Similarly, the enroll node_not_found_hook now checks all MAC's before creating
a node.

Code in the validate_interfaces hook was reordered to ensure we only keep
interfaces with valid MAC's even in the "all_interfaces" list.

Change-Id: Ie7df05d9a7855716fb835c90cfb0ac7fc4cd66df
2016-03-18 13:41:04 +01:00

7 lines
277 B
YAML

---
fixes:
- The lookup procedure now uses all valid MAC's, not only the MAC(s) that
will be used for creating port(s).
- The "enroll" node_not_found_hook now uses all valid MAC's to check node
existence, not only the MAC(s) that will be used for creating port(s).