Import of opts broken

Bug #1433993 reported by James Page
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
oslo.messaging (Ubuntu)
Fix Released
High
James Page

Bug Description

changing mode of build/scripts-2.7/manila-share from 664 to 775
oslo-config-generator --config-file etc/oslo-config-generator/manila.conf \
 --output-file etc/manila/manila.conf
Traceback (most recent call last):
  File "/usr/bin/oslo-config-generator", line 10, in <module>
    sys.exit(main())
  File "/usr/lib/python2.7/dist-packages/oslo_config/generator.py", line 332, in main
    generate(conf)
  File "/usr/lib/python2.7/dist-packages/oslo_config/generator.py", line 302, in generate
    for namespace, listing in _list_opts(conf.namespace):
  File "/usr/lib/python2.7/dist-packages/oslo_config/generator.py", line 277, in _list_opts
    invoke_on_load=True)
  File "/usr/lib/python2.7/dist-packages/stevedore/named.py", line 55, in __init__
    verify_requirements)
  File "/usr/lib/python2.7/dist-packages/stevedore/extension.py", line 170, in _load_plugins
    self._on_load_failure_callback(self, ep, err)
  File "/usr/lib/python2.7/dist-packages/stevedore/extension.py", line 162, in _load_plugins
    verify_requirements,
  File "/usr/lib/python2.7/dist-packages/stevedore/named.py", line 123, in _load_one_plugin
    verify_requirements,
  File "/usr/lib/python2.7/dist-packages/stevedore/extension.py", line 178, in _load_one_plugin
    plugin = ep.load(require=verify_requirements)
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2312, in load
    return self.resolve()
  File "/usr/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2318, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/usr/lib/python2.7/dist-packages/oslo_messaging/opts.py", line 24, in <module>
    from oslo.messaging._drivers import base as drivers_base
ImportError: cannot import name base

James Page (james-page)
Changed in oslo.messaging (Ubuntu):
assignee: nobody → James Page (james-page)
importance: Undecided → High
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package oslo.messaging - 1.6.0-0ubuntu2

---------------
oslo.messaging (1.6.0-0ubuntu2) vivid; urgency=medium

  * d/p/zmq-client-pooling.patch: Fixup references to oslo.messaging
    -> oslo_messaging, resolving config file generation failures in
    other OpenStack packages (LP: #1433993).
  * Tidy lintian warnings and error messages.
 -- James Page <email address hidden> Thu, 19 Mar 2015 11:32:05 +0000

Changed in oslo.messaging (Ubuntu):
status: New → Fix Released
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.