Looked like this issue is related to that tasks from here: /etc/ansible/roles/pip_install/tasks/configure.yml
The var {{ansible_env.HOME}} appears to be missing.
I added the following to the top of configure.yml debug: msg: "{{ansible_env}}"
Here is the output: --snip-- TASK [pip_install : Debug1] **************************************************** ok: [localhost] => { "msg": { "AIO_REPO": "https://git.int.pason.com/scm/srt/openstack_aio_testing.git", "ANSIBLE_ACTION_PLUGINS": "/etc/ansible/roles/plugins/action", "ANSIBLE_CACHE_PLUGIN": "jsonfile", "ANSIBLE_CACHE_PLUGIN_CONNECTION": "/etc/openstack_deploy/ansible_facts", "ANSIBLE_CACHE_PLUGIN_TIMEOUT": "86400", "ANSIBLE_CALLBACK_PLUGINS": "/etc/ansible/roles/plugins/callback", "ANSIBLE_CONNECTION_PLUGINS": "/etc/ansible/roles/plugins/connection", "ANSIBLE_FILTER_PLUGINS": "/etc/ansible/roles/plugins/filter", "ANSIBLE_FORCE_COLOR": "true", "ANSIBLE_FORCE_HANDLERS": "True", "ANSIBLE_GATHERING": "smart", "ANSIBLE_GATHER_SUBSET": "network,hardware,virtual", "ANSIBLE_HOST_KEY_CHECKING": "False", "ANSIBLE_INVENTORY": "/opt/openstack-ansible/playbooks/inventory", "ANSIBLE_LIBRARY": "/etc/ansible/roles/plugins/library", "ANSIBLE_LOG_PATH": "/openstack/log/ansible-logging/ansible.log", "ANSIBLE_LOOKUP_PLUGINS": "/etc/ansible/roles/plugins/lookup", "ANSIBLE_RETRY_FILES_ENABLED": "False", "ANSIBLE_ROLES_PATH": "/etc/ansible/roles:roles", "ANSIBLE_SSH_PIPELINING": "True", "ANSIBLE_STRATEGY_PLUGINS": "/etc/ansible/roles/plugins/strategy", "ANSIBLE_TIMEOUT": "5", "ANSIBLE_TRANSPORT": "ssh", "BOOTSTRAP_OPTS": "", "BRANCH": "stable/newton", "DEPLOY_AIO": "true", "INSTANCE": "", "JOB": "cloud-config", "LANG": "en_US.UTF-8", "LC_ALL": "en_US.UTF-8", "LC_MESSAGES": "en_US.UTF-8", "PATH": "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/sbin:/usr/local/bin:/usr/bin:/usr/sbin:/sbin:/bin", "PREVLEVEL": "N", "PWD": "/opt/openstack-ansible/tests", "PYTHONUNBUFFERED": "1", "REPO": "https://github.com/openstack/openstack-ansible", "RESULT": "ok", "RUNLEVEL": "2", "SHLVL": "2", "TERM": "linux", "UPSTART_EVENTS": "stopped stopped", "UPSTART_INSTANCE": "", "UPSTART_JOB": "cloud-final", "_": "/opt/ansible-runtime/bin/ansible-playbook" } }
--snip--
Looked like this issue is related to that tasks from here: roles/pip_ install/ tasks/configure .yml
/etc/ansible/
The var {{ansible_ env.HOME} } appears to be missing.
I added the following to the top of configure.yml
debug:
msg: "{{ansible_env}}"
Here is the output: ******* ******* ******* ******* ******* ******* *** /git.int. pason.com/ scm/srt/ openstack_ aio_testing. git",
"ANSIBLE_ ACTION_ PLUGINS" : "/etc/ansible/ roles/plugins/ action" ,
"ANSIBLE_ CACHE_PLUGIN" : "jsonfile",
"ANSIBLE_ CACHE_PLUGIN_ CONNECTION" : "/etc/openstack _deploy/ ansible_ facts",
"ANSIBLE_ CACHE_PLUGIN_ TIMEOUT" : "86400",
"ANSIBLE_ CALLBACK_ PLUGINS" : "/etc/ansible/ roles/plugins/ callback" ,
"ANSIBLE_ CONNECTION_ PLUGINS" : "/etc/ansible/ roles/plugins/ connection" ,
"ANSIBLE_ FILTER_ PLUGINS" : "/etc/ansible/ roles/plugins/ filter" ,
"ANSIBLE_ FORCE_COLOR" : "true",
"ANSIBLE_ FORCE_HANDLERS" : "True",
"ANSIBLE_ GATHERING" : "smart",
"ANSIBLE_ GATHER_ SUBSET" : "network, hardware, virtual" ,
"ANSIBLE_ HOST_KEY_ CHECKING" : "False",
"ANSIBLE_ INVENTORY" : "/opt/openstack -ansible/ playbooks/ inventory" ,
"ANSIBLE_ LIBRARY" : "/etc/ansible/ roles/plugins/ library" ,
"ANSIBLE_ LOG_PATH" : "/openstack/ log/ansible- logging/ ansible. log",
"ANSIBLE_ LOOKUP_ PLUGINS" : "/etc/ansible/ roles/plugins/ lookup" ,
"ANSIBLE_ RETRY_FILES_ ENABLED" : "False",
"ANSIBLE_ ROLES_PATH" : "/etc/ansible/ roles:roles" ,
"ANSIBLE_ SSH_PIPELINING" : "True",
"ANSIBLE_ STRATEGY_ PLUGINS" : "/etc/ansible/ roles/plugins/ strategy" ,
"ANSIBLE_ TIMEOUT" : "5",
"ANSIBLE_ TRANSPORT" : "ssh",
"BOOTSTRAP_ OPTS": "",
"DEPLOY_ AIO": "true",
"LC_MESSAGES" : "en_US.UTF-8", sbin:/usr/ local/bin: /usr/sbin: /usr/bin: /sbin:/ bin:/usr/ local/sbin: /usr/local/ bin:/usr/ sbin:/usr/ bin:/sbin: /bin:/usr/ local/sbin: /usr/local/ bin:/usr/ bin:/usr/ sbin:/sbin: /bin",
"PREVLEVEL" : "N", -ansible/ tests",
"PYTHONUNBUFFE RED": "1", /github. com/openstack/ openstack- ansible",
"UPSTART_ EVENTS" : "stopped stopped",
"UPSTART_ INSTANCE" : "",
"UPSTART_ JOB": "cloud-final", runtime/ bin/ansible- playbook"
--snip--
TASK [pip_install : Debug1] *******
ok: [localhost] => {
"msg": {
"AIO_REPO": "https:/
"BRANCH": "stable/newton",
"INSTANCE": "",
"JOB": "cloud-config",
"LANG": "en_US.UTF-8",
"LC_ALL": "en_US.UTF-8",
"PATH": "/usr/local/
"PWD": "/opt/openstack
"REPO": "https:/
"RESULT": "ok",
"RUNLEVEL": "2",
"SHLVL": "2",
"TERM": "linux",
"_": "/opt/ansible-
}
}
--snip--