<div dir="ltr"><p class="MsoNormal"><span style="color:rgb(47,84,150)">Hi All,</span></p><p class="MsoNormal"><span style="color:rgb(47,84,150)"><br></span></p><p class="MsoNormal"><span style="color:rgb(47,84,150)">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></p>

<p class="MsoNormal"><span style="color:rgb(47,84,150)">We have come across following
steps, but we still stuck on the same stage. Can you please help what is the
issue here ?</span></p>

<p class="MsoNormal"><span style="color:rgb(47,84,150)"> </span></p>

<p class="MsoNormal"><span style="color:rgb(47,84,150)">Steps followed:</span></p>

<p class=""><span style="color:rgb(47,84,150)">1.<span style="font-stretch:normal;font-size:7pt;font-family:"Times New Roman"">      
</span></span><span style="color:rgb(47,84,150)">Modified Playbooks
(YAML files) as per our environment setup- <span style="background:aqua">No Syntax error</span></span></p>

<p class=""><span style="color:rgb(47,84,150)">2.<span style="font-stretch:normal;font-size:7pt;font-family:"Times New Roman"">      
</span></span><span style="color:rgb(47,84,150)">Added proxy settings
in “<i>user_variables.yml” </i>file – <span style="background:aqua">No Syntax error</span></span></p>

<p class=""><span style="color:rgb(47,84,150)">3.<span style="font-stretch:normal;font-size:7pt;font-family:"Times New Roman"">      
</span></span><span style="color:rgb(47,84,150)">Executed “<i>scripts/bootstrap-ansible.sh</i>”
file – <span style="background:aqua">Succeeded</span>.</span></p>

<p class=""><span style="color:rgb(47,84,150)">4.<span style="font-stretch:normal;font-size:7pt;font-family:"Times New Roman"">      
</span></span><span style="color:rgb(47,84,150)">Executed “<i>scripts/bootstrap-aio.sh</i>”
file – <span style="background:aqua">Succeeded</span>.</span></p>

<p class=""><span style="color:rgb(47,84,150)">5.<span style="font-stretch:normal;font-size:7pt;font-family:"Times New Roman"">      
</span></span><span style="color:rgb(47,84,150)">Executed “<i>scripts/run-playbooks.sh</i>”
file – <span style="background:aqua">Failed at </span></span><span style="font-size:10pt;background:yellow">TASK:
[pip_install | Get Modern PIP]</span><span style="color:rgb(47,84,150)"></span></p>

<p class="" style="margin-left:1in"><span style="color:rgb(47,84,150)">a.<span style="font-stretch:normal;font-size:7pt;font-family:"Times New Roman"">       </span></span><span style="color:rgb(47,84,150)">Verified  “<i>/etc/environment</i>” file </span></p>

<p class="" style="margin-left:1in;text-indent:0.5in"> <span style="font-size:10pt">PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"</span><span style="color:rgb(47,84,150)"></span></p>

<p class="" style="margin-left:1in"><span style="color:rgb(47,84,150)">b.<span style="font-stretch:normal;font-size:7pt;font-family:"Times New Roman"">      </span></span><span style="color:rgb(47,84,150)">Verified “/<i>etc/ansible/hosts”</i> file</span></p>

<p class="MsoNormal" style="margin-left:1.5in"><span style="font-size:10pt">127.0.0.1    
            localhost</span></p>

<p class="MsoNormal" style="margin-left:1.5in"><span style="font-size:10pt"><HOST_IP> 
           <HOST_NAME></span><span style="color:rgb(47,84,150)"></span></p>

<p class="" style="margin-left:1in"><span style="color:rgb(47,84,150)">c.<span style="font-stretch:normal;font-size:7pt;font-family:"Times New Roman"">       </span></span><span style="color:rgb(47,84,150)">Verified <i>“/etc/ansible/roles/pip_install/tasks/main.yml</i>”
file.</span></p>

<p class="" style="margin-left:1in"><span style="color:rgb(47,84,150)">d.<span style="font-stretch:normal;font-size:7pt;font-family:"Times New Roman"">      </span></span><span style="color:rgb(47,84,150)">Verified
“/etc/ansible/roles/pip_install/defaults/main.yml” file for PIP download URLS -
<span style="background:aqua">Accessable</span></span></p>

<p class="" style="margin-left:1.5in"><span style="font-size:10pt">## Path to pip download/installation script.</span></p>

<p class="" style="margin-left:1.5in"><span style="font-size:10pt">pip_upstream_url: <a href="https://bootstrap.pypa.io/get-pip.py">https://bootstrap.pypa.io/get-pip.py</a></span></p>

<p class="" style="margin-left:1.5in"><span style="font-size:10pt">pip_fallback_url: <a href="https://raw.githubusercontent.com/pypa/get-pip/master/get-pip.py">https://raw.githubusercontent.com/pypa/get-pip/master/get-pip.py</a></span></p>

<p class="MsoNormal"><span style="font-size:10pt"> </span></p>

<p class="MsoNormal"><span style="color:rgb(47,84,150)">Error:</span></p>

<table class="" 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:1pt solid windowtext;padding:0in 5.4pt">
  <p class="MsoNormal"><span style="font-size:10pt">[Executing "<span style="background:yellow">lxc-hosts-setup.yml</span>"
  playbook]</span></p>
  <p class="MsoNormal"><span style="font-size:10pt">Variable files: "-e
  @/etc/openstack_deploy/user_conf_files.yml -e
  @/etc/openstack_deploy/user_secrets.yml -e
  @/etc/openstack_deploy/user_variables.yml "</span></p>
  <p class="MsoNormal"><span style="font-size:10pt"> </span></p>
  <p class="MsoNormal"><span style="font-size:10pt">PLAY [Basic lxc host setup]
  ***************************************************</span></p>
  <p class="MsoNormal"><span style="font-size:10pt"> </span></p>
  <p class="MsoNormal"><span style="font-size:10pt">TASK: [apt_package_pinning
  | Add apt pin preferences] *************************</span></p>
  <p class="MsoNormal"><span style="font-size:10pt">skipping: [aio1]</span></p>
  <p class="MsoNormal"><span style="font-size:10pt"> </span></p>
  <p class="MsoNormal"><span style="font-size:10pt">TASK: [pip_install | Create
  pip config directory] *****************************</span></p>
  <p class="MsoNormal"><span style="font-size:10pt">ok: [aio1] =>
  (item=/opt)</span></p>
  <p class="MsoNormal"><span style="font-size:10pt">ok: [aio1] =>
  (item=/root/.cache)</span></p>
  <p class="MsoNormal"><span style="font-size:10pt">ok: [aio1] =>
  (item=/root/.cache/pip)</span></p>
  <p class="MsoNormal"><span style="font-size:10pt"> </span></p>
  <p class="MsoNormal"><span style="font-size:10pt">TASK: [pip_install | Drop
  pip file(s)] ****************************************</span></p>
  <p class="MsoNormal"><span style="font-size:10pt">ok: [aio1] =>
  (item={'dest': u'/root/.cache/pip/selfcheck.json', 'src': 'selfcheck.json'})</span></p>
  <p class="MsoNormal"><span style="font-size:10pt"> </span></p>
  <p class="MsoNormal"><span style="font-size:10pt;background:yellow">TASK: [pip_install | Get Modern PIP]
  ******************************************</span><span style="font-size:10pt"></span></p>
  <p class="MsoNormal"><span style="font-size:10pt;color:red">failed: [aio1]
  => {"attempts": 5, "failed": true}</span></p>
  <p class="MsoNormal"><span style="font-size:10pt;color:red">msg: Task failed
  as maximum retries was encountered</span></p>
  <p class="MsoNormal"><span style="font-size:10pt;color:black;background:aqua">...ignoring</span><span style="font-size:10pt;color:black"></span></p>
  <p class="MsoNormal"><span style="font-size:10pt"> </span></p>
  <p class="MsoNormal"><span style="font-size:10pt;background:yellow">TASK: [pip_install | Get Modern PIP using fallback URL]
  ***********************</span><span style="font-size:10pt"></span></p>
  <p class="MsoNormal"><span style="font-size:10pt;color:red">failed: [aio1]
  => {"attempts": 5, "failed": true}</span></p>
  <p class="MsoNormal"><span style="font-size:10pt;color:red">msg: Task failed
  as maximum retries was encountered</span></p>
  <p class="MsoNormal"><span style="font-size:10pt;color:black;background:aqua">...ignoring</span><span style="font-size:10pt;color:black"></span></p>
  <p class="MsoNormal"><span style="font-size:10pt"> </span></p>
  </td>
 </tr>
</tbody></table><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Regards,<br><br>Vaidyanath<br>+91-9483465528(M)</div>
</div>