ImportError: No module named migrate.versioning
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Identity (keystone) |
Invalid
|
Undecided
|
Unassigned | ||
devstack |
Invalid
|
Undecided
|
Unassigned |
Bug Description
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/
2013-08-05 18:22:30 Traceback (most recent call last):
2013-08-05 18:22:30 File "/bak/openstack
2013-08-05 18:22:30 from keystone import cli
2013-08-05 18:22:30 File "/bak/openstack
2013-08-05 18:22:30 from keystone.common.sql import migration
2013-08-05 18:22:30 File "/bak/openstack
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/
2013-08-05 18:22:30 Traceback (most recent call last):
2013-08-05 18:22:30 File "/bak/openstack
2013-08-05 18:22:30 from keystone import cli
2013-08-05 18:22:30 File "/bak/openstack
2013-08-05 18:22:30 from keystone.common.sql import migration
2013-08-05 18:22:30 File "/bak/openstack
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:/
$ sudo pip-2.6 show sqlalchemy-migrate
---
Name: sqlalchemy-migrate
Version: 0.7.2
Location: /usr/lib/
Requires: SQLAlchemy, decorator, Tempita, setuptools
from migrate.versioning import api as versioning_api
Changed in devstack: | |
status: | New → Confirmed |
[stack@rbobo keystone]$ pip show sqlalchemy-migrate python2. 6/site- packages
---
Name: sqlalchemy-migrate
Version: 0.7.2
Location: /usr/lib/
Requires: SQLAlchemy, decorator, Tempita, setuptools
which matches requirements.txt