[ovn] Updating binding profile through CLI doesn't work

Bug #1945651 reported by Daniel Alvarez
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
New
Medium
Unassigned

Bug Description

Updating the binding profile of a port will fail because of invalid type. This suggests a bug in the Neutron code that handles the parameters.

$ neutron --debug port-update subportD --binding:profile type=dict parent_name=4af7ef43-597b-4747-b3ac-2b045db17374,tag=999

...

DEBUG: keystoneauth.session RESP: [400] Content-Length: 152 Content-Type: application/json Date: Thu, 30 Sep 2021 13:14:32 GMT X-Openstack-Request-Id: req-5ca76951-518b-4a73-94bd-5c872a462786
DEBUG: keystoneauth.session RESP BODY: {"NeutronError": {"type": "InvalidInput", "message": "Invalid input for operation: Invalid binding:profile. tag 999 value invalid type.", "detail": ""}}
DEBUG: keystoneauth.session PUT call to network for https://10.0.0.101:13696/v2.0/ports/fa2ba28e-3dfe-43af-b75a-8c466d23ebcd used request id req-5ca76951-518b-4a73-94bd-5c872a462786
DEBUG: neutronclient.v2_0.client Error message: {"NeutronError": {"type": "InvalidInput", "message": "Invalid input for operation: Invalid binding:profile. tag 999 value invalid type.", "detail": ""}}

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/neutron/+/811971

Changed in neutron:
status: New → In Progress
Changed in neutron:
assignee: nobody → Daniel Alvarez (dalvarezs)
Revision history for this message
Bence Romsics (bence-romsics) wrote : Re: Updating binding profile through CLI doesn't work

Just for the record: this bug is ovn-only. The same binding profile can be set with ml2/ovs:

openstack port set port0 --binding-profile parent_name=4af7ef43-597b-4747-b3ac-2b045db17374 --binding-profile tag=999

tags: added: ovn
Changed in neutron:
status: In Progress → Triaged
importance: Undecided → Medium
Changed in neutron:
status: Triaged → In Progress
summary: - Updating binding profile through CLI doesn't work
+ [ovn] Updating binding profile through CLI doesn't work
Revision history for this message
Slawek Kaplonski (slaweq) wrote : auto-abandon-script

This bug has had a related patch abandoned and has been automatically un-assigned due to inactivity. Please re-assign yourself if you are continuing work or adjust the state as appropriate if it is no longer valid.

Changed in neutron:
assignee: Daniel Alvarez (dalvarezs) → nobody
status: In Progress → New
tags: added: timeout-abandon
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on neutron (master)

Change abandoned by "Slawek Kaplonski <email address hidden>" on branch: master
Review: https://review.opendev.org/c/openstack/neutron/+/811971
Reason: This review is > 4 weeks without comment, and failed Zuul jobs the last time it was checked. We are abandoning this for now. Feel free to reactivate the review by pressing the restore button and leaving a 'recheck' comment to get fresh test results.

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.