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

Bug #1646120 reported by Vladyslav Drok on 2016-11-30
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) on 2016-11-30
Changed in ironic:
assignee: nobody → Vladyslav Drok (vdrok)

Fix proposed to branch: master

Changed in ironic:
status: New → In Progress
Changed in ironic:
importance: Undecided → Medium

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  Edit
Everyone can see this information.

Other bug subscribers