tempest-rhosp10: port-security disabling throws neutron exception

Bug #1685040 reported by shajuvk
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R3.0
Invalid
Medium
Sahil Sabharwal
R3.1
Fix Committed
Medium
Sahil Sabharwal
R3.2
Fix Committed
Medium
Sahil Sabharwal
R3.2.3.x
Fix Committed
Medium
Sahil Sabharwal
Trunk
Fix Committed
Medium
Sahil Sabharwal

Bug Description

neutron command "neutron port-update 14b5027d-2ac0-4cf0-a0c3-d18e658a2bc9 --port-security-enabled=False" failed while running tempest test:

https://github.com/openstack/neutron/blob/6f01617fc5a8c9e33693459d50702e3506ad2cc4/neutron/tests/tempest/api/test_extension_driver_port_security.py

test case: def test_port_sec_update_pass(self)

exception:
======

2017-04-20 23:02:59.462 135206 ERROR neutron.api.v2.resource [req-32ac643c-56b4-4b17-bfd0-4e727c64a4ae 63745b9a6fb049e3a81b0adf1032dfd5 e7849d28f2b54a54a6f5ff5
d3fb23640 - - -] update failed: No details.
2017-04-20 23:02:59.462 135206 ERROR neutron.api.v2.resource Traceback (most recent call last):
2017-04-20 23:02:59.462 135206 ERROR neutron.api.v2.resource File "/usr/lib/python2.7/site-packages/neutron/api/v2/resource.py", line 79, in resource
2017-04-20 23:02:59.462 135206 ERROR neutron.api.v2.resource result = method(request=request, **args)
2017-04-20 23:02:59.462 135206 ERROR neutron.api.v2.resource File "/usr/lib/python2.7/site-packages/neutron/api/v2/base.py", line 604, in update
2017-04-20 23:02:59.462 135206 ERROR neutron.api.v2.resource return self._update(request, id, body, **kwargs)
2017-04-20 23:02:59.462 135206 ERROR neutron.api.v2.resource File "/usr/lib/python2.7/site-packages/neutron/db/api.py", line 88, in wrapped
2017-04-20 23:02:59.462 135206 ERROR neutron.api.v2.resource setattr(e, '_RETRY_EXCEEDED', True)
2017-04-20 23:02:59.462 135206 ERROR neutron.api.v2.resource File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
2017-04-20 23:02:59.462 135206 ERROR neutron.api.v2.resource self.force_reraise()
2017-04-20 23:02:59.462 135206 ERROR neutron.api.v2.resource File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
2017-04-20 23:02:59.462 135206 ERROR neutron.api.v2.resource six.reraise(self.type_, self.value, self.tb)
2017-04-20 23:02:59.462 135206 ERROR neutron.api.v2.resource File "/usr/lib/python2.7/site-packages/neutron/db/api.py", line 84, in wrapped
2017-04-20 23:02:59.462 135206 ERROR neutron.api.v2.resource return f(*args, **kwargs)
2017-04-20 23:02:59.462 135206 ERROR neutron.api.v2.resource File "/usr/lib/python2.7/site-packages/oslo_db/api.py", line 151, in wrapper
2017-04-20 23:02:59.462 135206 ERROR neutron.api.v2.resource ectxt.value = e.inner_exc
2017-04-20 23:02:59.462 135206 ERROR neutron.api.v2.resource File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
2017-04-20 23:02:59.462 135206 ERROR neutron.api.v2.resource self.force_reraise()
2017-04-20 23:02:59.462 135206 ERROR neutron.api.v2.resource File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
2017-04-20 23:02:59.462 135206 ERROR neutron.api.v2.resource six.reraise(self.type_, self.value, self.tb)
2017-04-20 23:02:59.462 135206 ERROR neutron.api.v2.resource File "/usr/lib/python2.7/site-packages/oslo_db/api.py", line 139, in wrapper
2017-04-20 23:02:59.462 135206 ERROR neutron.api.v2.resource return f(*args, **kwargs)
2017-04-20 23:02:59.462 135206 ERROR neutron.api.v2.resource File "/usr/lib/python2.7/site-packages/neutron/db/api.py", line 124, in wrapped
2017-04-20 23:02:59.462 135206 ERROR neutron.api.v2.resource traceback.format_exc())
2017-04-20 23:02:59.462 135206 ERROR neutron.api.v2.resource File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 220, in __exit__
2017-04-20 23:02:59.462 135206 ERROR neutron.api.v2.resource self.force_reraise()
2017-04-20 23:02:59.462 135206 ERROR neutron.api.v2.resource File "/usr/lib/python2.7/site-packages/oslo_utils/excutils.py", line 196, in force_reraise
2017-04-20 23:02:59.462 135206 ERROR neutron.api.v2.resource six.reraise(self.type_, self.value, self.tb)
2017-04-20 23:02:59.462 135206 ERROR neutron.api.v2.resource File "/usr/lib/python2.7/site-packages/neutron/db/api.py", line 119, in wrapped
2017-04-20 23:02:59.462 135206 ERROR neutron.api.v2.resource return f(*dup_args, **dup_kwargs)
2017-04-20 23:02:59.462 135206 ERROR neutron.api.v2.resource File "/usr/lib/python2.7/site-packages/neutron/api/v2/base.py", line 652, in _update
2017-04-20 23:02:59.462 135206 ERROR neutron.api.v2.resource obj = obj_updater(request.context, id, **kwargs)
2017-04-20 23:02:59.462 135206 ERROR neutron.api.v2.resource File "/usr/lib/python2.7/site-packages/neutron_plugin_contrail/plugins/opencontrail/contrail_plugin_base.py", line 526, in update_port
2017-04-20 23:02:59.462 135206 ERROR neutron.api.v2.resource return self._update_resource('port', context, port_id, port)
2017-04-20 23:02:59.462 135206 ERROR neutron.api.v2.resource File "/usr/lib/python2.7/site-packages/neutron_plugin_contrail/plugins/opencontrail/contrail_plugin.py", line 307, in _update_resource
2017-04-20 23:02:59.462 135206 ERROR neutron.api.v2.resource obj_name=res_type)
2017-04-20 23:02:59.462 135206 ERROR neutron.api.v2.resource File "/usr/lib/python2.7/site-packages/neutron_plugin_contrail/plugins/opencontrail/contrail_plugin.py", line 256, in _transform_response
2017-04-20 23:02:59.462 135206 ERROR neutron.api.v2.resource plugin_base._raise_contrail_error(info, obj_name)
2017-04-20 23:02:59.462 135206 ERROR neutron.api.v2.resource File "/usr/lib/python2.7/site-packages/neutron_plugin_contrail/plugins/opencontrail/contrail_plugin_base.py", line 111, in _raise_contrail_error
2017-04-20 23:02:59.462 135206 ERROR neutron.api.v2.resource raise exc.NeutronException(**info)
2017-04-20 23:02:59.462 135206 ERROR neutron.api.v2.resource NeutronException: An unknown exception occurred.
2017-04-20 23:02:59.462 135206 ERROR neutron.api.v2.resource

shajuvk (shajuvk)
information type: Proprietary → Public
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/30901
Submitter: <email address hidden> (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.2

Review in progress for https://review.opencontrail.org/30907
Submitter: <email address hidden> (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.1

Review in progress for https://review.opencontrail.org/30909
Submitter: <email address hidden> (<email address hidden>)

Revision history for this message
Sachin Bansal (sbansal) wrote :

Does not affect R3.0

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/30907
Committed: http://github.com/Juniper/contrail-controller/commit/8b17f44526cce8fe5361e92348928369cc83cdfc
Submitter: Zuul (<email address hidden>)
Branch: R3.2

commit 8b17f44526cce8fe5361e92348928369cc83cdfc
Author: Sahil <email address hidden>
Date: Mon May 1 13:15:22 2017 -0700

[Config]: Fix VNC openstack

Change-Id: Id519f13a37d2252255b7c2baa0fe103eeefe8ed4
Closes-Bug: 1685954
Closes-Bug: 1685040

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/30909
Committed: http://github.com/Juniper/contrail-controller/commit/654c0ea1223a5d38d2cd8c310dafc0e83c10ac95
Submitter: Zuul (<email address hidden>)
Branch: R3.1

commit 654c0ea1223a5d38d2cd8c310dafc0e83c10ac95
Author: Sahil <email address hidden>
Date: Mon May 1 13:15:22 2017 -0700

[Config]: Fix VNC openstack

Change-Id: Id519f13a37d2252255b7c2baa0fe103eeefe8ed4
Closes-Bug: 1685954
Closes-Bug: 1685040

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/30901
Committed: http://github.com/Juniper/contrail-controller/commit/7bb2dd78882bbbe61714452e2a852211f3390704
Submitter: Zuul (<email address hidden>)
Branch: master

commit 7bb2dd78882bbbe61714452e2a852211f3390704
Author: Sahil <email address hidden>
Date: Mon May 1 13:15:22 2017 -0700

[Config]: Fix VNC openstack

Change-Id: Id519f13a37d2252255b7c2baa0fe103eeefe8ed4
Closes-Bug: 1685954
Closes-Bug: 1685040

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/32562
Committed: http://github.com/Juniper/contrail-controller/commit/308b45be158135b6d326bd1c7f098da123aa25f8
Submitter: Zuul (<email address hidden>)
Branch: R3.2.3.x

commit 308b45be158135b6d326bd1c7f098da123aa25f8
Author: Sahil <email address hidden>
Date: Mon May 1 13:15:22 2017 -0700

[Config]: Fix VNC openstack

Change-Id: Id519f13a37d2252255b7c2baa0fe103eeefe8ed4
Closes-Bug: 1685954
Closes-Bug: 1685040

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.