Neutron plugin v3 could not boot VM

Bug #1561135 reported by Édouard Thuleau
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
Trunk
Fix Committed
Undecided
Unassigned
OpenContrail
New
Undecided
Unassigned

Bug Description

2016-03-23 19:19:23.897 ERROR neutron.api.v2.resource [req-c784b1eb-a8ef-4251-81aa-12da07dc03f7 neutron 908b6f1f31ef4dcb949bbf82aeaf4dd6] create failed
2016-03-23 19:19:23.897 TRACE neutron.api.v2.resource Traceback (most recent call last):
2016-03-23 19:19:23.897 TRACE neutron.api.v2.resource File "/opt/stack/openstack/neutron/neutron/api/v2/resource.py", line 84, in resource
2016-03-23 19:19:23.897 TRACE neutron.api.v2.resource result = method(request=request, **args)
2016-03-23 19:19:23.897 TRACE neutron.api.v2.resource File "/opt/stack/openstack/neutron/neutron/api/v2/base.py", line 410, in create
2016-03-23 19:19:23.897 TRACE neutron.api.v2.resource return self._create(request, body, **kwargs)
2016-03-23 19:19:23.897 TRACE neutron.api.v2.resource File "/usr/local/lib/python2.7/dist-packages/oslo_db/api.py", line 148, in wrapper
2016-03-23 19:19:23.897 TRACE neutron.api.v2.resource ectxt.value = e.inner_exc
2016-03-23 19:19:23.897 TRACE neutron.api.v2.resource File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 220, in __exit__
2016-03-23 19:19:23.897 TRACE neutron.api.v2.resource self.force_reraise()
2016-03-23 19:19:23.897 TRACE neutron.api.v2.resource File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 196, in force_reraise
2016-03-23 19:19:23.897 TRACE neutron.api.v2.resource six.reraise(self.type_, self.value, self.tb)
2016-03-23 19:19:23.897 TRACE neutron.api.v2.resource File "/usr/local/lib/python2.7/dist-packages/oslo_db/api.py", line 138, in wrapper
2016-03-23 19:19:23.897 TRACE neutron.api.v2.resource return f(*args, **kwargs)
2016-03-23 19:19:23.897 TRACE neutron.api.v2.resource File "/opt/stack/openstack/neutron/neutron/api/v2/base.py", line 521, in _create
2016-03-23 19:19:23.897 TRACE neutron.api.v2.resource obj = do_create(body)
2016-03-23 19:19:23.897 TRACE neutron.api.v2.resource File "/opt/stack/openstack/neutron/neutron/api/v2/base.py", line 503, in do_create
2016-03-23 19:19:23.897 TRACE neutron.api.v2.resource request.context, reservation.reservation_id)
2016-03-23 19:19:23.897 TRACE neutron.api.v2.resource File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 220, in __exit__
2016-03-23 19:19:23.897 TRACE neutron.api.v2.resource self.force_reraise()
2016-03-23 19:19:23.897 TRACE neutron.api.v2.resource File "/usr/local/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 196, in force_reraise
2016-03-23 19:19:23.897 TRACE neutron.api.v2.resource six.reraise(self.type_, self.value, self.tb)
2016-03-23 19:19:23.897 TRACE neutron.api.v2.resource File "/opt/stack/openstack/neutron/neutron/api/v2/base.py", line 496, in do_create
2016-03-23 19:19:23.897 TRACE neutron.api.v2.resource return obj_creator(request.context, **kwargs)
2016-03-23 19:19:23.897 TRACE neutron.api.v2.resource File "/opt/stack/contrail/openstack/neutron_plugin/neutron_plugin_contrail/plugins/opencontrail/contrail_plugin_base.py", line 450, in create_port
2016-03-23 19:19:23.897 TRACE neutron.api.v2.resource dpdk_enabled = self._is_dpdk_enabled(context, port['port'])
2016-03-23 19:19:23.897 TRACE neutron.api.v2.resource File "/opt/stack/contrail/openstack/neutron_plugin/neutron_plugin_contrail/plugins/opencontrail/contrail_plugin_base.py", line 438, in _is_dpdk_enabled
2016-03-23 19:19:23.897 TRACE neutron.api.v2.resource port['binding:host_id']])
2016-03-23 19:19:23.897 TRACE neutron.api.v2.resource File "/opt/stack/contrail/openstack/neutron_plugin/neutron_plugin_contrail/plugins/opencontrail/contrail_plugin_base.py", line 364, in _get_vrouter_config
2016-03-23 19:19:23.897 TRACE neutron.api.v2.resource propagate_exc=True)
2016-03-23 19:19:23.897 TRACE neutron.api.v2.resource TypeError: _get_resource() got an unexpected keyword argument 'propagate_exc'
2016-03-23 19:19:23.897 TRACE neutron.api.v2.resource

Tags: neutron
description: updated
summary: - Neutron plugin v3 could not create port
+ Neutron plugin v3 could not boot VM
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/18734
Submitter: Édouard Thuleau (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/18734
Committed: http://github.org/Juniper/contrail-neutron-plugin/commit/03c081f6e724a2e4a33523c01855d20ac778f72a
Submitter: Zuul
Branch: master

commit 03c081f6e724a2e4a33523c01855d20ac778f72a
Author: Édouard Thuleau <email address hidden>
Date: Thu Mar 24 11:30:39 2016 +0100

Remove 'propagate_exc' parameter in _get_vrouter_config()

A 'propagate_exc' parameter was added to v2 plugin resources action
methods but was not implemented on the v3 plugin. Since, the v3
plugin cannot use anymore the method '_get_vrouter_config' because
it does not provide the 'propagate_exc' parameter.
That patch remove the 'propagate_exc' parameter to realign v2 and v3 on
a common plugin interface class/methods and uses the
'_raise_contrail_error' method to propagate the 'VirtualRouterNotFound'
exception.

Change-Id: I5e6afe7a817e1ff99a559598f7c8ac0ce668398c
Closes-Bug: #1561135

Changed in juniperopenstack:
milestone: none → r3.1.0.0-fcs
no longer affects: juniperopenstack/r3.1
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.