<div dir="ltr">Hi <span style="font-family:calibri;font-size:14.6667px">Jesse and </span><span style="font-family:calibri;font-size:11pt">Jean-Philippe,</span><div><font face="calibri"><span style="font-size:14.6667px"><br></span></font></div><div><font face="calibri"><span style="font-size:14.6667px">Thank you both for your responses.</span></font></div><div><font face="calibri"><span style="font-size:14.6667px"><br></span></font></div><div><font face="calibri"><span style="font-size:14.6667px">@Jesse</span></font></div><div><font face="calibri"><span style="font-size:14.6667px">I am just having one node for the infra and one repo, for now:</span></font></div><div><font face="calibri"><span style="font-size:14.6667px"><br></span></font></div><div><font face="calibri"><span style="font-size:14.6667px"> root@maas:/opt/openstack-ansible/playbooks# ansible repo_all -m shell -a "du -sh /var/www/repo/*"</span><div><span style="font-size:14.6667px">Variable files: "-e @/etc/openstack_deploy/user_secrets.yml -e @/etc/openstack_deploy/user_variables.yml "</span></div><div><span style="font-size:14.6667px">node01_repo_container-82b4e1f6 | SUCCESS | rc=0 >></span></div><div><span style="font-size:14.6667px">900K<span class="gmail-Apple-tab-span" style="white-space:pre">    </span>/var/www/repo/links</span></div><div><span style="font-size:14.6667px">656M<span class="gmail-Apple-tab-span" style="white-space:pre"> </span>/var/www/repo/openstackgit</span></div><div><span style="font-size:14.6667px">964K<span class="gmail-Apple-tab-span" style="white-space:pre">  </span>/var/www/repo/os-releases</span></div><div><span style="font-size:14.6667px">4.0K<span class="gmail-Apple-tab-span" style="white-space:pre">   </span>/var/www/repo/pkg-cache</span></div><div><span style="font-size:14.6667px">105M<span class="gmail-Apple-tab-span" style="white-space:pre">     </span>/var/www/repo/pools</span></div><div><span style="font-size:14.6667px">273M<span class="gmail-Apple-tab-span" style="white-space:pre"> </span>/var/www/repo/venvs</span></div><div><span style="font-size:14.6667px"><br></span></div><div><span style="font-size:14.6667px">@</span><span style="font-size:14.6667px">Jean-Philippe</span></div><div><span style="font-size:14.6667px">Yes, i am using haproxy. I cannot wget the <a href="http://172.16.1.2:8181/os-releases/14.0.1/requirements_constraints.txt">http://172.16.1.2:8181/os-releases/14.0.1/requirements_constraints.txt</a> file neither form the bare metal node nor from within the container:</span></div><div><span style="font-size:14.6667px"><br></span></div><div><div><span style="font-size:14.6667px">root@node01-galera-container-368f269a:~# wget -c <a href="http://172.16.1.2:8181/os-releases/14.0.1/requirements_constraints.txt">http://172.16.1.2:8181/os-releases/14.0.1/requirements_constraints.txt</a> </span></div><div><span style="font-size:14.6667px">--2016-11-17 09:53:19--  <a href="http://172.16.1.2:8181/os-releases/14.0.1/requirements_constraints.txt">http://172.16.1.2:8181/os-releases/14.0.1/requirements_constraints.txt</a></span></div><div><span style="font-size:14.6667px">Connecting to 172.16.1.2:8181... connected.</span></div><div><span style="font-size:14.6667px">HTTP request sent, awaiting response... No data received.</span></div><div><span style="font-size:14.6667px">Retrying.</span></div><div><span style="font-size:14.6667px">--2016-11-17 09:53:20--  (try: 2)  <a href="http://172.16.1.2:8181/os-releases/14.0.1/requirements_constraints.txt">http://172.16.1.2:8181/os-releases/14.0.1/requirements_constraints.txt</a></span></div><div><span style="font-size:14.6667px">Connecting to 172.16.1.2:8181... connected.</span></div><div><span style="font-size:14.6667px">HTTP request sent, awaiting response... No data received.</span></div><div><span style="font-size:14.6667px">Retrying.</span></div><div><span style="font-size:14.6667px">--2016-11-17 09:53:22--  (try: 3)  <a href="http://172.16.1.2:8181/os-releases/14.0.1/requirements_constraints.txt">http://172.16.1.2:8181/os-releases/14.0.1/requirements_constraints.txt</a></span></div><div><span style="font-size:14.6667px">Connecting to 172.16.1.2:8181... connected.</span></div><div><span style="font-size:14.6667px">HTTP request sent, awaiting response... No data received.</span></div><div><span style="font-size:14.6667px">Retrying.</span></div><div><span style="font-size:14.6667px"><br></span></div><div><span style="font-size:14.6667px">I attached my haproxy.conf file, can you please check it ? If the problem persists i will pop into the irc channel.</span></div><div><span style="font-size:14.6667px"><br></span></div><div><span style="font-size:14.6667px">Thank you,</span></div><div><span style="font-size:14.6667px">Hamza</span></div><div style="font-size:14.6667px"><br></div></div><div><span style="font-size:14.6667px"><br></span></div><div><span style="font-size:14.6667px"><br></span></div></font><font face="calibri"><div><br></div></font><p class="MsoNormal" style="margin-right:0in;margin-left:0in;font-size:12pt;font-family:"times new roman""><span lang="EN-US" style="font-size:11pt;font-family:calibri"><u></u><u></u></span></p><div><span style="font-family:calibri;font-size:11pt"><br></span></div></div></div><div class="gmail_extra"><br><div class="gmail_quote">On 17 November 2016 at 10:10, Jean-Philippe Evrard <span dir="ltr"><<a href="mailto:Jean-Philippe.Evrard@rackspace.co.uk" target="_blank">Jean-Philippe.Evrard@rackspace.co.uk</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">







<div bgcolor="white" lang="EN-GB" link="blue" vlink="purple">
<div class="m_7238548727922716684WordSection1">
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:Calibri">Hello,
<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:Calibri"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:Calibri">Is this a greenfield newton?<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:Calibri">Could you wget your <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>  file reliably?
<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:Calibri">Are you using haproxy?  Are all the backends OK there?<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:Calibri"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:Calibri">Don’t hesitate to come by our irc channel, it’s probably easier to have a conversation there.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:Calibri"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:Calibri">Best regards,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:Calibri">Jean-Philippe
<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US" style="font-size:11.0pt;font-family:Calibri"><u></u> <u></u></span></p>
<div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-family:Calibri;color:black">From: </span>
</b><span style="font-family:Calibri;color:black">Achi Hamza <<a href="mailto:h16mara@gmail.com" target="_blank">h16mara@gmail.com</a>><br>
<b>Reply-To: </b>"OpenStack Development Mailing List (not for usage questions)" <<a href="mailto:openstack-dev@lists.openstack.org" target="_blank">openstack-dev@lists.<wbr>openstack.org</a>><br>
<b>Date: </b>Thursday, 17 November 2016 at 08:56<br>
<b>To: </b>"<a href="mailto:openstack-dev@lists.openstack.org" target="_blank">openstack-dev@lists.<wbr>openstack.org</a>" <<a href="mailto:openstack-dev@lists.openstack.org" target="_blank">openstack-dev@lists.<wbr>openstack.org</a>><br>
<b>Subject: </b>[openstack-dev] [openstack-ansible] pip issues<u></u><u></u></span></p>
</div><div><div class="h5">
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p style="margin-bottom:0in;margin-bottom:.0001pt;line-height:9.6pt"><span style="font-size:9.5pt">Hi all,<u></u><u></u></span></p>
<p style="margin-bottom:0in;margin-bottom:.0001pt;line-height:9.6pt"><span style="font-size:9.5pt">Context:<br>
openstact-ansible newton, tag: 14.0.1<br>
OS: ubuntu 16.04 LTS<u></u><u></u></span></p>
<p style="margin-bottom:0in;margin-bottom:.0001pt;line-height:9.6pt"><span style="font-size:9.5pt">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:<u></u><u></u></span></p>
<p style="margin-bottom:0in;margin-bottom:.0001pt;line-height:9.6pt"><b><span style="font-size:9.5pt">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!</span></b><span style="font-size:9.5pt"><u></u><u></u></span></p>
<p style="margin-bottom:0in;margin-bottom:.0001pt;line-height:9.6pt"><span style="font-size:9.5pt">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.<wbr>2:8181/os-releases/14.0.1/<wbr>requirements_constraints.txt</a>  <wbr>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><u></u><u></u></span></p>
<div>
<p class="MsoNormal"><span style="font-size:9.5pt"><u></u> <u></u></span></p>
</div>
<p style="margin-bottom:0in;margin-bottom:.0001pt;line-height:9.6pt"><span style="font-size:9.5pt">Please advice on what i am doing wrong. I am stuck :)<u></u><u></u></span></p>
<p style="margin-bottom:0in;margin-bottom:.0001pt;line-height:9.6pt"><span style="font-size:9.5pt">Thank you,<br>
Hamza<u></u><u></u></span></p>
</div>
</div></div></div>
   
<span class=""><hr>
Rackspace Limited is a company registered in England & Wales (company registered number 03897010) whose registered office is at 5 Millington Road, Hyde Park Hayes, Middlesex UB3 4AZ. Rackspace Limited privacy policy can be viewed at <a href="http://www.rackspace.co.uk/legal/privacy-policy" target="_blank">www.rackspace.co.uk/legal/<wbr>privacy-policy</a>
 - This e-mail message may contain confidential or privileged information intended for the recipient. Any dissemination, distribution or copying of the enclosed material is prohibited. If you receive this transmission in error, please notify us immediately
 by e-mail at <a href="mailto:abuse@rackspace.com" target="_blank">abuse@rackspace.com</a> and delete the original message. Your cooperation is appreciated.
</span></div>

<br>______________________________<wbr>______________________________<wbr>______________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.<wbr>openstack.org?subject:<wbr>unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/<wbr>cgi-bin/mailman/listinfo/<wbr>openstack-dev</a><br>
<br></blockquote></div><br></div>