<div dir="ltr"><p style="font-size:12.8px;margin-bottom:0in;line-height:12.8px">Hi all,</p><p style="font-size:12.8px;margin-bottom:0in;line-height:12.8px">Context:<br>openstact-ansible newton, tag: 14.0.1<br>OS: ubuntu 16.04 LTS</p><p style="font-size:12.8px;margin-bottom:0in;line-height:12.8px">the pip command is unable to download packages form the repo container. I can reach the repo container from within galera container through the port 8181:</p><p style="font-size:12.8px;margin-bottom:0in;line-height:12.8px"><b>root@node01:~# lxc-attach -n node01_galera_container-<wbr>368f269a<br>root@node01-galera-container-<wbr>368f269a:~# nc -nzv 172.16.1.2 8181<br>Connection to 172.16.1.2 8181 port [tcp/*] succeeded!</b></p><p style="font-size:12.8px;margin-bottom:0in;line-height:12.8px">However, when i run galera-install.yml playbook it throws the following error (but the root cause is pip_install role)  :<br><b>root@maas:/opt/openstack-<wbr>ansible/playbooks# openstack-ansible galera-install.yml</b><br>………...........................<wbr>..............................<wbr>.....................<br><b>TASK [pip_install : Install pip packages (fall back mode)] *********************<br>FAILED - RETRYING: TASK: pip_install : Install pip packages (fall back mode) (5 retries left).<br>FAILED - RETRYING: TASK: pip_install : Install pip packages (fall back mode) (4 retries left).<br>FAILED - RETRYING: TASK: pip_install : Install pip packages (fall back mode) (3 retries left).<br>FAILED - RETRYING: TASK: pip_install : Install pip packages (fall back mode) (2 retries left).<br>FAILED - RETRYING: TASK: pip_install : Install pip packages (fall back mode) (1 retries left).fatal: [node01_galera_container-<wbr>368f269a]: FAILED! => {"changed": false, "cmd": "/usr/local/bin/pip install -U --isolated --constraint <a href="http://172.16.1.2:8181/os-releases/14.0.1/requirements_constraints.txt" target="_blank">http://172.16.1.2:8181/os-<wbr>releases/14.0.1/requirements_<wbr>constraints.txt</a>  ndg-httpsclient requests", "failed": true, "msg": "\n:stderr: Retrying (Retry(total=4, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', BadStatusLine(\"''\",))': /os-releases/14.0.1/<wbr>requirements_constraints.txt\<wbr>nRetrying (Retry(total=3, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', BadStatusLine(\"''\",))': /os-releases/14.0.1/<wbr>requirements_constraints.txt\<wbr>nRetrying (Retry(total=2, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', BadStatusLine(\"''\",))': /os-releases/14.0.1/<wbr>requirements_constraints.txt\<wbr>nRetrying (Retry(total=1, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', BadStatusLine(\"''\",))': /os-releases/14.0.1/<wbr>requirements_constraints.txt\<wbr>nRetrying (Retry(total=0, connect=None, read=None, redirect=None)) after connection broken by 'ProtocolError('Connection aborted.', BadStatusLine(\"''\",))': /os-releases/14.0.1/<wbr>requirements_constraints.txt\<wbr>nException:\nTraceback (most recent call last):\n  File \"/usr/local/lib/python2.7/<wbr>dist-packages/pip/basecommand.<wbr>py\", line 215, in main\n    status = self.run(options, args)\n  File \"/usr/local/lib/python2.7/<wbr>dist-packages/pip/commands/<wbr>install.py\", line 287, in run\n    wheel_cache\n  File \"/usr/local/lib/python2.7/<wbr>dist-packages/pip/basecommand.<wbr>py\", line 269, in populate_requirement_set\n    session=session, wheel_cache=wheel_cache):\n  File \"/usr/local/lib/python2.7/<wbr>dist-packages/pip/req/req_<wbr>file.py\", line 84, in parse_requirements\n    filename, comes_from=comes_from, session=session\n  File \"/usr/local/lib/python2.7/<wbr>dist-packages/pip/download.py\<wbr>", line 409, in get_file_content\n    resp = session.get(url)\n  File \"/usr/local/lib/python2.7/<wbr>dist-packages/pip/_vendor/<wbr>requests/sessions.py\", line 487, in get\n    return self.request('GET', url, **kwargs)\n  File \"/usr/local/lib/python2.7/<wbr>dist-packages/pip/download.py\<wbr>", line 378, in request\n    return super(PipSession, self).request(method, url, *args, **kwargs)\n  File \"/usr/local/lib/python2.7/<wbr>dist-packages/pip/_vendor/<wbr>requests/sessions.py\", line 475, in request\n    resp = self.send(prep, **send_kwargs)\n  File \"/usr/local/lib/python2.7/<wbr>dist-packages/pip/_vendor/<wbr>requests/sessions.py\", line 585, in send\n    r = adapter.send(request, **kwargs)\n  File \"/usr/local/lib/python2.7/<wbr>dist-packages/pip/_vendor/<wbr>requests/adapters.py\", line 467, in send\n    raise ConnectionError(e, request=request)\<wbr>nConnectionError: HTTPConnectionPool(host='172.<wbr>16.1.2', port=8181): Max retries exceeded with url: /os-releases/14.0.1/<wbr>requirements_constraints.txt (Caused by ProtocolError('Connection aborted.', BadStatusLine(\"''\",)))\nYou are using pip version 8.1.2, however version 9.0.1 is available.\nYou should consider upgrading via the 'pip install --upgrade pip' command.\n"}</b></p><div style="font-size:12.8px"><br></div><p style="font-size:12.8px;margin-bottom:0in;line-height:12.8px">Please advice on what i am doing wrong. I am stuck :)</p><p style="font-size:12.8px;margin-bottom:0in;line-height:12.8px">Thank you,<br>Hamza</p></div>