netns instance did not get launched due to import error on oslo_utils

Bug #1577296 reported by Vedamurthy Joshi
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R3.0
Fix Committed
High
Yuvaraja Mariappan
Trunk
Fix Committed
High
Yuvaraja Mariappan

Bug Description

R3.0

Command : /usr/bin/opencontrail-vrouter-netns create source-nat 24463628-5263-4a3b-a50e-b58db4cde331 f94a7c83-83a7-4c27-acc0-a6b32a0f0233 b1e4d245-6729-40f5-b1aa-406ecd74138d --vmi-left-ip 100.64.0.4/29 --vmi-right-ip 170.215.164.4/24 --vmi-left-mac 02:48:ae:fb:6e:1b --vmi-right-mac 02:96:2a:f5:5a:39 --gw-ip 100.64.0.6

Error :

Traceback (most recent call last):
  File "/usr/bin/opencontrail-vrouter-netns", line 9, in <module>
    load_entry_point('opencontrail-vrouter-netns==0.1', 'console_scripts', 'opencontrail-vrouter-netns')()
  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/opencontrail_vrouter_netns/vrouter_netns.py", line 40, in <module>
    import haproxy_process
  File "/usr/lib/python2.7/dist-packages/opencontrail_vrouter_netns/haproxy_process.py", line 6, in <module>
    import cert_mgr.barbican_cert_manager as barbican_cert_mgr
  File "/usr/lib/python2.7/dist-packages/opencontrail_vrouter_netns/cert_mgr/barbican_cert_manager.py", line 6, in <module>
    from oslo_utils import excutils
ImportError: No module named oslo_utils

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

Review in progress for https://review.opencontrail.org/19805
Submitter: Yuvaraja Mariappan

no longer affects: juniperopenstack/trunk
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

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

commit 486125bfcc94f51c00f953f67c4dc6f9c17f137c
Author: Yuvaraja Mariappan <email address hidden>
Date: Mon May 2 03:49:59 2016 -0700

Unnecessary package inclusion caused the issue.

Since the package is not installed, It is failed to load
the netns script. We dont need any functionality from that
package. so removing the line "from oslo_utils import excutils"

Change-Id: I579acf7560935e0799294c1f91ec5ffb4a54a3bc
Closes-Bug: 1577296

Changed in juniperopenstack:
status: New → Fix Committed
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

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

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.