← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1420613] [NEW] /usr/local/bin/glance-manage db_sync ImportError for types

 

Public bug reported:

/usr/local/bin/glance-manage db_sync

Throws following error with TOT code.

Traceback (most recent call last):
  File "/usr/local/bin/glance-manage", line 9, in <module>
    load_entry_point('glance==2015.1.dev12', 'console_scripts', 'glance-manage')()
  File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 521, in load_entry_point
    return get_distribution(dist).load_entry_point(group, name)
  File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2633, in load_entry_point
    return ep.load()
  File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2304, in load
    if not require or args or kwargs:
  File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2319, in resolve
    module = __import__(self.module_name, fromlist=['__name__'], level=0)
  File "/opt/stack/glance/glance/cmd/manage.py", line 41, in <module>
    from oslo_config import cfg
  File "/usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py", line 334, in <module>
    from oslo.config import types
ImportError: cannot import name types

** Affects: glance
     Importance: Undecided
         Status: New


** Tags: glance-manage

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Glance.
https://bugs.launchpad.net/bugs/1420613

Title:
  /usr/local/bin/glance-manage db_sync ImportError for types

Status in OpenStack Image Registry and Delivery Service (Glance):
  New

Bug description:
  /usr/local/bin/glance-manage db_sync

  Throws following error with TOT code.

  Traceback (most recent call last):
    File "/usr/local/bin/glance-manage", line 9, in <module>
      load_entry_point('glance==2015.1.dev12', 'console_scripts', 'glance-manage')()
    File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 521, in load_entry_point
      return get_distribution(dist).load_entry_point(group, name)
    File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2633, in load_entry_point
      return ep.load()
    File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2304, in load
      if not require or args or kwargs:
    File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 2319, in resolve
      module = __import__(self.module_name, fromlist=['__name__'], level=0)
    File "/opt/stack/glance/glance/cmd/manage.py", line 41, in <module>
      from oslo_config import cfg
    File "/usr/local/lib/python2.7/dist-packages/oslo_config/cfg.py", line 334, in <module>
      from oslo.config import types
  ImportError: cannot import name types

To manage notifications about this bug go to:
https://bugs.launchpad.net/glance/+bug/1420613/+subscriptions


Follow ups

References