[Openstack] [openstack][AIO][Ansible]

Trinath Somanchi trinath.somanchi at nxp.com
Fri Aug 5 06:08:07 UTC 2016

The error is the you were unable to download latest PIP from internet.

Please check the accessibility.

/ Trinath

From: Vaidyanath Manogaran [mailto:vaidyanath.m at gmail.com]
Sent: Friday, August 05, 2016 10:49 AM
To: Openstack <openstack at lists.openstack.org>; community at lists.openstack.org; Prabhu_Kondarangi at infosys.com; Vaidyanath Manogaran <vaidyanath.manogaran at infosys.com>
Subject: [Openstack] [openstack][AIO][Ansible]

Hi All,

We are trying to setup Openstack STABLE/MITAKA branch AIO environment using Openstack-Ansible pre-defined scripts, But It is failing at PIP installation step on "lxc-hosts-setup.yml".
We have come across following steps, but we still stuck on the same stage. Can you please help what is the issue here ?

Steps followed:
1.       Modified Playbooks (YAML files) as per our environment setup- No Syntax error
2.       Added proxy settings in “user_variables.yml” file – No Syntax error
3.       Executed “scripts/bootstrap-ansible.sh” file – Succeeded.
4.       Executed “scripts/bootstrap-aio.sh” file – Succeeded.
5.       Executed “scripts/run-playbooks.sh” file – Failed at TASK: [pip_install | Get Modern PIP]
a.       Verified  “/etc/environment” file
b.      Verified “/etc/ansible/hosts” file                 localhost
<HOST_IP>             <HOST_NAME>
c.       Verified “/etc/ansible/roles/pip_install/tasks/main.yml” file.
d.      Verified “/etc/ansible/roles/pip_install/defaults/main.yml” file for PIP download URLS - Accessable
## Path to pip download/installation script.
pip_upstream_url: https://bootstrap.pypa.io/get-pip.py
pip_fallback_url: https://raw.githubusercontent.com/pypa/get-pip/master/get-pip.py

[Executing "lxc-hosts-setup.yml" playbook]
Variable files: "-e @/etc/openstack_deploy/user_conf_files.yml -e @/etc/openstack_deploy/user_secrets.yml -e @/etc/openstack_deploy/user_variables.yml "

PLAY [Basic lxc host setup] ***************************************************

TASK: [apt_package_pinning | Add apt pin preferences] *************************
skipping: [aio1]

TASK: [pip_install | Create pip config directory] *****************************
ok: [aio1] => (item=/opt)
ok: [aio1] => (item=/root/.cache)
ok: [aio1] => (item=/root/.cache/pip)

TASK: [pip_install | Drop pip file(s)] ****************************************
ok: [aio1] => (item={'dest': u'/root/.cache/pip/selfcheck.json', 'src': 'selfcheck.json'})

TASK: [pip_install | Get Modern PIP] ******************************************
failed: [aio1] => {"attempts": 5, "failed": true}
msg: Task failed as maximum retries was encountered

TASK: [pip_install | Get Modern PIP using fallback URL] ***********************
failed: [aio1] => {"attempts": 5, "failed": true}
msg: Task failed as maximum retries was encountered


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20160805/44e15388/attachment.html>

More information about the Openstack mailing list