error when running os-nova-install.yml playbook with nova-config tag
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack-Ansible |
Fix Released
|
Medium
|
Jimmy McCrory |
Bug Description
It shows an error when I running "openstack-ansible os-nova-install.yml --tags nova-config" as below
TASK [os_nova : Install pip packages] *******
Monday 05 June 2017 13:18:35 +0700 (0:00:00.509) 0:03:13.732 ***********
fatal: [infra1]: FAILED! => {"failed": true, "msg": "The conditional check 'nova_get_venv | failed or nova_get_venv | skipped' failed. The error was: |failed expects a dictionary\n\nThe error appears to have been in '/etc/ansible/
fatal: [infra2]: FAILED! => {"failed": true, "msg": "The conditional check 'nova_get_venv | failed or nova_get_venv | skipped' failed. The error was: |failed expects a dictionary\n\nThe error appears to have been in '/etc/ansible/
fatal: [infra3]: FAILED! => {"failed": true, "msg": "The conditional check 'nova_get_venv | failed or nova_get_venv | skipped' failed. The error was: |failed expects a dictionary\n\nThe error appears to have been in '/etc/ansible/
This error from this file https:/
and if it happens to pass this. I still find another error on ceph_client that it shouldn't run this role at all.
TASK [ceph_client : Retrieve keyrings for openstack clients from ceph cluster] *
Monday 05 June 2017 14:35:46 +0700 (0:00:02.015) 0:04:08.358 ***********
skipping: [infra2] => (item=(
skipping: [infra3] => (item=(
skipping: [infra1] => (item=(
skipping: [infra2] => (item=(
skipping: [infra3] => (item=(
skipping: [infra1] => (item=(
skipping: [infra2] => (item=(
skipping: [infra3] => (item=(
skipping: [infra1] => (item=(
fatal: [infra3]: FAILED! => {"failed": true, "msg": "'ceph_mon_host' is undefined"}
fatal: [infra2]: FAILED! => {"failed": true, "msg": "'ceph_mon_host' is undefined"}
fatal: [infra1]: FAILED! => {"failed": true, "msg": "'ceph_mon_host' is undefined"}
I think Ansible didn't respect tags in os-nova-install.yml playbook file https:/
Changed in openstack-ansible: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in openstack-ansible: | |
assignee: | nobody → Jimmy McCrory (jimmy-mccrory) |
Looks legit, these tasks [1] are marked with both install and config. /github. com/openstack/ openstack- ansible- os_nova/ blob/master/ tasks/drivers/ kvm/nova_ compute_ kvm_install. yml#L58- L76 /github. com/openstack/ openstack- ansible- os_nova/ blob/master/ tasks/drivers/ kvm/nova_ compute_ kvm.yml# L16-L18
[1] https:/
[2] https:/
We should really enforce this, now that we can.