undercloud vm build fails during pip install os-apply-config
While trying to setup TripleO using the available documentation (https://github.com/tripleo/incubator/blob/master/devtest.md) getting stuck at the step of creating undercloud image.
Step #21: (When reporting this bug)
$TRIPLEO_ROOT/diskimage-builder/bin/disk-image-create ubuntu \
-a i386 -o undercloud boot-stack nova-baremetal heat-localip \
heat-cfntools stackuser
I see the following error message:
-----------------------------------------------------------------------------------
+ pip install -U os-apply-config
Downloading/unpacking os-apply-config
Downloading os-apply-config-0.0.1.tar.gz
Running setup.py egg_info for package os-apply-config
Download error on
https://pypi.python.org/simple/pbr/: [Errno 1] _ssl.c:504: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol -- Some packages may not be found!
Couldn't find index page for 'pbr' (maybe misspelled?)
Download error on
https://pypi.python.org/simple/: [Errno 1] _ssl.c:504: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol -- Some packages may not be found!
No local packages or download links found for pbr
-----------------------------------------------------------------------------------
Note: I have the set the http_proxy and https_proxy in my system.
One observation from the logs is that every time it tries for a module in pypi.python.org in all the instances it tries with http://pypi.python.org/simple and only in case of installing the dependencies for os-apply-config it tries with https://pypi.python.org/simple/ (HTTPS url) and fails.
However there are instances of other HTTPS urls which goes through fine
Downloading/unpacking distribute from https://pypi.python.org/packages/source/d/distribute/distribute-0.7.3.zip#md5=c6c59594a7b180af57af8a0cc0cf5b4a
Downloading https://pypi.python.org/packages/source/d/d2to1/d2to1-0.2.10.tar.gz#md5=be97f5330bae3206e1555b58dae23848
Downloading https://pypi.python.org/packages/source/s/setuptools-git/setuptools-git-1.0.tar.gz#md5=de63b541a10c2b83caa478c687458b16
Downloading https://pypi.python.org/packages/source/d/d2to1/d2to1-0.2.10.tar.gz#md5=be97f5330bae3206e1555b58dae23848
Downloading https://pypi.python.org/packages/source/s/setuptools-git/setuptools-git-1.0.tar.gz#md5=de63b541a10c2b83caa478c687458b16
Downloading https://pypi.python.org/packages/source/d/d2to1/d2to1-0.2.10.tar.gz#md5=be97f5330bae3206e1555b58dae23848
Downloading https://pypi.python.org/packages/source/s/setuptools-git/setuptools-git-1.0.tar.gz#md5=de63b541a10c2b83caa478c687458b16
Download error on https://pypi.python.org/simple/pbr/: [Errno 1] _ssl.c:504: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol -- Some packages may not be found!
Download error on https://pypi.python.org/simple/: [Errno 1] _ssl.c:504: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol -- Some packages may not be found!
Download error on https://pypi.python.org/simple/pbr/: [Errno 1] _ssl.c:504: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol -- Some packages may not be found!
Download error on https://pypi.python.org/simple/: [Errno 1] _ssl.c:504: error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol -- Some packages may not be found!
We're going to get a local pip cache in place to mitigate this, but the underlying issue is probably a pip client glitch of some sort