Passing portgroup_uuid in POST /ports silently ignored in old api versions

Bug #1646120 reported by Vladyslav Drok
This bug affects 1 person
Affects Status Importance Assigned to Milestone
In Progress
Vladyslav Drok

Bug Description

As can be seen in the test in , we don't handle passing portgroup_uuid in older api microversions properly. just ignores portgroup_uuid value, as this method is used to reply to old GET requests too, this bit is needed to hide portgroup from the port. But in case of POST requests, the check is not triggered as the created api object does not contain portgroup_uuid. We need to check the request body instead.

Vladyslav Drok (vdrok)
Changed in ironic:
assignee: nobody → Vladyslav Drok (vdrok)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ironic (master)

Fix proposed to branch: master

Changed in ironic:
status: New → In Progress
Changed in ironic:
importance: Undecided → Medium
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
Reason: inactivity

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.