Created
June 12, 2020 21:05
-
-
Save a1git/9e58e56866aa49f3f9bea455b093b6ae to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
root@deploy:/etc/kolla# kolla-ansible -i ./multinode bootstrap-servers | |
Bootstrapping servers : ansible-playbook -i ./multinode -e @/etc/kolla/globals.yml -e @/etc/kolla/passwords.yml -e CONFIG_DIR=/etc/kolla -e kolla_action=bootstrap-servers /usr/local/share/kolla-ansible/ansible/kolla-host.yml | |
PLAY [Gather facts for all hosts] ******************************************************************************* | |
TASK [Gather facts] ********************************************************************************************* | |
ok: [192.168.88.113] | |
ok: [192.168.88.111] | |
ok: [192.168.88.112] | |
ok: [localhost] | |
TASK [Group hosts to determine when using --limit] ************************************************************** | |
ok: [localhost] | |
ok: [192.168.88.112] | |
ok: [192.168.88.113] | |
ok: [192.168.88.111] | |
[WARNING]: Could not match supplied host pattern, ignoring: all_using_limit_True | |
PLAY [Gather facts for all hosts (if using --limit)] ************************************************************ | |
skipping: no hosts matched | |
PLAY [Apply role baremetal] ************************************************************************************* | |
TASK [baremetal : include_tasks] ******************************************************************************** | |
included: /usr/local/share/kolla-ansible/ansible/roles/baremetal/tasks/bootstrap-servers.yml for 192.168.88.111, 192.168.88.112, 192.168.88.113 | |
TASK [baremetal : include_tasks] ******************************************************************************** | |
included: /usr/local/share/kolla-ansible/ansible/roles/baremetal/tasks/pre-install.yml for 192.168.88.111, 192.168.88.112, 192.168.88.113 | |
TASK [baremetal : Ensure localhost in /etc/hosts] *************************************************************** | |
ok: [192.168.88.111] | |
ok: [192.168.88.112] | |
ok: [192.168.88.113] | |
TASK [baremetal : Ensure hostname does not point to 127.0.1.1 in /etc/hosts] ************************************ | |
ok: [192.168.88.111] | |
ok: [192.168.88.112] | |
ok: [192.168.88.113] | |
TASK [baremetal : Generate /etc/hosts for all of the nodes] ***************************************************** | |
fatal: [192.168.88.111]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'ansible.vars.hostvars.HostVars object' has no attribute u'192.168.88.111'\n\nThe error appears to have been in '/usr/local/share/kolla-ansible/ansible/roles/baremetal/tasks/pre-install.yml': line 25, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Generate /etc/hosts for all of the nodes\n ^ here\n"} | |
fatal: [192.168.88.112]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'ansible.vars.hostvars.HostVars object' has no attribute u'192.168.88.111'\n\nThe error appears to have been in '/usr/local/share/kolla-ansible/ansible/roles/baremetal/tasks/pre-install.yml': line 25, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Generate /etc/hosts for all of the nodes\n ^ here\n"} | |
fatal: [192.168.88.113]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'ansible.vars.hostvars.HostVars object' has no attribute u'192.168.88.111'\n\nThe error appears to have been in '/usr/local/share/kolla-ansible/ansible/roles/baremetal/tasks/pre-install.yml': line 25, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Generate /etc/hosts for all of the nodes\n ^ here\n"} | |
to retry, use: --limit @/usr/local/share/kolla-ansible/ansible/kolla-host.retry | |
PLAY RECAP ****************************************************************************************************** | |
192.168.88.111 : ok=6 changed=0 unreachable=0 failed=1 | |
192.168.88.112 : ok=6 changed=0 unreachable=0 failed=1 | |
192.168.88.113 : ok=6 changed=0 unreachable=0 failed=1 | |
localhost : ok=2 changed=0 unreachable=0 failed=0 | |
Command failed ansible-playbook -i ./multinode -e @/etc/kolla/globals.yml -e @/etc/kolla/passwords.yml -e CONFIG_DIR=/etc/kolla -e kolla_action=bootstrap-servers /usr/local/share/kolla-ansible/ansible/kolla-host.yml |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment