Comment 1 for bug 1642012

Revision history for this message
Michael Gale (gale-michael) wrote :

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--