openstack client commands failed right after horizon test-requirements were installed. ubuntu@test3:~$ ubuntu@test3:~$ ubuntu@test3:~$ openstack (openstack) quit ubuntu@test3:~$ ubuntu@test3:~$ ubuntu@test3:~$ ubuntu@test3:~$ ubuntu@test3:~$ ubuntu@test3:~$ ubuntu@test3:~$ ubuntu@test3:~$ ubuntu@test3:~$ sudo pip install -c requirements/upper-constraints.txt -r horizon/test-requirements.txt sudo: unable to resolve host test3 The directory '/home/ubuntu/.cache/pip/http' or its parent directory is not owned by the current user and the cache has been disabled. Please check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. The directory '/home/ubuntu/.cache/pip' or its parent directory is not owned by the current user and caching wheels has been disabled. check the permissions and owner of that directory. If executing pip with sudo, you may want sudo's -H flag. Ignoring dnspython3: markers 'python_version == "3.4"' don't match your environment Collecting Sphinx===1.2.3 (from -c requirements/upper-constraints.txt (line 25)) /usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#snimissingwarning. SNIMissingWarning /usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning. InsecurePlatformWarning Downloading Sphinx-1.2.3-py2-none-any.whl (1.9MB) 100% |████████████████████████████████| 1.9MB 400kB/s Collecting coverage===4.0.3 (from -c requirements/upper-constraints.txt (line 94)) Downloading coverage-4.0.3.tar.gz (354kB) 100% |████████████████████████████████| 358kB 2.2MB/s Collecting django-nose===1.4.3 (from -c requirements/upper-constraints.txt (line 110)) Downloading django_nose-1.4.3-py2.py3-none-any.whl Collecting docutils===0.12 (from -c requirements/upper-constraints.txt (line 117)) Downloading docutils-0.12.tar.gz (1.6MB) 100% |████████████████████████████████| 1.6MB 513kB/s Collecting mock===1.3.0 (from -c requirements/upper-constraints.txt (line 177)) Downloading mock-1.3.0-py2.py3-none-any.whl (56kB) 100% |████████████████████████████████| 61kB 6.2MB/s Collecting mox3===0.14.0 (from -c requirements/upper-constraints.txt (line 180)) Downloading mox3-0.14.0-py2.py3-none-any.whl (40kB) 100% |████████████████████████████████| 40kB 6.0MB/s Collecting nodeenv===0.13.6 (from -c requirements/upper-constraints.txt (line 187)) Downloading nodeenv-0.13.6.tar.gz Collecting nose===1.3.7 (from -c requirements/upper-constraints.txt (line 188)) Downloading nose-1.3.7-py2-none-any.whl (154kB) 100% |████████████████████████████████| 163kB 4.4MB/s Collecting nose-exclude===0.4.1 (from -c requirements/upper-constraints.txt (line 189)) Downloading nose-exclude-0.4.1.tar.gz Collecting nosehtmloutput===0.0.5 (from -c requirements/upper-constraints.txt (line 190)) Downloading nosehtmloutput-0.0.5.tar.gz Collecting nosexcover===1.0.10 (from -c requirements/upper-constraints.txt (line 191)) Downloading nosexcover-1.0.10.tar.gz Collecting openstack.nose-plugin===0.11 (from -c requirements/upper-constraints.txt (line 197)) Downloading openstack.nose_plugin-0.11.tar.gz Collecting oslosphinx===4.3.0 (from -c requirements/upper-constraints.txt (line 228)) Downloading oslosphinx-4.3.0-py2.py3-none-any.whl Requirement already satisfied: pbr===1.8.1 in /usr/local/lib/python2.7/dist-packages (from -c requirements/upper-constraints.txt (line 238)) Requirement already satisfied: requests===2.9.1 in /usr/local/lib/python2.7/dist-packages (from -c requirements/upper-constraints.txt (line 317)) Collecting selenium===2.52.0 (from -c requirements/upper-constraints.txt (line 330)) Downloading selenium-2.52.0.tar.gz (809kB) 100% |████████████████████████████████| 819kB 1.0MB/s Requirement already satisfied: six===1.10.0 in /usr/local/lib/python2.7/dist-packages (from -c requirements/upper-constraints.txt (line 337)) Collecting termcolor===1.1.0 (from -c requirements/upper-constraints.txt (line 352)) Downloading termcolor-1.1.0.tar.gz Collecting testtools===2.0.0 (from -c requirements/upper-constraints.txt (line 356)) Downloading testtools-2.0.0-py2.py3-none-any.whl (176kB) 100% |████████████████████████████████| 184kB 4.1MB/s Collecting traceback2===1.4.0 (from -c requirements/upper-constraints.txt (line 363)) Downloading traceback2-1.4.0-py2.py3-none-any.whl Collecting unittest2===1.1.0 (from -c requirements/upper-constraints.txt (line 369)) Downloading unittest2-1.1.0-py2.py3-none-any.whl (96kB) 100% |████████████████████████████████| 102kB 6.8MB/s Collecting xvfbwrapper===0.2.8 (from -c requirements/upper-constraints.txt (line 386)) Downloading xvfbwrapper-0.2.8.tar.gz Collecting hacking<0.11,>=0.10.0 (from -r horizon/test-requirements.txt (line 10)) Downloading hacking-0.10.2-py2.py3-none-any.whl Collecting reno>=0.1.1 (from -r horizon/test-requirements.txt (line 23)) Downloading reno-1.9.0-py2-none-any.whl Collecting Pygments===2.1.3 (from -c requirements/upper-constraints.txt (line 21)) Downloading Pygments-2.1.3-py2.py3-none-any.whl (755kB) 100% |████████████████████████████████| 757kB 1.1MB/s Collecting Jinja2===2.8 (from -c requirements/upper-constraints.txt (line 7)) Downloading Jinja2-2.8-py2.py3-none-any.whl (263kB) 100% |████████████████████████████████| 266kB 3.4MB/s Requirement already satisfied: funcsigs===0.4 in /usr/local/lib/python2.7/dist-packages (from -c requirements/upper-constraints.txt (line 133)) Collecting fixtures===1.4.0 (from -c requirements/upper-constraints.txt (line 129)) Downloading fixtures-1.4.0-py2.py3-none-any.whl (64kB) 100% |████████████████████████████████| 71kB 7.0MB/s Collecting colorama===0.3.6 (from -c requirements/upper-constraints.txt (line 92)) Downloading colorama-0.3.6-py2.py3-none-any.whl Collecting python-mimeparse===1.5.1 (from -c requirements/upper-constraints.txt (line 293)) Downloading python-mimeparse-1.5.1.tar.gz Collecting pyrsistent===0.11.12 (from -c requirements/upper-constraints.txt (line 269)) Downloading pyrsistent-0.11.12.tar.gz (88kB) 100% |████████████████████████████████| 92kB 5.7MB/s Collecting extras===0.0.3 (from -c requirements/upper-constraints.txt (line 124)) Downloading extras-0.0.3.tar.gz Collecting linecache2===1.0.0 (from -c requirements/upper-constraints.txt (line 172)) Downloading linecache2-1.0.0-py2.py3-none-any.whl Requirement already satisfied: argparse in /usr/lib/python2.7 (from unittest2===1.1.0->-c requirements/upper-constraints.txt (line 369)) Collecting pep8==1.5.7 (from hacking<0.11,>=0.10.0->-r horizon/test-requirements.txt (line 10)) Downloading pep8-1.5.7-py2.py3-none-any.whl Collecting pyflakes==0.8.1 (from hacking<0.11,>=0.10.0->-r horizon/test-requirements.txt (line 10)) Downloading pyflakes-0.8.1-py2.py3-none-any.whl Collecting flake8==2.2.4 (from hacking<0.11,>=0.10.0->-r horizon/test-requirements.txt (line 10)) Downloading flake8-2.2.4.tar.gz Collecting mccabe==0.2.1 (from hacking<0.11,>=0.10.0->-r horizon/test-requirements.txt (line 10)) Downloading mccabe-0.2.1.tar.gz Requirement already satisfied: PyYAML===3.11 in /usr/local/lib/python2.7/dist-packages (from -c requirements/upper-constraints.txt (line 20)) Requirement already satisfied: Babel===2.2.0 in /usr/local/lib/python2.7/dist-packages (from -c requirements/upper-constraints.txt (line 2)) Collecting MarkupSafe===0.23 (from -c requirements/upper-constraints.txt (line 9)) Downloading MarkupSafe-0.23.tar.gz Requirement already satisfied: pytz===2015.7 in /usr/local/lib/python2.7/dist-packages (from -c requirements/upper-constraints.txt (line 309)) Installing collected packages: MarkupSafe, Jinja2, Pygments, docutils, Sphinx, colorama, coverage, nose, django-nose, extras, linecache2, traceback2, unittest2, python-mimeparse, pyrsistent, testtools, fixtures, mock, mox3, nodeenv, nose-exclude, nosehtmloutput, nosexcover, termcolor, openstack.nose-plugin, oslosphinx, selenium, xvfbwrapper, pep8, pyflakes, mccabe, flake8, hacking, reno Running setup.py install for MarkupSafe ... done Running setup.py install for docutils ... done Running setup.py install for coverage ... done Running setup.py install for extras ... done Running setup.py install for python-mimeparse ... done Running setup.py install for pyrsistent ... done Running setup.py install for nodeenv ... done Running setup.py install for nose-exclude ... done Running setup.py install for nosehtmloutput ... done Running setup.py install for nosexcover ... done Running setup.py install for termcolor ... done Running setup.py install for openstack.nose-plugin ... done Running setup.py install for selenium ... done Running setup.py install for xvfbwrapper ... done Running setup.py install for mccabe ... done Running setup.py install for flake8 ... done Successfully installed Jinja2-2.8 MarkupSafe-0.23 Pygments-2.1.3 Sphinx-1.2.3 colorama-0.3.6 coverage-4.0.3 django-nose-1.4.3 docutils-0.12 extras-0.0.3 fixtures-1.4.0 flake8-2.2.4 hacking-0.10.2 linecache2-1.0.0 mccabe-0.2.1 mock-1.3.0 mox3-0.14.0 nodeenv-0.13.6 nose-1.3.7 nose-exclude-0.4.1 nosehtmloutput-0.0.5 nosexcover-1.0.10 openstack.nose-plugin-0.11 oslosphinx-4.3.0 pep8-1.5.7 pyflakes-0.8.1 pyrsistent-0.11.12 python-mimeparse-1.5.1 reno-1.9.0 selenium-2.52.0 termcolor-1.1.0 testtools-2.0.0 traceback2-1.4.0 unittest2-1.1.0 xvfbwrapper-0.2.8 /usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see https://urllib3.readthedocs.io/en/latest/security.html#insecureplatformwarning. InsecurePlatformWarning ubuntu@test3:~$ ubuntu@test3:~$ ubuntu@test3:~$ ubuntu@test3:~$ openstack Traceback (most recent call last): File "/usr/local/bin/openstack", line 7, in from openstackclient.shell import main File "/usr/local/lib/python2.7/dist-packages/openstackclient/shell.py", line 32, in from openstackclient.common import clientmanager File "/usr/local/lib/python2.7/dist-packages/openstackclient/common/clientmanager.py", line 293, in 'openstack.cli.base', File "/usr/local/lib/python2.7/dist-packages/openstackclient/common/clientmanager.py", line 264, in get_plugin_modules __import__(ep.module_name) File "/usr/local/lib/python2.7/dist-packages/openstackclient/network/client.py", line 16, in from openstack import connection File "/usr/local/lib/python2.7/dist-packages/openstack/connection.py", line 68, in from openstack import session as _session File "/usr/local/lib/python2.7/dist-packages/openstack/session.py", line 29, in DEFAULT_USER_AGENT = "openstacksdk/%s" % openstack.__version__ AttributeError: 'module' object has no attribute '__version__' ubuntu@test3:~$