← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1208425] [NEW] ImportError: No module named migrate.versioning

 

You have been subscribed to a public bug:

I failed to use the latest devstack code (today, Aug 5, 2013) to install
openstack in RHEL6.4.

2013-08-05 18:22:30 + mysql -uroot -ppassword -h172.16.1.122 -e 'DROP DATABASE IF EXISTS keystone;'
2013-08-05 18:22:30 + mysql -uroot -ppassword -h172.16.1.122 -e 'CREATE DATABASE keystone CHARACTER SET utf8;'
2013-08-05 18:22:30 + /bak/openstack/keystone/bin/keystone-manage db_sync
2013-08-05 18:22:30 Traceback (most recent call last):
2013-08-05 18:22:30   File "/bak/openstack/keystone/bin/keystone-manage", line 16, in <module>
2013-08-05 18:22:30     from keystone import cli
2013-08-05 18:22:30   File "/bak/openstack/keystone/keystone/cli.py", line 27, in <module>
2013-08-05 18:22:30     from keystone.common.sql import migration
2013-08-05 18:22:30   File "/bak/openstack/keystone/keystone/common/sql/migration.py", line 23, in <module>
2013-08-05 18:22:30     from migrate.versioning import api as versioning_api
2013-08-05 18:22:30 ImportError: No module named migrate.versioning
2013-08-05 18:22:30 + [[ PKI == \P\K\I ]]
2013-08-05 18:22:30 + rm -rf /etc/keystone/ssl
2013-08-05 18:22:30 + /bak/openstack/keystone/bin/keystone-manage pki_setup
2013-08-05 18:22:30 Traceback (most recent call last):
2013-08-05 18:22:30   File "/bak/openstack/keystone/bin/keystone-manage", line 16, in <module>
2013-08-05 18:22:30     from keystone import cli
2013-08-05 18:22:30   File "/bak/openstack/keystone/keystone/cli.py", line 27, in <module>
2013-08-05 18:22:30     from keystone.common.sql import migration
2013-08-05 18:22:30   File "/bak/openstack/keystone/keystone/common/sql/migration.py", line 23, in <module>
2013-08-05 18:22:30     from migrate.versioning import api as versioning_api
2013-08-05 18:22:30 ImportError: No module named migrate.versioning


Noted that there is a similiar bug https://answers.launchpad.net/nova/+question/146204, but it doesn't work for me, bellow is sqlalchemy-migrate info.
$ sudo pip-2.6 show sqlalchemy-migrate
---
Name: sqlalchemy-migrate
Version: 0.7.2
Location: /usr/lib/python2.6/site-packages
Requires: SQLAlchemy, decorator, Tempita, setuptools

from migrate.versioning import api as versioning_api

** Affects: keystone
     Importance: Undecided
         Status: Confirmed

-- 
ImportError: No module named migrate.versioning
https://bugs.launchpad.net/bugs/1208425
You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to Keystone.