<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns:mv="http://macVmlSchemaUri" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Title" content="">
<meta name="Keywords" content="">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<!--[if !mso]><style>v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style><![endif]--><style><!--
/* Font Definitions */
@font-face
        {font-family:Arial;
        panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:PMingLiU;
        panose-1:2 2 5 0 0 0 0 0 0 0;}
@font-face
        {font-family:"Lucida Console";
        panose-1:2 11 6 9 4 5 4 2 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
p.msonormal0, li.msonormal0, div.msonormal0
        {mso-style-name:msonormal;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman";}
span.EmailStyle18
        {mso-style-type:personal;
        font-family:Arial;
        color:#1F497D;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:Calibri;
        color:windowtext;}
span.EmailStyle20
        {mso-style-type:personal;
        font-family:Arial;
        color:#1F497D;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
span.EmailStyle21
        {mso-style-type:personal;
        font-family:Arial;
        color:#1F497D;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
span.EmailStyle23
        {mso-style-type:personal-reply;
        font-family:Calibri;
        color:windowtext;}
span.msoIns
        {mso-style-type:export-only;
        mso-style-name:"";
        text-decoration:underline;
        color:teal;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style>
</head>
<body bgcolor="white" lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">Hmm, that is odd.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">OK, so to clarify some things:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">There should be no /os-releases/<tag>/links – but there should be a /links – both of these contain symbolic links to the /pools directory. The /links folder should contain symlinks for
 *<b>everything</b>* in the /pools/ folder, whereas the /os-releases/<tag>/links folder should container *<b>only</b>* the links to wheels that are necessary for that tag. The /links folder is used for building wheels/venvs and the os-releases folder is used
 when doing pip installs. The folder structure is similar to an Ubuntu repo and is designed to reduce space usage over many releases (there is only ever one file for one wheel version, even if used over multiple releases).<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">Also, the index file should be an autoindex produced by the web server. If not, then something is wonky.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">There is a known bug that was fixed recently and will be in the next tag release (this has been requested today and will likely release early next week):
<a href="https://github.com/openstack/openstack-ansible-repo_build/commit/db2ae5f7cacc3d85c126f56eaef9864d1f2354f7">
https://github.com/openstack/openstack-ansible-repo_build/commit/db2ae5f7cacc3d85c126f56eaef9864d1f2354f7</a><o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">This doesn’t seem to relate to your situation though.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">With the confirmation that your indexes are working properly again, can you paste a debug ansible output for the pip install that’s failing?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">Thanks,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">Jesse<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri">IRC: odyssey4me<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-left:.5in"><b><span style="font-family:Calibri;color:black">From:
</span></b><span style="font-family:Calibri;color:black">"Danil Zhigalin (Europe)" <Danil.Zhigalin@dimensiondata.com><br>
<b>Date: </b>Friday, February 17, 2017 at 10:26 AM<br>
<b>To: </b>Jesse Pretorius <Jesse.Pretorius@rackspace.co.uk>, "openstack-operators@lists.openstack.org" <openstack-operators@lists.openstack.org><br>
<b>Subject: </b>RE: [Openstack-operators] [openstack-ansible] pip problems with openstack-ansible deployment<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><o:p> </o:p></p>
</div>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:10.0pt;font-family:Arial;color:#1F497D">Jus to test this I changed index.html that is returned from
</span><span style="font-size:10.0pt;font-family:"Lucida Console""><a href="http://172.21.51.152:8181/os-releases/14.0.7/">http://172.21.51.152:8181/os-releases/14.0.7/</a> in the following way to include absolute paths there.</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:10.0pt;font-family:"Lucida Console""> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">curl http://172.21.51.152:8181/os-releases/14.0.7/</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""><html></span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""><head><title>Index of /</title></head></span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""><body bgcolor="white"></span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""><h1>Index of /</h1><hr><pre><a href="../">../</a></span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""><a href="/links/">/links/</a>                                             16-Feb-2017 11:03                   -</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""><a href="/openstackgit/">/openstackgit/</a>                                      16-Feb-2017 10:20                   -</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""><a href="/os-releases/">/os-releases/</a>                                       16-Feb-2017 10:17                   -</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""><a href="/pkg-cache/">/pkg-cache/</a>                                         16-Feb-2017 10:18                   -</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""><a href="/pools/">/pools/</a>                                             16-Feb-2017 10:28                   -</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""><a href="/venvs/">/venvs/</a>                                             16-Feb-2017 10:28                   -</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""></pre><hr></body></span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""></html></span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">Now links from this index.html work but pip still can’t locate the wheel there even though it is on the filesystem in this directory:</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">root@control1-repo-container-dad60ff0:~# ls /var/www/repo/os-releases/14.0.7 | grep mysql_</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console";color:#FF4040">mysql_</span><span style="font-size:10.0pt;font-family:"Lucida Console"">python-1.2.5-cp27-cp27mu-linux_x86_64.whl</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">Best regards,</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">Danil</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:10.0pt;font-family:Arial;color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:10.0pt;font-family:Arial;color:#1F497D"> </span><o:p></o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-left:.5in"><b><span style="font-size:11.0pt;font-family:Calibri">From:</span></b><span style="font-size:11.0pt;font-family:Calibri"> Danil Zhigalin (Europe)
<br>
<b>Sent:</b> 17 February 2017 11:04<br>
<b>To:</b> 'Jesse Pretorius' <Jesse.Pretorius@rackspace.co.uk>; openstack-operators@lists.openstack.org<br>
<b>Subject:</b> RE: [Openstack-operators] [openstack-ansible] pip problems with openstack-ansible deployment</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal" style="margin-left:.5in"> <o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:10.0pt;font-family:Arial;color:#1F497D">Hi Jesse,</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:10.0pt;font-family:Arial;color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:10.0pt;font-family:Arial;color:#1F497D">Thanks for your reply. To keep things straight during my test deployment I took only one control node. So there is only one repo container behind the
 load balancer. What I don’t really understand, is why this index.html is returned when in both cases, either if I address</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:10.0pt;font-family:Arial;color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:10.0pt;font-family:Arial;color:#1F497D"><a href="http://172.21.51.152:8181/">http://172.21.51.152:8181/</a></span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:10.0pt;font-family:Arial;color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">curl
<a href="http://172.21.51.152:8181/">http://172.21.51.152:8181/</a></span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""><html></span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""><head><title>Index of /</title></head></span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""><body bgcolor="white"></span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""><h1>Index of /</h1><hr><pre><a href="../">../</a></span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""><a href="links/">links/</a>                                             16-Feb-2017 13:27                   -</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""><a href="openstackgit/">openstackgit/</a>                                      16-Feb-2017 10:20                   -</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""><a href="os-releases/">os-releases/</a>                                       16-Feb-2017 10:17                   -</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""><a href="pkg-cache/">pkg-cache/</a>                                         17-Feb-2017 05:46                   -</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""><a href="pools/">pools/</a>                                             16-Feb-2017 10:28                   -</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""><a href="venvs/">venvs/</a>                                             16-Feb-2017 10:28                   -</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""></pre><hr></body></span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""></html></span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:10.0pt;font-family:Arial;color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:10.0pt;font-family:Arial;color:#1F497D">or</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:10.0pt;font-family:Arial;color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:10.0pt;font-family:Arial;color:#1F497D"><a href="http://172.21.51.152:8181/os-releases/14.0.7/">http://172.21.51.152:8181/os-releases/14.0.7/</a></span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:10.0pt;font-family:Arial;color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">curl
<a href="http://172.21.51.152:8181/os-releases/14.0.7/">http://172.21.51.152:8181/os-releases/14.0.7/</a></span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""><html></span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""><head><title>Index of /</title></head></span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""><body bgcolor="white"></span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""><h1>Index of /</h1><hr><pre><a href="../">../</a></span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""><a href="links/">links/</a>                                             16-Feb-2017 11:03                   -</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""><a href="openstackgit/">openstackgit/</a>                                      16-Feb-2017 10:20                   -</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""><a href="os-releases/">os-releases/</a>                                       16-Feb-2017 10:17                   -</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""><a href="pkg-cache/">pkg-cache/</a>                                         16-Feb-2017 10:18                   -</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""><a href="pools/">pools/</a>                                             16-Feb-2017 10:28                   -</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""><a href="venvs/">venvs/</a>                                             16-Feb-2017 10:28                   -</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""></pre><hr></body></span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""></html></span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:10.0pt;font-family:Arial;color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:10.0pt;font-family:Arial;color:#1F497D">In fact, none of the links are working in the second case, since they are considered relative to the /os-releases/14.0.7/:</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:10.0pt;font-family:Arial;color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">curl
<a href="http://172.21.51.152:8181/os-releases/14.0.7/links/">http://172.21.51.152:8181/os-releases/14.0.7/links/</a></span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""><html></span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""><head><title>404 Not Found</title></head></span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""><body bgcolor="white"></span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""><center><h1>404 Not Found</h1></center></span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""><hr><center>nginx/1.4.6 (Ubuntu)</center></span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""></body></span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""></html></span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:10.0pt;font-family:Arial;color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:10.0pt;font-family:Arial;color:#1F497D">Although in the ~/.pip/pip.conf I see the following:</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:10.0pt;font-family:Arial;color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">[global]</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">no-index = true</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">pre = True</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">timeout = 120</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">trusted-host =</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">        172.21.51.152</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console""> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">[install]</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">upgrade = True</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">find-links =</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in;text-autospace:none"><span style="font-size:10.0pt;font-family:"Lucida Console"">       
<a href="http://172.21.51.152:8181/os-releases/14.0.7/">http://172.21.51.152:8181/os-releases/14.0.7/</a></span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:10.0pt;font-family:Arial;color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:10.0pt;font-family:Arial;color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:10.0pt;font-family:Arial;color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:10.0pt;font-family:Arial;color:#1F497D"> </span><o:p></o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-left:.5in"><b><span style="font-size:11.0pt;font-family:Calibri">From:</span></b><span style="font-size:11.0pt;font-family:Calibri"> Jesse Pretorius [<a href="mailto:Jesse.Pretorius@rackspace.co.uk">mailto:Jesse.Pretorius@rackspace.co.uk</a>]
<br>
<b>Sent:</b> 17 February 2017 10:43<br>
<b>To:</b> <a href="mailto:openstack-operators@lists.openstack.org">openstack-operators@lists.openstack.org</a><br>
<b>Subject:</b> Re: [Openstack-operators] [openstack-ansible] pip problems with openstack-ansible deployment</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal" style="margin-left:.5in"> <o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:11.0pt;font-family:Calibri">Hi Danil,</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:11.0pt;font-family:Calibri"> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:11.0pt;font-family:Calibri">It sounds like it might be a problem with the repo containers not being in sync somehow. Can you verify that all the repo containers have the same content? The
 load balancer may be directing you to a container that doesn’t have that wheel for some reason.</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:11.0pt;font-family:Calibri"> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:11.0pt;font-family:Calibri">HTH,</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:11.0pt;font-family:Calibri"> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:11.0pt;font-family:Calibri">Jesse</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:11.0pt;font-family:Calibri">IRC: odyssey4me</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:11.0pt;font-family:Calibri"> </span><o:p></o:p></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-left:1.0in"><b><span style="font-family:Calibri;color:black">From:
</span></b><span style="font-family:Calibri;color:black">"Danil Zhigalin (Europe)" <<a href="mailto:Danil.Zhigalin@dimensiondata.com">Danil.Zhigalin@dimensiondata.com</a>><br>
<b>Date: </b>Friday, February 17, 2017 at 9:11 AM<br>
<b>To: </b>Kenneth Tan <<a href="mailto:cjtan@sardinasystems.com">cjtan@sardinasystems.com</a>>, "<a href="mailto:openstack-operators@lists.openstack.org">openstack-operators@lists.openstack.org</a>" <<a href="mailto:openstack-operators@lists.openstack.org">openstack-operators@lists.openstack.org</a>><br>
<b>Subject: </b>Re: [Openstack-operators] [openstack-ansible] pip problems with openstack-ansible deployment</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.0in"> <o:p></o:p></p>
</div>
<div>
<div>
<p class="MsoNormal" style="margin-left:1.0in"><span style="font-size:10.0pt;font-family:Arial;color:#1F497D">Hi Kenneth,</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:1.0in"><span style="font-size:10.0pt;font-family:Arial;color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:1.0in"><span style="font-size:10.0pt;font-family:Arial;color:#1F497D">Exactly, it is my goal. Exploring different OpenStack deployment tools. Found Openstack-Ansible project (<a href="https://github.com/openstack/openstack-ansible">https://github.com/openstack/openstack-ansible</a>)
 and like what it delivers (containerized or bare metal deployment). Unfortunately, can’t figure out how to advance further due to that problem.</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:1.0in"><span style="font-size:10.0pt;font-family:Arial;color:#1F497D"> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:1.0in"><b><span style="color:black"><br>
<br>
</span></b><strong><span style="font-size:10.0pt;font-family:Arial;color:black">Danil Zhigalin</span></strong><b><span style="color:black"><br>
</span></b><span style="font-size:10.0pt;font-family:Arial;color:black">Technical Consultant</span><span style="color:black"><br>
</span><span style="font-size:10.0pt;font-family:Arial;color:black">Dimension Data Germany</span><br>
<span style="font-size:10.0pt;font-family:Arial">Tel: +49 211 1717 1260<br>
Mob: +49 174 151 8457</span><br>
<span style="font-size:10.0pt;font-family:Arial"><a href="mailto:Danil.Zhigalin@dimensiondata.com">Danil.Zhigalin@dimensiondata.com</a></span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:12.0pt;margin-left:1.0in">
<span style="font-size:10.0pt;font-family:Arial;color:#999999">Dimension Data Germany AG & Co. KG, Derendorfer Allee 26</span><span style="color:#999999">,
</span><span style="font-size:10.0pt;font-family:Arial;color:#999999">40476</span><span style="color:#999999">,
</span><span style="font-size:10.0pt;font-family:Arial;color:#999999">Düsseldorf, North Rhine-Westphalia, Germany.</span><br>
<span style="font-size:10.0pt;font-family:Arial">For more information, please go to
</span><a href="http://www.dimensiondata.com/"><span style="font-size:10.0pt;font-family:Arial;color:#92D050">www.dimensiondata.com</span></a><o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-left:1.0in"><span style="font-size:10.0pt;font-family:Arial"><a href="http://de.blog.dimensiondata.com/"><span style="text-decoration:none"><img border="0" width="30" height="30" id="_x0000_i1025" src="cid:image001.jpg@01D2890D.82BE5EA0" alt="tp://de.blog.dimensiondata.com/"></span></a> <a href="https://www.facebook.com/Dimension-Data-Germany-921346461234757/"><span style="text-decoration:none"><img border="0" width="30" height="30" id="_x0000_i1026" src="cid:image002.jpg@01D2890D.82BE5EA0" alt="tps://www.facebook.com/Dimension-Data-Germany-921346461234757/"></span></a> <a href="https://www.linkedin.com/company/dimension-data"><span style="text-decoration:none"><img border="0" width="30" height="30" id="_x0000_i1027" src="cid:image003.jpg@01D2890D.82BE5EA0" alt="tps://www.linkedin.com/company/dimension-data"></span></a> <a href="https://twitter.com/DimensionDataDe"><span style="text-decoration:none"><img border="0" width="30" height="30" id="_x0000_i1028" src="cid:image004.jpg@01D2890D.82BE5EA0" alt="tps://twitter.com/DimensionDataDe"></span></a> <a href="https://www.xing.com/companies/dimensiondata"><span style="text-decoration:none"><img border="0" width="30" height="30" id="IMG1" src="cid:image005.png@01D2890D.82BE5EA0"></span></a> <br>
<a href="http://"><span style="text-decoration:none"><img border="0" width="425" height="122" id="_x0000_i1030" src="cid:image006.jpg@01D2890D.82BE5EA0"></span></a><br>
<br>
</span><span style="font-size:7.5pt;font-family:Arial;color:#A5A5A5">Dimension Data Germany AG & Co.KG, Horexstraße 7, 61352 Bad Homburg</span><o:p></o:p></p>
</div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-left:1.0in"><span style="font-size:7.5pt;font-family:Arial;color:#A5A5A5">Sitz: Bad Homburg, Amtsgericht Bad Homburg, HRA 3207</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.0in"><span style="font-size:7.5pt;font-family:Arial;color:#A5A5A5">Pers. Haftende Ges : Dimension Data Verwaltungs AG, Sitz Bad Homburg.</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.0in"><span style="font-size:7.5pt;font-family:Arial;color:#A5A5A5">Amtsgericht Bad Homburg, HRB 6172</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.0in"><span style="font-size:7.5pt;font-family:Arial;color:#A5A5A5">Vorstand: Roberto Del Corno</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.0in"><span style="font-size:7.5pt;font-family:Arial;color:#A5A5A5">Vors. des Aufsichtsrats: Andrew Coulsen</span><o:p></o:p></p>
</div>
</div>
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:12.0pt;margin-left:1.0in">
<span style="font-size:10.0pt"> </span><o:p></o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-left:1.0in"><b><span style="font-size:11.0pt;font-family:Calibri">From:</span></b><span style="font-size:11.0pt;font-family:Calibri"> Kenneth Tan [<a href="mailto:cjtan@sardinasystems.com">mailto:cjtan@sardinasystems.com</a>]
<br>
<b>Sent:</b> 17 February 2017 09:22<br>
<b>To:</b> Danil Zhigalin (Europe) <<a href="mailto:Danil.Zhigalin@dimensiondata.com">Danil.Zhigalin@dimensiondata.com</a>><br>
<b>Subject:</b> Re: [Openstack-operators] pip problems with openstack-ansible deployment</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal" style="margin-left:1.0in"> <o:p></o:p></p>
<p class="MsoNormal" style="margin-left:1.0in"><br>
<br>
Hi Danil,<o:p></o:p></p>
<div>
<p class="MsoNormal" style="margin-left:1.0in"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.0in">I am curious, what is your end objective? Is the objective to deploy an OpenStack cloud using an Ansible-based tool?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.0in"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.0in"> <o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:1.0in">Best wishes,<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:0in;margin-right:0in;margin-bottom:12.0pt;margin-left:1.0in">
<span style="font-size:9.0pt;font-family:Helvetica;color:black">Ken<br>
-----------------<br>
Kenneth Tan<br>
Sardina Systems<br>
E: <a href="mailto:cjtan@sardinasystems.com">cjtan@sardinasystems.com</a><br>
M: +447989417838<br>
T: +442070994428<br>
W: <a href="http://www.sardinasystems.com">www.sardinasystems.com</a><br>
<br>
<br>
</span><o:p></o:p></p>
</div>
</div>
<p class="MsoNormal" style="margin-left:1.0in"> <o:p></o:p></p>
<div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<div>
<p class="MsoNormal" style="margin-left:1.0in">On 17 Feb 2017, at 08:15, Danil Zhigalin (Europe) <<a href="mailto:Danil.Zhigalin@dimensiondata.com">Danil.Zhigalin@dimensiondata.com</a>> wrote:<o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-left:1.0in"> <o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="margin-left:1.0in"><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.<span style="font-family:PMingLiU"><br>
<br>
</span>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<span style="font-family:PMingLiU"><br>
</span>Sitz: Bad Homburg, Amtsgericht Bad Homburg, HRA 3207<span style="font-family:PMingLiU"><br>
</span>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>
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>
<o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-left:1.0in">_______________________________________________<br>
OpenStack-operators mailing list<br>
<a href="mailto:OpenStack-operators@lists.openstack.org">OpenStack-operators@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators</a><o:p></o:p></p>
</div>
</blockquote>
</div>
<p class="MsoNormal" style="margin-left:1.0in"> <o:p></o:p></p>
</div>
<p class="MsoNormal" style="margin-left:1.0in"><br>
<br>
<span style="color:white">itevomcid</span> <o:p></o:p></p>
</div>
</div>
</div>
</div>
</div>
<p class="MsoNormal" style="margin-left:.5in">    <o:p></o:p></p>
<div class="MsoNormal" align="center" style="margin-left:.5in;text-align:center">
<hr size="2" width="100%" align="center">
</div>
<p class="MsoNormal" style="margin-left:.5in">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">www.rackspace.co.uk/legal/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">abuse@rackspace.com</a> and delete the original message. Your cooperation is appreciated.
<o:p></o:p></p>
</div>
</body>
</html>