Ask Your Question

openstack juno install fails on glance-manage db_sync glance

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

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/", 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

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

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

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

Praveen N gravatar image

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

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

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


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

Seen: 316 times

Last updated: May 29 '15