"ImportError : No module named config" for "glance-manage db_syn"
Bug #1287678 reported by
Bo ZHANG
This bug affects 5 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
devstack |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I'm a new one to use devstack, and download devstack directly by "git clone https:/
But when I execute stack.sh, there is always an error:
+ /usr/local/
Traceback (most recent call last):
File "/usr/local/
from glance.cmd.manage import main
File "/opt/stack/
from oslo.config import cfg
From this report, I check /opt/stack/
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.
Changed in glance: | |
assignee: | nobody → Song Li (lisong-cruise) |
assignee: | Song Li (lisong-cruise) → nobody |
Changed in devstack: | |
status: | New → In Progress |
Changed in devstack: | |
assignee: | Song Li (lisong-cruise) → nobody |
To post a comment you must log in.
I'm seeing an equivalent problem running DevStack (full disclosure: vagrant-dockstack) where I get the same message with "keystone-manage db_sync".
It "may" help you to use this workaround mentioned here: https:/ /bugs.launchpad .net/nova/ +bug/1271097
sudo ln -s /opt/stack/ oslo.config/ oslo/config/ /usr/local/ lib/python2. 7/dist- packages/ oslo/config
I say "may" help you, as in my case I then hit another problem with the nova client not having access. /answers. launchpad. net/horizon/ +question/ 245082)
(as here: https:/
YMMV.
Maybe this helps you.