我只是跟随openstack rally quick start guide在Openstack Ocata / stable部署中使用Rally v0.9.1创建了一个暴风测试程序。命令失败:
(rally-15.1.2) root@infra1-utility-container-f31faeb0:~/.rally/verification# rally verify create-verifier --type tempest --name tempest-verifier
2017-05-21 07:53:13.410 11422 INFO rally.api [-] Creating verifier 'tempest-verifier'.
2017-05-21 07:53:13.528 11422 INFO rally.verification.manager [-] Cloning verifier repo from https://git.openstack.org/openstack/tempest.
2017-05-21 07:53:37.174 11422 INFO rally.verification.manager [-] Creating virtual environment. It may take a few minutes.
2017-05-21 07:53:42.323 11422 ERROR rally.verification.utils [-] Failed cmd: '['pip', 'install', '-e', './']'
2017-05-21 07:53:42.324 11422 ERROR rally.verification.utils [-] Error output: 'Obtaining file:///root/.rally/verification/verifier-091a49ab-1241-40a3-bc9b-531d7f091e37/repo
Collecting pbr!=2.1.0,>=2.0.0 (from tempest==16.0.1.dev178)
Could not find a version that satisfies the requirement pbr!=2.1.0,>=2.0.0 (from tempest==16.0.1.dev178) (from versions: 1.10.0)
No matching distribution found for pbr!=2.1.0,>=2.0.0 (from tempest==16.0.1.dev178)
'
Command failed, please check log for more info
由于当前版本的pbr是2.0.0,我不确定为什么pbr安装失败。
(rally-15.1.2) root@infra1-utility-container-f31faeb0:~/.rally/verification# pip freeze|grep pbr
pbr==2.0.0
问题是如何调整pbr的需求检查?或者是否可以选择旧版的暴风雨?
感谢。
答案 0 :(得分:0)
它解决了。 将两个丢失的python包上传后:os_testr-0.8.2-py2-none-any.whl和testrepository-0.0.19.tar.gz到本地repo,这是一个由openstack-ansible创建的lxc容器,Tempest最终安装了插件。