Devstack DistributionNotFound

asked 2016-02-26 00:36:11 -0500

mishra-devender gravatar image

I am setting up devstack on my vagrant machine running Ubuntu 14.04.

In /usr/local/bin/keystone-manage db_sync step, I am getting following error.

/usr/local/bin/keystone-manage db_sync

Traceback (most recent call last):

File "/usr/local/bin/keystone-manage", line 4, in <module>

__import__('pkg_resources').require('keystone==2015.1.4.dev3')

File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 3141, in <module>

@_call_aside

File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 3127, in _call_aside

f(*args, **kwargs)

File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 3154, in _initialize_master_working_set

working_set = WorkingSet._build_master()

File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 642, in _build_master

return cls._build_from_requirements(__requires__)

File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 655, in _build_from_requirements

dists = ws.resolve(reqs, Environment())

File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 828, in resolve

raise DistributionNotFound(req, requirers)

pkg_resources.DistributionNotFound: The 'sqlalchemy-migrate!=0.9.8,<0.10.0,>=0.9.5' distribution was not found and is required by oslo.db, keystone

edit retag flag offensive close merge delete