Skip to content

Instantly share code, notes, and snippets.

@cfarquhar
Last active April 21, 2016 08:36
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cfarquhar/7dfaba7a6e5106a3924b553b0d440416 to your computer and use it in GitHub Desktop.
Save cfarquhar/7dfaba7a6e5106a3924b553b0d440416 to your computer and use it in GitHub Desktop.
Directory not being created
https://github.com/openstack/openstack-ansible/blob/de3cbd4faeedf48735e03493c7684d62e5b4cfd0/playbooks/roles/os_nova/tasks/nova_install.yml#L114-L123
TASK: [os_nova | Remove existing venv] ****************************************
changed: [infra01-c_nova_console_container-c1c7f8a2]
changed: [infra01-c_nova_cert_container-1fb39063]
changed: [infra01-c_nova_api_metadata_container-8f126cd7]
changed: [infra01-c_nova_api_os_compute_container-c918b301]
changed: [infra01-c_nova_conductor_container-42a176e7]
changed: [compute01-c]
changed: [infra01-c_nova_scheduler_container-dc608a09]
TASK: [os_nova | Create nova venv dir] ****************************************
changed: [infra01-c_nova_api_metadata_container-8f126cd7]
changed: [infra01-c_nova_conductor_container-42a176e7]
changed: [infra01-c_nova_console_container-c1c7f8a2]
changed: [infra01-c_nova_cert_container-1fb39063]
changed: [infra01-c_nova_scheduler_container-dc608a09]
changed: [infra01-c_nova_api_os_compute_container-c918b301]
changed: [compute01-c]
TASK: [os_nova | Unarchive pre-built venv] ************************************
failed: [infra01-c_nova_api_metadata_container-8f126cd7] => {"failed": true}
msg: dest '/openstack/venvs/nova-12.0.10' must be an existing dir
changed: [compute01-c]
changed: [infra01-c_nova_cert_container-1fb39063]
changed: [infra01-c_nova_api_os_compute_container-c918b301]
changed: [infra01-c_nova_conductor_container-42a176e7]
changed: [infra01-c_nova_console_container-c1c7f8a2]
changed: [infra01-c_nova_scheduler_container-dc608a09]
...
TASK: [os_nova | Update virtualenv path] **************************************
failed: [infra01-c_nova_api_metadata_container-8f126cd7] => {"changed": true, "cmd": ["virtualenv-tools", "--update-path=auto", "/openstack/venvs/nova-12.0.10"], "delta": "0:00:00.027097", "end": "2016-04-20 16:46:21.043138", "rc": 1, "start": "2016-04-20 16:46:21.016041", "warnings": []}
stdout: error: /openstack/venvs/nova-12.0.10 does not refer to a python installation
changed: [infra01-c_nova_console_container-c1c7f8a2]
changed: [infra01-c_nova_cert_container-1fb39063]
changed: [infra01-c_nova_conductor_container-42a176e7]
changed: [infra01-c_nova_scheduler_container-dc608a09]
changed: [compute01-c]
changed: [infra01-c_nova_api_os_compute_container-c918b301]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment