<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:"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;}
/* 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;}
span.EmailStyle17
{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">Have you tried tcpdumping on the deployment node and trying to connect in from the container to see if the packets even get there?<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">If the packets do get there, have you looked at the webserver logs to see if they provide any insight?<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>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Calibri;color:black"><o:p> </o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Calibri;color:black">___________________________________________________________________<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Calibri;color:black">Kris Lindgren<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Calibri;color:black">Senior Linux Systems Engineer<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><span style="font-size:10.5pt;font-family:Calibri;color:black">GoDaddy</span><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"><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"><b><span style="font-family:Calibri;color:black">From: </span>
</b><span style="font-family:Calibri;color:black">Achi Hamza <h16mara@gmail.com><br>
<b>Date: </b>Thursday, November 17, 2016 at 8:07 AM<br>
<b>To: </b>Jesse Pretorius <Jesse.Pretorius@rackspace.co.uk><br>
<b>Cc: </b>"OpenStack-operators@lists.openstack.org" <OpenStack-operators@lists.openstack.org><br>
<b>Subject: </b>Re: [Openstack-operators] [openstack-dev] [openstack-ansible] pip issues<o:p></o:p></span></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">It also works on the Public IP of the repo: <o:p></o:p></p>
<div>
<div>
<div>
<p class="MsoNormal">root@maas:/opt/openstack-ansible/playbooks# ansible hosts -m shell -a "curl http://<b>172.16.1.222</b>:8181/os-releases/"<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Variable files: "-e @/etc/openstack_deploy/user_secrets.yml -e @/etc/openstack_deploy/user_variables.yml "<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">node01 | SUCCESS | rc=0 >><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><html><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><head><title>Index of /os-releases/</title></head><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><body bgcolor="white"><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><h1>Index of /os-releases/</h1><hr><pre><a href="../">../</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><a href="14.0.1/">14.0.1/</a> 16-Nov-2016 14:47 -<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"></pre><hr></body><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"></html> % Total % Received % Xferd Average Speed Time Time Time Current<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> Dload Upload Total Spent Left Speed<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">100 287 0 287 0 0 381k 0 --:--:-- --:--:-- --:--:-- 280k<o:p></o:p></p>
</div>
</div>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">do you have an explanation to this Jesse ?<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Thank you<o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">On 17 November 2016 at 15:53, Achi Hamza <<a href="mailto:h16mara@gmail.com" target="_blank">h16mara@gmail.com</a>> wrote:<o:p></o:p></p>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<p class="MsoNormal">It also works on the internal interface of the containers, i can fetch from the repo container to the host on the internal IP of the container:
<o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<div>
<p class="MsoNormal"><b>root@maas:/opt/openstack-ansible/playbooks# ansible hosts -m shell -a "curl
<a href="http://10.0.3.92:8181/os-releases/" target="_blank">http://10.0.3.92:8181/os-releases/</a>"</b><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Variable files: "-e @/etc/openstack_deploy/user_secrets.yml -e @/etc/openstack_deploy/user_variables.yml "<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">node01 | SUCCESS | rc=0 >><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><html><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><head><title>Index of /os-releases/</title></head><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><body bgcolor="white"><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><h1>Index of /os-releases/</h1><hr><pre><a href="../">../</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><a href="14.0.1/">14.0.1/</a> 16-Nov-2016 14:47 -<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"></pre><hr></body><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"></html> % Total % Received % Xferd Average Speed Time Time Time Current<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> Dload Upload Total Spent Left Speed<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">100 287 0 287 0 0 405k 0 --:--:-- --:--:-- --:--:-- 280k<o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
<div>
<div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">On 17 November 2016 at 15:26, Achi Hamza <<a href="mailto:h16mara@gmail.com" target="_blank">h16mara@gmail.com</a>> wrote:<o:p></o:p></p>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<p class="MsoNormal">It works on the repo itself: <o:p></o:p></p>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<div>
<p class="MsoNormal"><b>root@maas:/opt/openstack-ansible/playbooks# ansible repo_all -m shell -a "curl
<a href="http://localhost:8181/os-releases/" target="_blank">http://localhost:8181/os-releases/</a>"</b><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">Variable files: "-e @/etc/openstack_deploy/user_secrets.yml -e @/etc/openstack_deploy/user_variables.yml "<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">node01_repo_container-82b4e1f6 | SUCCESS | rc=0 >><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><html><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><head><title>Index of /os-releases/</title></head><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><body bgcolor="white"><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><h1>Index of /os-releases/</h1><hr><pre><a href="../">../</a><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><a href="14.0.1/">14.0.1/</a> 16-Nov-2016 14:47 -<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"></pre><hr></body><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"></html> % Total % Received % Xferd Average Speed Time Time Time Current<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"> Dload Upload Total Spent Left Speed<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal">100 287 0 287 0 0 59878 0 --:--:-- --:--:-- --:--:-- 71750<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div>
<div>
<p class="MsoNormal">On 17 November 2016 at 15:22, Jesse Pretorius <<a href="mailto:Jesse.Pretorius@rackspace.co.uk" target="_blank">Jesse.Pretorius@rackspace.co.uk</a>> wrote:<o:p></o:p></p>
</div>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;margin-left:4.8pt;margin-right:0in">
<div>
<div>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:11.0pt;font-family:Calibri"> </span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><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="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in">
<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>Date: </b>Thursday, November 17, 2016 at 1:57 PM<br>
<b>To: </b>Jesse Pretorius <<a href="mailto:Jesse.Pretorius@rackspace.co.uk" target="_blank">Jesse.Pretorius@rackspace.co.uk</a>>, "<a href="mailto:OpenStack-operators@lists.openstack.org" target="_blank">OpenStack-operators@lists.openstack.org</a>" <<a href="mailto:OpenStack-operators@lists.openstack.org" target="_blank">OpenStack-operators@lists.openstack.org</a>><br>
<b>Subject: </b>Re: [Openstack-operators] [openstack-dev] [openstack-ansible] pip issues</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in">
<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in">
Thank you Jesse, but these iptables rules are just applied on the deployment node not the host nodes. do i have to omit these rules even on the deployment node ?
<o:p></o:p></p>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in">
<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto;margin-left:.5in">
Thank you<o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Ah, then that’s a red herring. As long as your hosts can reach the internet through it, then you’re good on that front.<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">Let’s go back to verifying access to the repo – try checking access from the repo server to itself:<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">ansible repo_all -m uri -a "url=<a href="http://localhost:8181/os-releases/" target="_blank">http://localhost:8181/os-releases/</a>"<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">or<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto">ansible repo_all –m shell –a "curl
<a href="http://localhost:8181/os-releases/" target="_blank">http://localhost:8181/os-releases/</a>"<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"> <o:p></o:p></p>
</div>
</div>
<p class="MsoNormal"> <o:p></o:p></p>
<div class="MsoNormal" align="center" style="text-align:center">
<hr size="2" width="100%" align="center">
</div>
<p class="MsoNormal">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/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.
<o:p></o:p></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
<p class="MsoNormal" style="margin-bottom:12.0pt">_______________________________________________<br>
OpenStack-operators mailing list<br>
<a href="mailto:OpenStack-operators@lists.openstack.org" target="_blank">OpenStack-operators@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators</a><o:p></o:p></p>
</blockquote>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</blockquote>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</body>
</html>