ubuntu@controller:~$ kolla-ansible -i ./multinode bootstrap-servers
Bootstrapping servers : ansible-playbook -e @/etc/kolla/globals.yml -e @/etc/kolla/passwords.yml -e CONFIG_DIR=/etc/kolla -e kolla_action=bootstrap-servers /home/ubuntu/.local/share/kolla-ansible/ansible/kolla-host.yml –inventory ./multinode
[WARNING]: Invalid characters were found in group names but not replaced, use -vvvv to see details
ERROR! the role ‘openstack.kolla.baremetal’ was not found in /home/ubuntu/.local/share/kolla-ansible/ansible/roles:/home/ubuntu/.ansible/roles:/usr/share/ansible/roles:/etc/ansible/roles:/home/ubuntu/.local/share/kolla-ansible/ansible
The error appears to be in ‘/home/ubuntu/.local/share/kolla-ansible/ansible/kolla-host.yml’: line 9, column 7, but may
be elsewhere in the file depending on the exact syntax problem.
The offending line appears to be:
roles:
– { role: openstack.kolla.baremetal,
^ here
Command failed ansible-playbook -e @/etc/kolla/globals.yml -e @/etc/kolla/passwords.yml -e CONFIG_DIR=/etc/kolla -e kolla_action=bootstrap-servers /home/ubuntu/.local/share/kolla-ansible/ansible/kolla-host.yml –inventory ./multinode
ubuntu@controller:~$ kolla-ansible install-deps
Installing Ansible Galaxy dependencies
Starting galaxy collection install process
Process install dependency map
Cloning into ‘/home/ubuntu/.ansible/tmp/ansible-local-24602x1j44lw5/tmp1dkjh14o/ansible-collection-kollaz1r_sygc’…
remote: Enumerating objects: 967, done.
remote: Counting objects: 100% (352/352), done.
remote: Compressing objects: 100% (140/140), done.
remote: Total 967 (delta 304), reused 212 (delta 212), pack-reused 615
Receiving objects: 100% (967/967), 159.15 KiB | 810.00 KiB/s, done.
Resolving deltas: 100% (456/456), done.
error: pathspec ‘stable/yoga’ did not match any file(s) known to git
ERROR! Failed to switch a cloned Git repo https://opendev.org/openstack/ansible-collection-kolla
to the requested revision stable/yoga
.
ERROR: Failed to install Ansible Galaxy dependencies
When I was executing the command “kolla-ansible -i ./multinode bootstrap-servers” I got the above error, I found out it was due to missing dependencies installed from Ansible galaxy but the path to install the dependencies was broken, How to fix it?
I tried installing non-Ansible Galaxy dependencies myself but it didn’t work
Đức Lương Chu is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.