[Openstack] [openstack][AIO][Ansible]
Vaidyanath Manogaran
vaidyanath.m at gmail.com
Fri Aug 5 05:18:41 UTC 2016
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
PATH="/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games"
b. Verified “/*etc/ansible/hosts”* file
127.0.0.1 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
Error:
[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
...ignoring
TASK: [pip_install | Get Modern PIP using fallback URL]
***********************
failed: [aio1] => {"attempts": 5, "failed": true}
msg: Task failed as maximum retries was encountered
...ignoring
--
Regards,
Vaidyanath
+91-9483465528(M)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20160805/46322fc6/attachment.html>
More information about the Openstack
mailing list