<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
@-ms-viewport {
width: device-width;
}
</style>
</head>
<body>
<div>Hi,</div>
<div><br>
</div>
<div>sorry its taken me a while to get to the bottom of this error, running the op-venv-script manually helped me eventually find the issue. We run the install in a limited internet environment, I had overridden the pip_install_options to specify our python
cache and wheel indices and had seen this working in the logs during the wheel builds so had disregarded it as a possible issue. I had failed to understand that the venv script does not honour those pip install options and I had to duplicate the options for
the repo_build_venv_pip_install_options variable. This allowed the install to run correctly, took a lot of digging to find it unfortunately.
</div>
<div><br>
</div>
<div>Now that its all working it seems simple enough but getting to the point of a total offline install using openstack-ansible has certainly been one of the more challenging things I have done in my career.</div>
<div><br>
</div>
<div>Thanks for the help and pointers,</div>
<div><br>
</div>
<div>Eugene Duvenage</div>
<div><br>
</div>
<div><br>
</div>
<div><br><table border="0" cellpadding="0" cellspacing="0">
<tbody><tr><td style="max-width: 100%; height: auto;" colspan="3" valign="middle"><p style="margin: 0; line-height: 20px;"><font face="calibri,arial,helvetica,sans-serif"><b><font size="3" color="#5B5B5B" style="text-transform: uppercase;">Eugene Duvenage</font></b></font><br><font face="calibri,arial,helvetica,sans-serif" size="3" style="color: #5b5b5b; text-transform: none;"></font><br><font face="calibri,arial,helvetica,sans-serif" size="3" style="color: #575757;"><b>T:</b> 031 576 5754 <font color="#FF6600">|</font><b> F:</b> <font color="#FF6600">|</font><b> C:</b> -</font><br> <font face="calibri,arial,helvetica,sans-serif" size="3" style="color: #575757;"><b>E:</b> <a style="text-decoration: none; color: #575757;" href="mailto:EugeneD@sahomeloans.com">EugeneD@sahomeloans.com</a> <b>W:</b> <a style="text-decoration: none; color: #575757;" href="http://www.sahomeloans.com/">www.sahomeloans.com</a><br> <a style="text-decoration: none; color: #575757;" href="http://banners2.sahomeloans.com/rs/eaiJs_wu">Download Vcard >></a></font></p></td></tr><tr><td style="max-width: 100%; height: auto;" align="left" colspan="3"><!-- RS-STRIP-BEGIN image-12158-1879@banners2.sahomeloans.com--><img style="max-width: 100%; height: auto;" src="cid:image-12158-1879@banners2.sahomeloans.com" class="rocketseed-strip" border="0"><!-- RS-STRIP-END image-12158-1879@banners2.sahomeloans.com--></td></tr><tr><td style="max-width: 100%; height: auto;" align="left" valign="bottom"><!-- RS-STRIP-BEGIN image-12156-1879@banners2.sahomeloans.com--><a href="http://banners2.sahomeloans.com/rs/eaAxlNbz"><img style="max-width: 100%; height: auto;" src="cid:image-12156-1879@banners2.sahomeloans.com" class="rocketseed-strip" border="0"></a><!-- RS-STRIP-END image-12156-1879@banners2.sahomeloans.com--></td><td style="max-width: 100%; height: auto;" align="left" valign="bottom"><!-- RS-STRIP-BEGIN image-18921-1879@banners2.sahomeloans.com--><a href="http://banners2.sahomeloans.com/rs/eaD91Jcv"><img style="max-width: 100%; height: auto;" src="cid:image-18921-1879@banners2.sahomeloans.com" class="rocketseed-strip" border="0"></a><!-- RS-STRIP-END image-18921-1879@banners2.sahomeloans.com--></td><td style="max-width: 100%; height: auto;" align="left" valign="bottom"><!-- RS-STRIP-BEGIN image-12155-1879@banners2.sahomeloans.com--><a href="http://banners2.sahomeloans.com/rs/eaokz5aQ"><img style="max-width: 100%; height: auto;" src="cid:image-12155-1879@banners2.sahomeloans.com" class="rocketseed-strip" border="0"></a><!-- RS-STRIP-END image-12155-1879@banners2.sahomeloans.com--></td></tr><tr><td style="max-width: 100%; height: auto;" colspan="3" align="left" valign="top"><!-- RS-STRIP-BEGIN image-12159-1879@banners2.sahomeloans.com--><a href="http://www.sahomeloans.com/?utm_source=Email%20Media@&utm_medium=RocketseedTrainingReseller&utm_campaign=Master%20Bus%202016"><img style="max-width: 100%; height: auto;" src="cid:image-12159-1879@banners2.sahomeloans.com" class="rocketseed-strip" border="0" beacon_priority="0"></a><!-- RS-STRIP-END image-12159-1879@banners2.sahomeloans.com--></td></tr><tr><td style="max-width: 100%; height: auto;" align="left" valign="middle" colspan="3"><!-- RS-STRIP-BEGIN image-12157-1879@banners2.sahomeloans.com--><img style="max-width: 100%; height: auto;" src="cid:image-12157-1879@banners2.sahomeloans.com" class="rocketseed-strip" usemap="#imgmap201652784550" border="0"><map id="imgmap201652784550" name="imgmap201652784550">
<area shape="rect" alt="" coords="3,9,22,30" href="http://banners2.sahomeloans.com/rs/ea32F5Tr" target="">
<area shape="rect" alt="" coords="27,8,49,30" href="http://banners2.sahomeloans.com/rs/eaaLZ1Rs" target="">
<area shape="rect" alt="" coords="55,9,80,32" href="http://banners2.sahomeloans.com/rs/eaOuO39Z" target=""></map><!-- RS-STRIP-END image-12157-1879@banners2.sahomeloans.com--></td></tr></tbody></table>-----Original Message-----</div>
<div><br>
</div>
<div><b>Date</b>: Thu, 4 May 2017 12:10:10 +0100</div>
<div><b>Subject</b>: Re: [Openstack-operators] Openstack-Ansible (Ocata branch) deployment failing - "No matching distribution found for mysql-python"</div>
<div><b>Cc</b>: openstack-operators@lists.openstack.org <<a href="mailto:%22openstack-operators@lists.openstack.org%22%20%3copenstack-operators@lists.openstack.org%3e">openstack-operators@lists.openstack.org</a>></div>
<div><b>To</b>: Eugene Duvenage <<a href="mailto:Eugene%20Duvenage%20%3cEugeneD@sahomeloans.com%3e">EugeneD@sahomeloans.com</a>></div>
<div><b>From</b>: Andy McCrae <<a href="mailto:Andy%20McCrae%20%3candy.mccrae@gmail.com%3e">andy.mccrae@gmail.com</a>></div>
<!-- text/html -->
<div dir="ltr">
<div class="gmail_extra"><font face="arial, helvetica, sans-serif">Hi Eugene,</font></div>
<div class="gmail_extra"><font face="arial, helvetica, sans-serif"><br>
</font></div>
<div class="gmail_extra"><font face="arial, helvetica, sans-serif">You're right that error doesn't give us much.</font></div>
<div class="gmail_extra"><font face="arial, helvetica, sans-serif">My best advice for a next step would be to manually run "<span style="color:rgb(0,0,0);font-size:13px">bash /opt/op-venv-script.sh" from inside the repo container: </span><span style="color:rgb(0,0,0);font-size:13px">dc2-controller-01_repo_container-7ce807b6.
I've had similar issues, which is usually a constraints issue (we're working ways to improve this too).</span></font></div>
<div class="gmail_extra"><font face="arial, helvetica, sans-serif"><span style="color:rgb(0,0,0);font-size:13px"><br>
</span></font></div>
<div class="gmail_extra"><font color="#000000" face="arial, helvetica, sans-serif">The output from the script is often more useful - additionally there are logs in the repo container for the venv build process, so check those out too.</font></div>
<div class="gmail_extra"><br>
</div>
<div class="gmail_extra">On a plus side - which doesn't help you right now but may make this easier in future - we're looking to potentially move away from that bash script and manage the venv process via ansible tasks. This will hopefully make the issue more
clear when it fails, and improve debugging.</div>
<div class="gmail_extra"><span style="color:rgb(0,0,0);font-size:13px"><font face="arial, helvetica, sans-serif"><br>
</font></span></div>
<div class="gmail_extra"><span style="color:rgb(0,0,0);font-size:13px"><font face="arial, helvetica, sans-serif">Hope that helps!</font></span></div>
<div class="gmail_extra"><span style="color:rgb(0,0,0);font-size:13px"><font face="arial, helvetica, sans-serif">Andy</font></span></div>
<div class="gmail_extra"><br>
</div>
</div>
<table width="650">
<tr>
<td style="max-width: 100%; height: auto;">
<font color="#666666" size="1" face="arial,helvetica,sans-serif">This email and all contents are subject to the following disclaimer:<a href="http://www.sahomeloans.com/sahl/sahomeloansdisclaimer.pdf"><font color="#666666"><font color="#666666"><font color="#666666">http://www.sahomeloans.com/sahl/sahomeloansdisclaimer.pdf</font></font></font></a></font>
</td>
</tr>
</table>
</body>
</html>