<div dir="ltr">It also works on the Public IP of the repo:<div><div><div>root@maas:/opt/openstack-ansible/playbooks# ansible hosts -m shell -a "curl http://<b>172.16.1.222</b>:8181/os-releases/"</div><div>Variable files: "-e @/etc/openstack_deploy/user_secrets.yml -e @/etc/openstack_deploy/user_variables.yml "</div><div>node01 | SUCCESS | rc=0 >></div><div><html></div><div><head><title>Index of /os-releases/</title></head></div><div><body bgcolor="white"></div><div><h1>Index of /os-releases/</h1><hr><pre><a href="../">../</a></div><div><a href="14.0.1/">14.0.1/</a> 16-Nov-2016 14:47 -</div><div></pre><hr></body></div><div></html> % Total % Received % Xferd Average Speed Time Time Time Current</div><div> Dload Upload Total Spent Left Speed</div><div>100 287 0 287 0 0 381k 0 --:--:-- --:--:-- --:--:-- 280k</div></div></div><div><br></div><div><br></div><div>do you have an explanation to this Jesse ?</div><div><br></div><div>Thank you</div></div><div class="gmail_extra"><br><div class="gmail_quote">On 17 November 2016 at 15:53, Achi Hamza <span dir="ltr"><<a href="mailto:h16mara@gmail.com" target="_blank">h16mara@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">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:<div><br></div><div><div><b>root@maas:/opt/openstack-<wbr>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-<wbr>releases/</a>"</b></div><span class=""><div>Variable files: "-e @/etc/openstack_deploy/user_<wbr>secrets.yml -e @/etc/openstack_deploy/user_<wbr>variables.yml "</div></span><div>node01 | SUCCESS | rc=0 >></div><span class=""><div><html></div><div><head><title>Index of /os-releases/</title></head></div><div><body bgcolor="white"></div><div><h1>Index of /os-releases/</h1><hr><pre><a href="../">../</a></div><div><a href="14.0.1/">14.0.1/</a> 16-Nov-2016 14:47 -</div><div></pre><hr></body></div><div></html> % Total % Received % Xferd Average Speed Time Time Time Current</div><div> Dload Upload Total Spent Left Speed</div></span><div>100 287 0 287 0 0 405k 0 --:--:-- --:--:-- --:--:-- 280k</div></div><div><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On 17 November 2016 at 15:26, Achi Hamza <span dir="ltr"><<a href="mailto:h16mara@gmail.com" target="_blank">h16mara@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">It works on the repo itself:<div><br></div><div><div><b>root@maas:/opt/openstack-ansib<wbr>le/playbooks# ansible repo_all -m shell -a "curl <a href="http://localhost:8181/os-releases/" target="_blank">http://localhost:8181/os-relea<wbr>ses/</a>"</b></div><span><div>Variable files: "-e @/etc/openstack_deploy/user_se<wbr>crets.yml -e @/etc/openstack_deploy/user_va<wbr>riables.yml "</div><div>node01_repo_container-82b4e1f6 | SUCCESS | rc=0 >></div></span><div><html></div><div><head><title>Index of /os-releases/</title></head></div><div><body bgcolor="white"></div><div><h1>Index of /os-releases/</h1><hr><pre><a href="../">../</a></div><div><a href="14.0.1/">14.0.1/</a> 16-Nov-2016 14:47 -</div><div></pre><hr></body></div><div></html> % Total % Received % Xferd Average Speed Time Time Time Current</div><span><div> Dload Upload Total Spent Left Speed</div></span><div>100 287 0 287 0 0 59878 0 --:--:-- --:--:-- --:--:-- 71750</div><div><br></div></div></div><div class="gmail_extra"><br><div class="gmail_quote"><div><div class="m_-7103973699497644060h5">On 17 November 2016 at 15:22, Jesse Pretorius <span dir="ltr"><<a href="mailto:Jesse.Pretorius@rackspace.co.uk" target="_blank">Jesse.Pretorius@rackspace.co.<wbr>uk</a>></span> wrote:<br></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="m_-7103973699497644060h5">
<div bgcolor="white" lang="EN-US" link="blue" vlink="purple">
<div class="m_-7103973699497644060m_-1626275924266766866m_2434779494485478176WordSection1">
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:Calibri"><u></u> <u></u></span></p>
<p class="MsoNormal"><span 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" style="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.<wbr>uk</a>>, "<a href="mailto:OpenStack-operators@lists.openstack.org" target="_blank">OpenStack-operators@lists.ope<wbr>nstack.org</a>" <<a href="mailto:OpenStack-operators@lists.openstack.org" target="_blank">OpenStack-operators@lists.ope<wbr>nstack.org</a>><span><br>
<b>Subject: </b>Re: [Openstack-operators] [openstack-dev] [openstack-ansible] pip issues<u></u><u></u></span></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal" style="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 ?
<u></u><u></u></p>
<div>
<p class="MsoNormal" style="margin-left:.5in"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:.5in">Thank you<u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">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.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Let’s go back to verifying access to the repo – try checking access from the repo server to itself:<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">ansible repo_all -m uri -a "url=<a href="http://localhost:8181/os-releases/" target="_blank">http://localhost:8181/os-<wbr>releases/</a>"<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">or<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">ansible repo_all –m shell –a "curl <a href="http://localhost:8181/os-releases/" target="_blank">http://localhost:8181/os-relea<wbr>ses/</a>"<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
</div><span>
<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/priv<wbr>acy-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></div></div><span>______________________________<wbr>_________________<br>
OpenStack-operators mailing list<br>
<a href="mailto:OpenStack-operators@lists.openstack.org" target="_blank">OpenStack-operators@lists.open<wbr>stack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-operators" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi<wbr>-bin/mailman/listinfo/openstac<wbr>k-operators</a><br>
<br></span></blockquote></div><br></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>