← Back to team overview

yahoo-eng-team team mailing list archive

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

 

I have met the problem too, I think it was a devstack issue.

** Project changed: glance => devstack

** Changed in: devstack
     Assignee: (unassigned) => Song Li (lisong-cruise)

** Changed in: devstack
       Status: New => In Progress

-- 
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 devstack - openstack dev environments:
  In Progress

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/devstack/+bug/1287678/+subscriptions


References