Prechecks fail on Xenial with "ERROR! 'ansible_python' is undefined"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla-ansible |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I followed the quick start guide using the "deployment" path on Ubuntu Xenial. It fails at the prechecks step:
# kolla-ansible prechecks -i /root/all-in-one
Pre-deployment checking : ansible-playbook -i /root/all-in-one -e @/etc/kolla/
PLAY [Gather facts for all hosts] *******
TASK [setup] *******
ok: [localhost]
PLAY [Gather facts for all hosts (if using --limit)] *******
TASK [setup] *******
skipping: [localhost] => (item=localhost)
PLAY [Detect openstack_release variable] *******
TASK [Get current kolla-ansible version number] *******
ok: [localhost -> localhost]
TASK [Set openstack_release variable] *******
ok: [localhost]
PLAY [Apply role prechecks] *******
TASK [setup] *******
ok: [localhost]
TASK [prechecks : include] *******
included: /usr/local/
TASK [prechecks : Checking the api_interface is present] *******
skipping: [localhost]
TASK [prechecks : Checking the api_interface is active] *******
skipping: [localhost]
TASK [prechecks : Checking the api_interface configuration] *******
skipping: [localhost]
TASK [prechecks : Checking the api_interface ip address configuration] *********
skipping: [localhost]
TASK [prechecks : include] *******
included: /usr/local/
TASK [prechecks : Checking Docker version] *******
ok: [localhost]
TASK [prechecks : Checking empty passwords in passwords.yml. Run kolla-genpwd if this task fails] ***
ok: [localhost -> localhost]
TASK [prechecks : include] *******
included: /usr/local/
TASK [prechecks : Checking docker-py version] *******
fatal: [localhost]: FAILED! => {"failed": true, "msg": "ERROR! 'ansible_python' is undefined"}
PLAY RECAP *******
localhost : ok=9 changed=0 unreachable=0 failed=1
Command failed ansible-playbook -i /root/all-in-one -e @/etc/kolla/
Changed in kolla-ansible: | |
status: | New → Confirmed |
Changed in kolla-ansible: | |
assignee: | nobody → shaofeng cheng (shaofeng-cheng) |
Changed in kolla-ansible: | |
status: | In Progress → Invalid |
This patch caused by error. /review. openstack. org/#/c/ 424515/
https:/