Comment 7 for bug 1287678

Revision history for this message
Bo ZHANG (bo-zhang) wrote : Re: [Bug 1287678] Re: "ImportError : No module named config" for "glance-manage db_syn"

Hi,

 My problem is caused by the old version of oslo.config .

 So I only updated it and succeeded to solve it. You can try the bellow command.

       pip install oslo.config --upgrade

 Hope this will help you. :)

 Bo ZHANG

----- Mail original -----
> De: "yechengkun" <email address hidden>
> À: "bo zhang" <email address hidden>
> Envoyé: Samedi 25 Juillet 2015 10:41:24
> Objet: [Bug 1287678] Re: "ImportError : No module named config" for "glance-manage db_syn"
>
> This has been solved? I encountered the same problem when i install
> devstack.
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1287678
>
> Title:
> "ImportError : No module named config" for "glance-manage db_syn"
>
> Status in devstack:
> 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
>