<html><body>
    <br />
    <br />
   Hello everyone,<BR>
<BR>
Context:<BR>
openstact-ansible: stable/newton<BR>
OS: ubuntu 16.04 LTS<BR>
<BR>
I am having trouble completing my deployment due to pip errors.<BR>
<BR>
I have a 2 node setup and one separate deployment node. One of the nodes I am using to host all controller, network and storage functions and another as a compute. Repo container with the server is also hosted on the controller node. I already ran into similar problems as Achi Hamza who already reported pip issue on the Thu Nov 17 08:34:14 UTC 2016 in this mailing list.<BR>
<BR>
This is how my openstack_user_config.yml file looks like (as in Hamza's case internal and external addresses are the same):<BR>
<BR>
global_overrides:<BR>
  internal_lb_vip_address: 172.21.51.152<BR>
  external_lb_vip_address: 172.21.51.152 <...><BR>
<BR>
The recommendation that he got from another users were to set:<BR>
<BR>
openstack_service_publicuri_proto: http<BR>
openstack_external_ssl: false<BR>
haproxy_ssl: false<BR>
<BR>
in /etc/openstack_deploy/user_vriables.yml<BR>
<BR>
These recommendations helped in my case as well and I was able to advance further until I faced another pip issues in the same playbook.<BR>
<BR>
My current problem is that neither of containers can install pip packages from the repository.<BR>
<BR>
TASK [galera_client : Install pip packages] ************************************<BR>
FAILED - RETRYING: TASK: galera_client : Install pip packages (5 retries left).<BR>
FAILED - RETRYING: TASK: galera_client : Install pip packages (4 retries left).<BR>
FAILED - RETRYING: TASK: galera_client : Install pip packages (3 retries left).<BR>
FAILED - RETRYING: TASK: galera_client : Install pip packages (2 retries left).<BR>
FAILED - RETRYING: TASK: galera_client : Install pip packages (1 retries left).<BR>
fatal: [control1_galera_container-434df170]: FAILED! => {"changed": false, "cmd": "/usr/local/bin/pip install -U --constraint <a href="http://172.21.51.152:8181/os-releases/14.0.7/requirements_absolute_requirements.txt" target="_blank">http://172.21.51.152:8181/os-releases/14.0.7/requirements_absolute_requirements.txt</a>  MySQL-python", "failed": true, "msg": "stdout: Collecting mysql_python==1.2.5 (from -c <a href="http://172.21.51.152:8181/os-releases/14.0.7/requirements_absolute_requirements.txt" target="_blank">http://172.21.51.152:8181/os-releases/14.0.7/requirements_absolute_requirements.txt</a> (line 81))\n\n:stderr:   Could not find a version that satisfies the requirement mysql_python==1.2.5 (from -c <a href="http://172.21.51.152:8181/os-releases/14.0.7/requirements_absolute_requirements.txt" target="_blank">http://172.21.51.152:8181/os-releases/14.0.7/requirements_absolute_requirements.txt</a> (line 81)) (from versions: )\nNo matching distribution found for mysql_python==1.2.5 (from -c <a href="http://172.21.51.152:8181/os-releases/14.0.7/requirements_absolute_requirements.txt" target="_blank">http://172.21.51.152:8181/os-releases/14.0.7/requirements_absolute_requirements.txt</a> (line 81))\n"}<BR>
<BR>
I already checked everything related to the HAproxy and tcpdumped on the repo side to see what requests are coming when pip install is called.<BR>
<BR>
I found that there was a HTTP GET to the URL <a href="http://172.21.51.152:8181/os-releases/14.0.7/" target="_blank">http://172.21.51.152:8181/os-releases/14.0.7/</a><BR>
<BR>
I saw that it was forwarded by the proxy to the repo server and that repo server returned index.html from /var/www/repo/os-releases/14.0.7/<BR>
<BR>
ls /var/www/repo/os-releases/14.0.7/ | grep index index.html<BR>
index.html.1<BR>
index.html.2<BR>
<BR>
I also checked that MySQL-python is in the repo:<BR>
<BR>
root@control1-repo-container-dad60ff0:~# ls /var/www/repo/os-releases/14.0.7/ | grep mysql_python mysql_python-1.2.5-cp27-cp27mu-linux_x86_64.whl<BR>
<BR>
But for some reason pip can't figure out it is there.<BR>
<BR>
I very much appreciate your help in solving this issue.<BR>
<BR>
Best regards,<BR>
Danil<BR>
<BR>
<BR>
Danil Zhigalin<BR>
Technical Consultant<BR>
Tel: +49 211 1717 1260<BR>
Mob: +49 174 151 8457<BR>
<a href="mailto:danil.zhigalin@dimensiondata.com">danil.zhigalin@dimensiondata.com</a><BR>
<BR>
Derendorfer Allee 26, Düsseldorf, North Rhine-Westphalia, 40476, Germany.<BR>
<BR>
For more information, please go to <a href="http://www.dimensiondata.com" target="_blank">www.dimensiondata.com</a><BR>
<BR>
Dimension Data Germany AG & Co.KG, Horexstraße 7, 61352 Bad Homburg<BR>
Sitz: Bad Homburg, Amtsgericht Bad Homburg, HRA 3207<BR>
Pers. Haftende Ges : Dimension Data Verwaltungs AG, Sitz Bad Homburg.<BR>
Amtsgericht Bad Homburg, HRB 6172<BR>
Vorstand: Roberto Del Corno<BR>
Vors. des Aufsichtsrats: Andrew Coulsen.<BR>


<br />
<br />

<font>
This email and all contents are subject to the following disclaimer:<br />

<a href="http://www.dimensiondata.com/Global/Policies/Pages/Email-Disclaimer.aspx" target="_blank">"http://www.dimensiondata.com/emaildisclaimer"</a>


</font>    
<font color="white"></font>
    
</body></html>