Neutron add_ports_to_network should validate if any ports are present in Ironic

Bug #1675857 reported by Dmitry Tantsur
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ironic
In Progress
Medium
Vasyl Saienko

Bug Description

Currently it passes successfully in this case, and apparently fails later with "No VIFs found for node a2f7b504-40cd-4360-8f7e-1356f5b3b0b8 when attempting to update DHCP BOOT options", which is quite confusing. I think we should report it with a more obvious error message, when the resulting port list is empty at https://github.com/openstack/ironic/blob/c9397e1699537d21b94a6e2a6da2db89ac37866f/ironic/common/neutron.py#L213.

Tags: neutron
Vasyl Saienko (vsaienko)
Changed in ironic:
assignee: nobody → Vasyl Saienko (vsaienko)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ironic (master)

Fix proposed to branch: master
Review: https://review.openstack.org/450104

Changed in ironic:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on ironic (master)

Change abandoned by Riccardo Pittau (<email address hidden>) on branch: master
Review: https://review.opendev.org/450104
Reason: seems obsolete but please re-open if needed

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.