Openstack,devstack安装错误:openstackclient.shell异常

时间:2015-04-21 17:42:00

标签: openstack devstack

我不确定它是否适合我的问题,我正在尝试安装devstack,但我收到了这些错误:

openstackclient.shell Exception
2015-04-21 16:22:04.991 | ERROR: openstackclient.shell Exception raised: (six 1.7.3 (/usr/lib/python2.7/dist-packages), Requirement.parse('six>=1.9.0'), set(['oslo.i18n', 'oslo.utils', 'cliff'])) 
2015-04-21 16:22:05.014 | + ADMIN_TENANT= 
2015-04-21 16:22:05.015 | ++ openstack user create admin --project '' --email admin@example.com --password openstack 
2015-04-21 16:22:05.015 | ++ grep ' id ' 
2015-04-21 16:22:05.018 | ++ get_field 2 
2015-04-21 16:22:05.018 | ++ read data 
2015-04-21 16:22:05.447 | ERROR: openstackclient.shell Exception raised: (six 1.7.3 (/usr/lib/python2.7/dist-packages), Requirement.parse('six>=1.9.0'), set(['oslo.i18n', 'oslo.utils', 'cliff'])) 
2015-04-21 16:22:05.466 | + ADMIN_USER= 
2015-04-21 16:22:05.467 | ++ openstack role create admin 
2015-04-21 16:22:05.468 | ++ grep ' id ' 
2015-04-21 16:22:05.469 | ++ get_field 2 
2015-04-21 16:22:05.469 | ++ read data 
2015-04-21 16:22:05.897 | ERROR: openstackclient.shell Exception raised: (six 1.7.3 (/usr/lib/python2.7/dist-packages), Requirement.parse('six>=1.9.0'), set(['oslo.i18n', 'oslo.utils', 'cliff'])) 
2015-04-21 16:22:05.916 | + ADMIN_ROLE= 
2015-04-21 16:22:05.916 | + openstack role add --project --user 
2015-04-21 16:22:06.349 | ERROR: openstackclient.shell Exception raised: (six 1.7.3 (/usr/lib/python2.7/dist-packages), Requirement.parse('six>=1.9.0'), set(['oslo.i18n', 'oslo.utils', 'cliff'])) 
2015-04-21 16:22:06.368 | + exit_trap 
2015-04-21 16:22:06.368 | + local r=1 
2015-04-21 16:22:06.368 | ++ jobs -p 
2015-04-21 16:22:06.368 | + jobs= 
2015-04-21 16:22:06.369 | + [[ -n '' ]] 
2015-04-21 16:22:06.369 | + exit 1

经过一番研究,输入pip install --upgrade setuptools,但是没有用,我使用的是没有虚拟机的ubuntu 14.10,请帮忙吗?

1 个答案:

答案 0 :(得分:0)

对于原始问题,您有1.7.3版本的六,但需要1.9.0。卸载六(pip卸载六),然后卸载devStack(./clean.sh),然后重新安装devStack(./stack.sh) - 但我建议安装Kilo。 对于“worlddump.py”输出,这只是发生错误时的状态转储。实际错误将出现在上面的文本中。