Comment 3 for bug 1782372

Revision history for this message
Gilles Mocellin (gilles-mocellin) wrote :

Hi !

Yes, the command fails also xhen launched manually in the utility container :

root@fidcllabs-oct-02:~# lxc-attach -n $(lxc-ls -1 | grep utility)
root@fidcllabs-oct-02-utility-container-d49781cc:~# . /root/openrc
root@fidcllabs-oct-02-utility-container-d49781cc:~# . /openstack/venvs/rally-17.0.6/bin/activate
(rally-17.0.6) root@fidcllabs-oct-02-utility-container-d49781cc:~# /openstack/venvs/rally-17.0.6/bin/rally deployment create --fromenv --name existing
2018-07-19 07:26:37.789 16287 WARNING rally.common.plugin.discover [-] OpenStack plugins moved to the separate package (see https://pypi.org/project/rally-openstack). In-tree OpenStack plugins will be removed from the Rally main package soon.
Env manager got invalid spec:
["There is no Platform plugin with name: 'existing@openstack'"]
(rally-17.0.6) root@fidcllabs-oct-02-utility-container-d49781cc:~#

So I think there is some modifications in rally itself, plugins removed.
As the error says, I've tried to install with pip rally-openstack in the venv, but there's a dependancy problem, either on 1.2.0, 1.1.0 and 1.0.0 versions of rally-openstack, due to a dependence on kubernetes :

(rally-17.0.6) root@fidcllabs-oct-02-utility-container-d49781cc:~# pip install rally-openstack==1.0.0
[...]
Requirement already up-to-date: certifi>=14.05.14 in /openstack/venvs/rally-17.0.6/lib/python2.7/site-packages (from kubernetes>1.0.0->rally-openstack==1.0.0)
Collecting websocket-client!=0.40.0,!=0.41.*,!=0.42.*,>=0.32.0 (from kubernetes>1.0.0->rally-openstack==1.0.0)
  Could not find a version that satisfies the requirement websocket-client!=0.40.0,!=0.41.*,!=0.42.*,>=0.32.0 (from kubernetes>1.0.0->rally-openstack==1.0.0) (from versions: 0.40.0)
No matching distribution found for websocket-client!=0.40.0,!=0.41.*,!=0.42.*,>=0.32.0 (from kubernetes>1.0.0->rally-openstack==1.0.0)

Strangely, pip cannot find anything but le 0.40.0 release for websocket-client.
There are more (last is 0.48.0), as you can see here :
https://pypi.org/project/websocket-client/#history

I cannot install 0.48.0 manually :
(rally-17.0.6) root@fidcllabs-oct-02-utility-container-d49781cc:~# pip install websocket-client==0.48.0
Collecting websocket-client==0.48.0
  Could not find a version that satisfies the requirement websocket-client==0.48.0 (from versions: 0.40.0)
No matching distribution found for websocket-client==0.48.0

Problem with the local pip cache/repo ?