sudo kolla-ansible genconfig failed
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
kolla-ansible |
Fix Released
|
Undecided
|
Unassigned | ||
kolla-kubernetes |
New
|
Undecided
|
Unassigned |
Bug Description
I followed this doc: https:/
I used command sudo kolla-ansible genconfig , but got error message:
RUNNING HANDLER [mariadb : restart slave mariadb] *******
fatal: [localhost]: FAILED! => {"failed": true, "msg": "The conditional check 'inventory_hostname != master_host' failed. The error was: error while evaluating conditional (inventory_hostname != master_host): 'master_host' is undefined\n\nThe error appears to have been in '/usr/share/
Command failed ansible-playbook -i /usr/share/
My env:
OS: Centos7.3
Kernel: 4.12.4-
I tried to append "master_host: YOUR_HOSTNAME" into /etc/kolla/ globals. yml to workaround this problem.
But I 'm not quite sure whether it's the right solution or not.