Inspector does not fix is_pxe_enabled if add_ports is not all

Bug #2073588 reported by Jack Hodgkiss
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ironic Inspector
New
Undecided
Unassigned

Bug Description

If Ironic Inspector is configured with `add_ports = active` the inspector will as expected add all of the ports and will set `PXE boot enabled` to `True` for all ports found. However once inspection is finished it is expected that this setting would be fixed and `PXE boot enabled` would be set based upon contents of the inspection data for a given interface.

I think the issue can be found here https://opendev.org/openstack/ironic-inspector/src/branch/stable/2023.1/ironic_inspector/plugins/standard.py#L327 where introspection_data['interfaces'] only contains interfaces with an IP address and omits all interfaces without which ideally should have their `pxe_enabled` status fixed as done at Line 334 onwards.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.