NSXv3: Exception handling in update port fails

Bug #1507819 reported by Abhishek Raut
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
vmware-nsx
Fix Released
Undecided
Unassigned

Bug Description

Traceback (most recent call last):
2015-10-18 09:20:33.692 24054 ERROR neutron.api.v2.resource File "/opt/stack/neutron/neutron/api/v2/resource.py", line 83, in resource
2015-10-18 09:20:33.692 24054 ERROR neutron.api.v2.resource result = method(request=request, **args)
2015-10-18 09:20:33.692 24054 ERROR neutron.api.v2.resource File "/usr/local/lib/python2.7/dist-packages/oslo_db/api.py", line 146, in wrapper
2015-10-18 09:20:33.692 24054 ERROR neutron.api.v2.resource ectxt.value = e.inner_exc
2015-10-18 09:20:33.692 24054 ERROR neutron.api.v2.resource File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 195, in __exit__
2015-10-18 09:20:33.692 24054 ERROR neutron.api.v2.resource six.reraise(self.type_, self.value, self.tb)
2015-10-18 09:20:33.692 24054 ERROR neutron.api.v2.resource File "/usr/local/lib/python2.7/dist-packages/oslo_db/api.py", line 136, in wrapper
2015-10-18 09:20:33.692 24054 ERROR neutron.api.v2.resource return f(*args, **kwargs)
2015-10-18 09:20:33.692 24054 ERROR neutron.api.v2.resource File "/opt/stack/neutron/neutron/api/v2/base.py", line 546, in delete
2015-10-18 09:20:33.692 24054 ERROR neutron.api.v2.resource obj_deleter(request.context, id, **kwargs)
2015-10-18 09:20:33.692 24054 ERROR neutron.api.v2.resource File "/opt/stack/vmware-nsx/vmware_nsx/plugins/nsx_v3/plugin.py", line 688, in delete_port
2015-10-18 09:20:33.692 24054 ERROR neutron.api.v2.resource self.update_port(context, port_id, updated_port)
2015-10-18 09:20:33.692 24054 ERROR neutron.api.v2.resource File "/opt/stack/vmware-nsx/vmware_nsx/plugins/nsx_v3/plugin.py", line 806, in update_port
2015-10-18 09:20:33.692 24054 ERROR neutron.api.v2.resource context, id, original_port)
2015-10-18 09:20:33.692 24054 ERROR neutron.api.v2.resource File "/opt/stack/neutron/neutron/db/db_base_plugin_v2.py", line 1206, in update_port
2015-10-18 09:20:33.692 24054 ERROR neutron.api.v2.resource new_port = port['port']
2015-10-18 09:20:33.692 24054 ERROR neutron.api.v2.resource KeyError: 'port'
2015-10-18 09:20:33.692 24054 ERROR neutron.api.v2.resource

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to vmware-nsx (master)

Reviewed: https://review.openstack.org/237344
Committed: https://git.openstack.org/cgit/openstack/vmware-nsx/commit/?id=1f1ac90b333552bad437aa5ebf974352daf22913
Submitter: Jenkins
Branch: master

commit 1f1ac90b333552bad437aa5ebf974352daf22913
Author: Abhishek Raut <email address hidden>
Date: Fri Aug 28 07:36:12 2015 -0700

    Fix exception handling in update port call

    Closes-Bug: #1507819
    Change-Id: Iaa11c8a1f3c5040d9c3d16634619707c697d5207

Changed in vmware-nsx:
status: New → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to vmware-nsx (stable/liberty)

Fix proposed to branch: stable/liberty
Review: https://review.openstack.org/237711

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to vmware-nsx (stable/liberty)

Reviewed: https://review.openstack.org/237711
Committed: https://git.openstack.org/cgit/openstack/vmware-nsx/commit/?id=452b7aac7fd0c89a98281596a56d87467d636dc5
Submitter: Jenkins
Branch: stable/liberty

commit 452b7aac7fd0c89a98281596a56d87467d636dc5
Author: Abhishek Raut <email address hidden>
Date: Fri Aug 28 07:36:12 2015 -0700

    Fix exception handling in update port call

    Closes-Bug: #1507819
    Change-Id: Iaa11c8a1f3c5040d9c3d16634619707c697d5207
    (cherry picked from commit 1f1ac90b333552bad437aa5ebf974352daf22913)

tags: added: in-stable-liberty
Adit Sarfaty (asarfaty)
Changed in vmware-nsx:
status: Fix Committed → Fix Released
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.