Hitting ansible error "The module os_keystone_role was not found in configured module paths"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla |
Invalid
|
Undecided
|
Unassigned |
Bug Description
Hi, I'm hitting strange error.
Trying to deploy Kolla Mitaka All In One, followed docs, Ubuntu 16.04
Installed Ansible, Kolla in required versions.
# pip list | grep kolla
kolla (2.0.3)
# pip list | grep ansible
ansible (1.9.4)
Hitting Ansible error:
snip ----
TASK: [horizon | Creating the _member_ role] *******
failed: [localhost] => {"attempts": 10, "changed": false, "cmd": ["docker", "exec", "-t", "kolla_toolbox", "/usr/bin/ansible", "localhost", "-m", "os_keystone_role", "-a", "name=_member_ auth={# openstack_
stdout: localhost | FAILED! => {
"failed": true,
"msg": "The module os_keystone_role was not found in configured module paths. Additionally, core modules are missing. If this is a checkout, run 'git submodule update --init --recursive' to correct this problem."
}
msg: Task failed as maximum retries was encountered
FATAL: all hosts have already failed -- aborting
snip ----
According to Ansible release notes, os_keystone_role was introduced in Ansible 2.1
Not sure why Kolla tries to leverage this with Ansible 1.9.4?
Any ideas?
Hi, ansible command is executed from kolla_toolbox container.
kolla-toolbox should have 2.1.1 installed in kolla tag 2.0.3 [0]
Can you check ansible version? docker exec -ti kolla_toolbox /usr/bin/ansible --version
Sadly, if is a bug in kolla, cannot be fixed because mitaka is EOL and out of support by OpenStack community.
[0] https:/ /github. com/openstack/ kolla/blob/ 2.0.3/docker/ kolla-toolbox/ Dockerfile. j2#L38
Regards