R3.0-vcenter orchestartor setup_all failed

Bug #1558301 reported by shajuvk
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R3.0
Fix Committed
High
Ignatious Johnson Christopher
Trunk
Fix Committed
High
Ignatious Johnson Christopher

Bug Description

Traceback (most recent call last):
  File "/usr/bin/contrail-api", line 9, in <module>
    load_entry_point('vnc-cfg-api-server==0.1dev', 'console_scripts', 'contrail-api')()
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 351, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2363, in load_entry_point
    return ep.load()
  File "/usr/lib/python2.7/dist-packages/pkg_resources.py", line 2088, in load
    entry = __import__(self.module_name, globals(),globals(), ['__name__'])
  File "/usr/lib/python2.7/dist-packages/vnc_cfg_api_server/vnc_cfg_api_server.py", line 87, in <module>
    import vnc_auth_keystone
===============================================================================

/usr/lib/python2.7/dist-packages/vnc_cfg_api_server/vnc_auth_keystone.py

line 21 need below change

try:
    from keystoneclient.middleware import auth_token
except ImportError:
    try:
        from keystonemiddleware import auth_token
    except Exception:
        pass

Tags: config vmware
shajuvk (shajuvk)
information type: Proprietary → Public
description: updated
tags: added: vmware
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

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

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

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

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

Reviewed: https://review.opencontrail.org/18569
Committed: http://github.org/Juniper/contrail-controller/commit/cc523a6246358743945d6571b181d6daa3f86480
Submitter: Zuul
Branch: master

commit cc523a6246358743945d6571b181d6daa3f86480
Author: Ignatious Johnson Christopher <email address hidden>
Date: Mon Mar 21 05:04:31 2016 +0000

Fixing import error in the vcenter setups. Both keystoneclient.middleware and
keystonemiddleware modules will not be available.use in setups with vcenter
as orchestrator.

Change-Id: Ided2ca15faf4a58d35c135e5e9397d9764b34fc9
Closes-Bug: 1558301

Changed in juniperopenstack:
milestone: none → r3.1.0.0-fcs
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/18570
Committed: http://github.org/Juniper/contrail-controller/commit/e442b11606ee2ad3c37c3e25d06e03970262c261
Submitter: Zuul
Branch: R3.0

commit e442b11606ee2ad3c37c3e25d06e03970262c261
Author: Ignatious Johnson Christopher <email address hidden>
Date: Mon Mar 21 05:04:31 2016 +0000

Fixing import error in the vcenter setups. Both keystoneclient.middleware and
keystonemiddleware modules will not be available.use in setups with vcenter
as orchestrator.

Change-Id: Ided2ca15faf4a58d35c135e5e9397d9764b34fc9
Closes-Bug: 1558301

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.