<div dir="ltr">Yes it works fine.<div><br></div><div><div> pip install pudb</div><div>Collecting pudb</div><div>/usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:318: SNIMissingWarning: An HTTPS request has been made, but the SNI (Subject Name Indication) extension to TLS is not available on this platform. This may cause the server to present an incorrect TLS certificate, which can cause validation failures. You can upgrade to a newer version of Python to solve this. For more information, see <a href="https://urllib3.readthedocs.org/en/latest/security.html#snimissingwarning">https://urllib3.readthedocs.org/en/latest/security.html#snimissingwarning</a>.</div><div> SNIMissingWarning</div><div>/usr/local/lib/python2.7/dist-packages/pip/_vendor/requests/packages/urllib3/util/ssl_.py:122: InsecurePlatformWarning: A true SSLContext object is not available. This prevents urllib3 from configuring SSL appropriately and may cause certain SSL connections to fail. You can upgrade to a newer version of Python to solve this. For more information, see <a href="https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning">https://urllib3.readthedocs.org/en/latest/security.html#insecureplatformwarning</a>.</div><div> InsecurePlatformWarning</div><div> Downloading pudb-2016.2.tar.gz (51kB)</div><div> 100% |████████████████████████████████| 51kB 127kB/s</div><div>Collecting urwid>=1.1.1 (from pudb)</div><div> Downloading urwid-1.3.1.tar.gz (588kB)</div><div> 100% |████████████████████████████████| 593kB 636kB/s</div><div>Collecting pygments>=1.0 (from pudb)</div><div> Downloading Pygments-2.1.3-py2.py3-none-any.whl (755kB)</div><div> 100% |████████████████████████████████| 757kB 563kB/s</div><div>Building wheels for collected packages: pudb, urwid</div><div> Running setup.py bdist_wheel for pudb ... done</div><div> Stored in directory: /root/.cache/pip/wheels/fa/fc/cc/9e575bdcfa38fe98bdbf80f536098092134484c172fbc90245</div><div> Running setup.py bdist_wheel for urwid ... done</div><div> Stored in directory: /root/.cache/pip/wheels/e7/bb/9d/d7f7fcc9b3aeae20cf4685667635002415629e6395ff2dda7d</div><div>Successfully built pudb urwid</div><div>Installing collected packages: urwid, pygments, pudb</div><div>Successfully installed pudb-2016.2 pygments-2.1.3 urwid-1.3.1</div></div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Aug 5, 2016 at 12:18 PM, Trinath Somanchi <span dir="ltr"><<a href="mailto:trinath.somanchi@nxp.com" target="_blank">trinath.somanchi@nxp.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Have you tried manually?
<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">/ Trinath<u></u><u></u></span></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Vaidyanath Manogaran [mailto:<a href="mailto:vaidyanath.m@gmail.com" target="_blank">vaidyanath.m@gmail.com</a><wbr>]
<br>
<b>Sent:</b> Friday, August 05, 2016 11:44 AM<br>
<b>To:</b> Trinath Somanchi <<a href="mailto:trinath.somanchi@nxp.com" target="_blank">trinath.somanchi@nxp.com</a>><br>
<b>Cc:</b> Openstack <<a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><wbr>>; <a href="mailto:community@lists.openstack.org" target="_blank">community@lists.openstack.org</a>; <a href="mailto:Prabhu_Kondarangi@infosys.com" target="_blank">Prabhu_Kondarangi@infosys.com</a>; Vaidyanath Manogaran <<a href="mailto:vaidyanath.manogaran@infosys.com" target="_blank">vaidyanath.manogaran@infosys.<wbr>com</a>><br>
<b>Subject:</b> Re: [Openstack] [openstack][AIO][Ansible]<u></u><u></u></span></p><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">I have setup the proxy details in the /etc/openstack_deploy/<wbr>user_variables.yml<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<div>
<p class="MsoNormal">apply_security_hardening: true<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">HTTP_PROXY: "<a href="http://192.168.19.46:3128" target="_blank">http://192.168.19.46:3128</a>"<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">HTTPS_PROXY: "<a href="http://192.168.19.46:3128" target="_blank">http://192.168.19.46:3128</a>"<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">NO_PROXY: "localhost,127.0.0.1"<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">http_proxy: "<a href="http://192.168.19.46:3128" target="_blank">http://192.168.19.46:3128</a>"<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">https_proxy: "<a href="http://192.168.19.46:3128" target="_blank">http://192.168.19.46:3128</a>"<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">no_proxy: "localhost,127.0.0.1"<u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">But still its unable to get the details.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal">Regards,<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal">Vaidyanath<u></u><u></u></p>
</div>
</div>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
<div>
<p class="MsoNormal">On Fri, Aug 5, 2016 at 11:38 AM, Trinath Somanchi <<a href="mailto:trinath.somanchi@nxp.com" target="_blank">trinath.somanchi@nxp.com</a>> wrote:<u></u><u></u></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>
<div>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">The error is the you were unable to download latest PIP from internet.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">Please check the accessibility.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">/ Trinath</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> </span><u></u><u></u></p>
<p class="MsoNormal"><b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif">From:</span></b><span style="font-size:11.0pt;font-family:"Calibri",sans-serif"> Vaidyanath Manogaran [mailto:<a href="mailto:vaidyanath.m@gmail.com" target="_blank">vaidyanath.m@gmail.com</a><wbr>]
<br>
<b>Sent:</b> Friday, August 05, 2016 10:49 AM<br>
<b>To:</b> Openstack <<a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><wbr>>;
<a href="mailto:community@lists.openstack.org" target="_blank">community@lists.openstack.org</a>;
<a href="mailto:Prabhu_Kondarangi@infosys.com" target="_blank">Prabhu_Kondarangi@infosys.com</a>; Vaidyanath Manogaran <<a href="mailto:vaidyanath.manogaran@infosys.com" target="_blank">vaidyanath.manogaran@infosys.<wbr>com</a>><br>
<b>Subject:</b> [Openstack] [openstack][AIO][Ansible]</span><u></u><u></u></p>
<div>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
<div>
<p class="MsoNormal"><span style="color:#2f5496">Hi All,</span><u></u><u></u></p>
<p class="MsoNormal"> <u></u><u></u></p>
<p class="MsoNormal"><span style="color:#2f5496">We are trying to setup Openstack
<i>STABLE/MITAKA</i> branch AIO environment using Openstack-Ansible pre-defined scripts, But It is failing at PIP installation step on "<i>lxc-hosts-setup.yml</i>".</span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:#2f5496">We have come across following steps, but we still stuck on the same stage. Can you please help what is the issue here ?</span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:#2f5496"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:#2f5496">Steps followed:</span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:#2f5496">1.</span><span style="font-size:7.0pt;color:#2f5496">
</span><span style="color:#2f5496">Modified Playbooks (YAML files) as per our environment setup-
<span style="background:aqua">No Syntax error</span></span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:#2f5496">2.</span><span style="font-size:7.0pt;color:#2f5496">
</span><span style="color:#2f5496">Added proxy settings in “<i>user_variables.yml”
</i>file – <span style="background:aqua">No Syntax error</span></span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:#2f5496">3.</span><span style="font-size:7.0pt;color:#2f5496">
</span><span style="color:#2f5496">Executed “<i>scripts/bootstrap-ansible.sh</i>” file –
<span style="background:aqua">Succeeded</span>.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:#2f5496">4.</span><span style="font-size:7.0pt;color:#2f5496">
</span><span style="color:#2f5496">Executed “<i>scripts/bootstrap-aio.sh</i>” file –
<span style="background:aqua">Succeeded</span>.</span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:#2f5496">5.</span><span style="font-size:7.0pt;color:#2f5496">
</span><span style="color:#2f5496">Executed “<i>scripts/run-playbooks.sh</i>” file –
<span style="background:aqua">Failed at </span></span><span style="font-size:10.0pt;background:yellow">TASK: [pip_install | Get Modern PIP]</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
<span style="color:#2f5496">a.</span><span style="font-size:7.0pt;color:#2f5496">
</span><span style="color:#2f5496">Verified “<i>/etc/environment</i>” file </span>
<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in;text-indent:.5in">
<span style="font-size:10.0pt">PATH="/usr/local/sbin:/usr/<wbr>local/bin:/usr/sbin:/usr/bin:/<wbr>sbin:/bin:/usr/games:/usr/<wbr>local/games"</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
<span style="color:#2f5496">b.</span><span style="font-size:7.0pt;color:#2f5496">
</span><span style="color:#2f5496">Verified “/<i>etc/ansible/hosts”</i> file</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.5in">
<span style="font-size:10.0pt">127.0.0.1 localhost</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.5in">
<span style="font-size:10.0pt"><HOST_IP> <HOST_NAME></span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
<span style="color:#2f5496">c.</span><span style="font-size:7.0pt;color:#2f5496">
</span><span style="color:#2f5496">Verified <i>“/etc/ansible/roles/pip_<wbr>install/tasks/main.yml</i>” file.</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.0in">
<span style="color:#2f5496">d.</span><span style="font-size:7.0pt;color:#2f5496">
</span><span style="color:#2f5496">Verified “/etc/ansible/roles/pip_<wbr>install/defaults/main.yml” file for PIP download URLS -
<span style="background:aqua">Accessable</span></span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.5in">
<span style="font-size:10.0pt">## Path to pip download/installation script.</span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.5in">
<span style="font-size:10.0pt">pip_upstream_url: <a href="https://bootstrap.pypa.io/get-pip.py" target="_blank">
https://bootstrap.pypa.io/get-<wbr>pip.py</a></span><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:1.5in">
<span style="font-size:10.0pt">pip_fallback_url: <a href="https://raw.githubusercontent.com/pypa/get-pip/master/get-pip.py" target="_blank">
https://raw.githubusercontent.<wbr>com/pypa/get-pip/master/get-<wbr>pip.py</a></span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10.0pt"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="color:#2f5496">Error:</span><u></u><u></u></p>
<table border="0" cellspacing="0" cellpadding="0" style="margin-left:34.85pt;border-collapse:collapse">
<tbody>
<tr>
<td width="623" valign="top" style="width:467.5pt;border:solid windowtext 1.0pt;padding:0in 5.4pt 0in 5.4pt">
<p class="MsoNormal"><span style="font-size:10.0pt">[Executing "<span style="background:yellow">lxc-hosts-setup.yml</span>" playbook]</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10.0pt">Variable files: "-e @/etc/openstack_deploy/user_<wbr>conf_files.yml -e @/etc/openstack_deploy/user_<wbr>secrets.yml -e @/etc/openstack_deploy/user_<wbr>variables.yml
"</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10.0pt"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10.0pt">PLAY [Basic lxc host setup] ******************************<wbr>*********************</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10.0pt"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10.0pt">TASK: [apt_package_pinning | Add apt pin preferences] *************************</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10.0pt">skipping: [aio1]</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10.0pt"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10.0pt">TASK: [pip_install | Create pip config directory] *****************************</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10.0pt">ok: [aio1] => (item=/opt)</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10.0pt">ok: [aio1] => (item=/root/.cache)</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10.0pt">ok: [aio1] => (item=/root/.cache/pip)</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10.0pt"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10.0pt">TASK: [pip_install | Drop pip file(s)] ******************************<wbr>**********</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10.0pt">ok: [aio1] => (item={'dest': u'/root/.cache/pip/selfcheck.<wbr>json', 'src': 'selfcheck.json'})</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10.0pt"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10.0pt;background:yellow">TASK: [pip_install | Get Modern PIP] ******************************<wbr>************</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:red">failed: [aio1] => {"attempts": 5, "failed": true}</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:red">msg: Task failed as maximum retries was encountered</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black;background:aqua">...ignoring</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10.0pt"> </span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10.0pt;background:yellow">TASK: [pip_install | Get Modern PIP using fallback URL] ***********************</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:red">failed: [aio1] => {"attempts": 5, "failed": true}</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:red">msg: Task failed as maximum retries was encountered</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10.0pt;color:black;background:aqua">...ignoring</span><u></u><u></u></p>
<p class="MsoNormal"><span style="font-size:10.0pt"> </span><u></u><u></u></p>
</td>
</tr>
</tbody>
</table>
<div>
<p class="MsoNormal"> <u></u><u></u></p>
</div>
<p class="MsoNormal">--
<u></u><u></u></p>
<div>
<p class="MsoNormal">Regards,<br>
<br>
Vaidyanath<br>
<a href="tel:%2B91-9483465528" target="_blank">+91-9483465528</a>(M)<u></u><u></u></p>
</div>
</div>
</div>
</div>
</div>
</div>
</blockquote>
</div>
<p class="MsoNormal"><br>
<br clear="all">
<u></u><u></u></p>
<div>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<p class="MsoNormal">-- <u></u><u></u></p>
<div>
<p class="MsoNormal">Regards,<br>
<br>
Vaidyanath<br>
<a href="tel:%2B91-9483465528" value="+919483465528" target="_blank">+91-9483465528</a>(M)<u></u><u></u></p>
</div>
</div>
</div></div></div>
</div>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Regards,<br><br>Vaidyanath<br>+91-9483465528(M)</div>
</div>