运行keystone-manage db_sync报错,貌似是python环境的问题,但是找不到解决办法
root@ubuntu:/etc/keystone# keystone-manage db_sync
Traceback (most recent call last):
File "/usr/local/bin/keystone-manage", line 4, in <module>
import pkg_resources
File "/usr/local/lib/python2.7/dist-packages/distribute-0.6.43-py2.7.egg/pkg_r esources.py", line 2850, in <module>
working_set.require(__requires__)
File "/usr/local/lib/python2.7/dist-packages/distribute-0.6.43-py2.7.egg/pkg_r esources.py", line 696, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/local/lib/python2.7/dist-packages/distribute-0.6.43-py2.7.egg/pkg_r esources.py", line 594, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: Tempita>=0.4
openstackPythonkeystone
root@ubuntu:/etc/keystone# keystone-manage db_sync
Traceback (most recent call last):
File "/usr/local/bin/keystone-manage", line 4, in <module>
import pkg_resources
File "/usr/local/lib/python2.7/dist-packages/distribute-0.6.43-py2.7.egg/pkg_r esources.py", line 2850, in <module>
working_set.require(__requires__)
File "/usr/local/lib/python2.7/dist-packages/distribute-0.6.43-py2.7.egg/pkg_r esources.py", line 696, in require
needed = self.resolve(parse_requirements(requirements))
File "/usr/local/lib/python2.7/dist-packages/distribute-0.6.43-py2.7.egg/pkg_r esources.py", line 594, in resolve
raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: Tempita>=0.4
openstackPythonkeystone
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货