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
Triaged
Low
Priscila

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.

Revision history for this message
Iury Gregory Melo Ferreira (iurygregory) wrote :

This seems like a valid bug, so I'm marking as triaged and importance Low (since inspector is moving inside ironic)

Changed in ironic-inspector:
importance: Undecided → Low
status: New → Triaged
Changed in ironic-inspector:
assignee: nobody → Priscila (priscila-gutierres)
Revision history for this message
Priscila (priscila-gutierres) wrote :

Iury, this project, ironic-inspector seems deactivated by built-in in-band inspection in ironic. Should this bug be closed as deprecated?

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.