← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1287678] [NEW] "ImportError : No module named config" for "glance-manage db_syn"

 

Public bug reported:

I'm a new one to use devstack, and download devstack directly by "git clone https://github.com/openstack-dev/devstack.git";.
But when I execute stack.sh, there is always an error:


+ /usr/local/bin/glance-manage db_sync
Traceback (most recent call last):
      File "/usr/local/bin/glance-manage", line 6, in <module>
            from glance.cmd.manage import main
      File "/opt/stack/glance/glance/cmd/manage.py", line 41, in <module>
            from oslo.config import cfg


>From this report, I check /opt/stack/oslo.config.
I found there isn't file named cfg! But just "setup.cfg".

I'm not sure it's a bug or not.
I hope it will help you, and wait for your reply.

** Affects: glance
     Importance: Undecided
         Status: New

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

Title:
  "ImportError : No module named config" for "glance-manage db_syn"

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

Bug description:
  I'm a new one to use devstack, and download devstack directly by "git clone https://github.com/openstack-dev/devstack.git";.
  But when I execute stack.sh, there is always an error:

  
  + /usr/local/bin/glance-manage db_sync
  Traceback (most recent call last):
        File "/usr/local/bin/glance-manage", line 6, in <module>
              from glance.cmd.manage import main
        File "/opt/stack/glance/glance/cmd/manage.py", line 41, in <module>
              from oslo.config import cfg


  From this report, I check /opt/stack/oslo.config.
  I found there isn't file named cfg! But just "setup.cfg".

  I'm not sure it's a bug or not.
  I hope it will help you, and wait for your reply.

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


Follow ups

References