NSX: update_lswitch method adds duplicate version tag

Bug #1355424 reported by Aaron Rosen on 2014-08-11
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
vmware-nsx
Undecided
Unassigned

Bug Description

The nsxlib.update_lswitch() method automatically adds the neutron version as a tag to the string. Because of this it's possible to have this same value get added many times which exceeds the number of tags nsx allows.

2014-08-11 11:54:20.980 ERROR neutron.plugins.vmware.api_client.client [req-2e1404a4-52dd-4348-bd3e-1bf863c6066b admin c76d95a547294fa3a377f2039136305c] Server Error Message: LogicalForwardingElementConfig.tags: must contain at most 5 items (value is [{'scope': 'os_tid', 'tag': 'c76d95a547294fa3a377f2039136305c'}, {'scope': 'quantum', 'tag': '2014.2.dev196.g18a10fa'}, {'scope': 'quantum', 'tag': '2014.2.dev196.g18a10fa'}, {'scope': 'quantum_net_id', 'tag': '788e5b7c-4cff-4440-b2ea-3519b34229e7'}, {'scope': 'os_tid', 'tag': 'c76d95a547294fa3a377f2039136305c'}, {'scope': 'multi_lswitch', 'tag': 'True'}])
2014-08-11 11:54:20.980 ERROR NeutronPlugin [req-2e1404a4-52dd-4348-bd3e-1bf863c6066b admin c76d95a547294fa3a377f2039136305c] An exception occurred while selecting logical switch for the port

Aaron Rosen (arosen) on 2014-08-11
Changed in neutron:
importance: Undecided → High
assignee: nobody → Aaron Rosen (arosen)
tags: added: icehouse-backport-potential nicira

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

Changed in neutron:
status: New → In Progress

Change abandoned by Aaron Rosen (<email address hidden>) on branch: master
Review: https://review.openstack.org/113366

Changed in neutron:
status: In Progress → Confirmed
importance: High → Medium
no longer affects: neutron
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers