Ask Your Question
0

openstack juno install fails on glance-manage db_sync glance

asked 2015-05-21 10:06:30 -0500

manunder gravatar image

Installing Juno everything works fine following the ubuntu install document until I get to the glance table creation script. Advice?

glance-manage db_sync glance

fails with:

Traceback (most recent call last):
File "/usr/bin/glance-manage", line 6, in <module> from glance.cmd.manage import main File "/usr/lib/python2.7/dist-packages/glance/cmd/manage.py", line 42, in <module> from oslo.db.sqlalchemy import migration ImportError: No module named db.sqlalchemy

sqlalchemy is already installed:

pip install sqlalchemy Requirement already satisfied (use --upgrade to upgrade): sqlalchemy in /usr/local/lib/python2.7/dist-packages

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
0

answered 2015-05-22 08:43:38 -0500

Kui.Li gravatar image

Hi, can you show me your glance config files, glance-api.conf and glance-registry.conf. What kind database did you install ?

edit flag offensive delete link more
0

answered 2015-05-29 07:33:56 -0500

Praveen N gravatar image

updated 2015-05-29 07:38:04 -0500

Hi, One Possible workaround is drop glance db. Ensure glance user has admin role.Create the glance db and populate the latest created glance db running glance-manage db_sync glance

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2015-05-21 10:05:39 -0500

Seen: 268 times

Last updated: May 29 '15