SM: lbaasv2 creation fails

Bug #1724408 reported by Senthilnathan Murugappan
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Invalid
Undecided
Ignatious Johnson Christopher
R3.2
Fix Committed
High
Ignatious Johnson Christopher

Bug Description

2017-10-17 23:14:57.283 9947 ERROR neutron.api.v2.resource result = method(request=request, **args)
2017-10-17 23:14:57.283 9947 ERROR neutron.api.v2.resource File "/usr/lib/python2.7/dist-packages/oslo_db/api.py", line 148, in wrapper
2017-10-17 23:14:57.283 9947 ERROR neutron.api.v2.resource ectxt.value = e.inner_exc
2017-10-17 23:14:57.283 9947 ERROR neutron.api.v2.resource File "/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 220, in __exit__
2017-10-17 23:14:57.283 9947 ERROR neutron.api.v2.resource self.force_reraise()
2017-10-17 23:14:57.283 9947 ERROR neutron.api.v2.resource File "/usr/lib/python2.7/dist-packages/oslo_utils/excutils.py", line 196, in force_reraise
2017-10-17 23:14:57.283 9947 ERROR neutron.api.v2.resource six.reraise(self.type_, self.value, self.tb)
2017-10-17 23:14:57.283 9947 ERROR neutron.api.v2.resource File "/usr/lib/python2.7/dist-packages/oslo_db/api.py", line 138, in wrapper
2017-10-17 23:14:57.283 9947 ERROR neutron.api.v2.resource return f(*args, **kwargs)
2017-10-17 23:14:57.283 9947 ERROR neutron.api.v2.resource File "/usr/lib/python2.7/dist-packages/neutron/api/v2/base.py", line 341, in index
2017-10-17 23:14:57.283 9947 ERROR neutron.api.v2.resource return self._items(request, True, parent_id)
2017-10-17 23:14:57.283 9947 ERROR neutron.api.v2.resource File "/usr/lib/python2.7/dist-packages/neutron/api/v2/base.py", line 267, in _items
2017-10-17 23:14:57.283 9947 ERROR neutron.api.v2.resource obj_list = obj_getter(request.context, **kwargs)
2017-10-17 23:14:57.283 9947 ERROR neutron.api.v2.resource File "/usr/lib/python2.7/dist-packages/neutron_plugin_contrail/plugins/opencontrail/loadbalancer/v2/loadbalancer_db.py", line 137, in get_loadbalancers
2017-10-17 23:14:57.283 9947 ERROR neutron.api.v2.resource return self.loadbalancer_manager.get_collection(context, filters, fields)
2017-10-17 23:14:57.283 9947 ERROR neutron.api.v2.resource File "/usr/lib/python2.7/dist-packages/neutron_plugin_contrail/plugins/opencontrail/loadbalancer/resource_manager.py", line 250, in get_collection
2017-10-17 23:14:57.283 9947 ERROR neutron.api.v2.resource obj_list = self.resource_list(tenant_id=tenant_id)
2017-10-17 23:14:57.283 9947 ERROR neutron.api.v2.resource File "/usr/lib/python2.7/dist-packages/neutron_plugin_contrail/plugins/opencontrail/loadbalancer/v2/loadbalancer.py", line 109, in resource_list
2017-10-17 23:14:57.283 9947 ERROR neutron.api.v2.resource return self._api.loadbalancers_list(parent_id=parent_id)
2017-10-17 23:14:57.283 9947 ERROR neutron.api.v2.resource File "/usr/lib/python2.7/dist-packages/vnc_api/vnc_api.py", line 42, in wrapper
2017-10-17 23:14:57.283 9947 ERROR neutron.api.v2.resource return func(self, *args, **kwargs)
2017-10-17 23:14:57.283 9947 ERROR neutron.api.v2.resource File "/usr/lib/python2.7/dist-packages/vnc_api/vnc_api.py", line 532, in _objects_list
2017-10-17 23:14:57.283 9947 ERROR neutron.api.v2.resource filters=filters, shared=shared)
2017-10-17 23:14:57.283 9947 ERROR neutron.api.v2.resource File "/usr/lib/python2.7/dist-packages/vnc_api/vnc_api.py", line 42, in wrapper
2017-10-17 23:14:57.283 9947 ERROR neutron.api.v2.resource return func(self, *args, **kwargs)
2017-10-17 23:14:57.283 9947 ERROR neutron.api.v2.resource File "/usr/lib/python2.7/dist-packages/vnc_api/vnc_api.py", line 1193, in resource_list
2017-10-17 23:14:57.283 9947 ERROR neutron.api.v2.resource data = query_params)
2017-10-17 23:14:57.283 9947 ERROR neutron.api.v2.resource File "/usr/lib/python2.7/dist-packages/vnc_api/vnc_api.py", line 750, in _request_server
2017-10-17 23:14:57.283 9947 ERROR neutron.api.v2.resource retry_count=retry_count)
2017-10-17 23:14:57.283 9947 ERROR neutron.api.v2.resource File "/usr/lib/python2.7/dist-packages/vnc_api/vnc_api.py", line 815, in _request
2017-10-17 23:14:57.283 9947 ERROR neutron.api.v2.resource self._headers = self._authenticate(content, self._headers)
2017-10-17 23:14:57.283 9947 ERROR neutron.api.v2.resource File "/usr/lib/python2.7/dist-packages/vnc_api/vnc_api.py", line 608, in _authenticate
2017-10-17 23:14:57.283 9947 ERROR neutron.api.v2.resource raise RuntimeError(errmsg)
2017-10-17 23:14:57.283 9947 ERROR neutron.api.v2.resource RuntimeError: Unable to connect to keystone for authentication. Exception Failed to parse: 10.10.0.200:35357http:

WA:
Need to comment out auth_type and auth_url from keystone_authtoken section of /etc/neutron/neutron.conf

tags: added: server-manager
Revision history for this message
Ignatious Johnson Christopher (ijohnson-x) wrote :

Work Around:

Populate “AUTHN_TOKEN_URL” in "auth" section of vnc_api_lib.ini

tags: added: config
removed: server-manager
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.2

Review in progress for https://review.opencontrail.org/36613
Submitter: Ignatious Johnson Christopher (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/36617
Submitter: Ignatious Johnson Christopher (<email address hidden>)

Jeba Paulaiyan (jebap)
no longer affects: juniperopenstack/r4.0
no longer affects: juniperopenstack/r4.1
no longer affects: juniperopenstack/trunk
Revision history for this message
Jeba Paulaiyan (jebap) wrote :

Notes for release notes:

LBaaS v2 creation fails as provisioning does not populate proper “AUTHN_TOKEN_URL” in "auth" section of vnc_api_lib.ini. As a workaround, populate it in vc_api_lib.ini.

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

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

commit 2f793ceee3f3b86eb1cb9b08778eec86cc7e61a3
Author: Ignatious Johnson Christopher <email address hidden>
Date: Thu Oct 5 23:55:40 2017 -0700

Discover the authn_url when not specifed as input

to vnc_api library.

Partial-Bug: 1724408

Conflicts:
 src/api-lib/vnc_api.py

Change-Id: If31a3985227ee169cd15214e9c27f732e2a4b7de

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

Reviewed: https://review.opencontrail.org/36617
Committed: http://github.com/Juniper/contrail-neutron-plugin/commit/0283a82fb7298b8cdfc3d851bec3356aeaa0b69a
Submitter: Zuul (<email address hidden>)
Branch: R3.2

commit 0283a82fb7298b8cdfc3d851bec3356aeaa0b69a
Author: Ignatious Johnson Christopher <email address hidden>
Date: Tue Oct 17 23:01:54 2017 -0700

Do not pass auth_url to VncApi

auth url will be discovered in the
vnc_api client library.

Change-Id: Ie8222e05f8ddddf1278618381d0e92fad4445d3d
Closes-Bug: 1724408

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.