[OpenStack-Infra] urllib3 import problem

Carmine Annunziata carmine.annunziata02 at gmail.com
Tue Feb 14 16:53:21 UTC 2017


Hi,
I upgraded ubuntu 14.04 to 16.04 LTS and now during the ./stack.sh i got
this problem.
I upgraded with:
sudo pip install urllib3 --upgrade
but the problem is still there:

2017-02-14 15:54:40.894 | Traceback (most recent call last):
2017-02-14 15:54:40.894 |   File "/opt/stack/requirements/.venv/bin/pip",
line 7, in <module>
2017-02-14 15:54:40.894 |     from pip import main
2017-02-14 15:54:40.894 |   File "/opt/stack/requirements/.venv
/local/lib/python2.7/site-packages/pip/__init__.py", line 21, in <module>
2017-02-14 15:54:40.895 |     from
pip._vendor.requests.packages.urllib3.exceptions
import DependencyWarning
2017-02-14 15:54:40.895 |   File "/opt/stack/requirements/.venv
/local/lib/python2.7/site-packages/pip/_vendor/requests/__init__.py", line
62, in <module>
2017-02-14 15:54:40.895 |     from .packages.urllib3.exceptions import
DependencyWarning
2017-02-14 15:54:40.895 |   File "/opt/stack/requirements/.venv
/local/lib/python2.7/site-packages/pip/_vendor/requests/packages/__init__.py",
line 29, in <module>
2017-02-14 15:54:40.895 |     import urllib3
2017-02-14 15:54:40.895 | ImportError: No module named urllib3
2017-02-14 15:54:40.904 | +inc/python:pip_install:1
exit_trap
2017-02-14 15:54:40.908 | +./stack.sh:exit_trap:487                  local
r=1
2017-02-14 15:54:40.924 | ++./stack.sh:exit_trap:488                  jobs
-p
2017-02-14 15:54:40.935 | +./stack.sh:exit_trap:488                  jobs=
2017-02-14 15:54:40.948 | +./stack.sh:exit_trap:491                  [[ -n
'' ]]
2017-02-14 15:54:40.952 | +./stack.sh:exit_trap:497
kill_spinner
2017-02-14 15:54:40.967 | +./stack.sh:kill_spinner:383               '['
'!' -z '' ']'
2017-02-14 15:54:40.982 | +./stack.sh:exit_trap:499                  [[ 1
-ne 0 ]]
2017-02-14 15:54:40.998 | +./stack.sh:exit_trap:500                  echo
'Error on exit'
2017-02-14 15:54:40.999 | Error on exit
2017-02-14 15:54:41.002 | +./stack.sh:exit_trap:501
generate-subunit 1487087613 67 fail
2017-02-14 15:54:41.817 | +./stack.sh:exit_trap:502                  [[ -z
/opt/stack/logs ]]
2017-02-14 15:54:41.821 | +./stack.sh:exit_trap:505
/home/stack/devstack/tools/worlddump.py -d /opt/stack/logs
2017-02-14 15:54:43.088 | +./stack.sh:exit_trap:511                  exit 1
stack at coritel-VirtualBox:~/devstack$ sudo gedit
/opt/stack/requirements/.venv/local/lib/python2.7/site-packa
ges/pip/_vendor/requests/packages/__init__.py


thank you,
Carmine
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-infra/attachments/20170214/fb08d896/attachment.html>


More information about the OpenStack-Infra mailing list