Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- root@hr-controller01:/home/redadmin# kolla-ansible -i all-in-one bootstrap-servers
- Bootstraping servers : ansible-playbook -i all-in-one -e @/etc/kolla/globals.yml -e @/etc/kolla/passwords.yml -e CONFIG_DIR=/etc/kolla -e action=bootstrap-servers /usr/local/share/kolla-ansible/ansible/kolla-host.yml
- [DEPRECATION WARNING]: The use of 'include' for tasks has been deprecated. Use 'import_tasks' for static inclusions or 'include_tasks' for dynamic inclusions.
- This feature will be removed in a future release. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
- [DEPRECATION WARNING]: include is kept for backwards compatibility but usage is discouraged. The module documentation details page may explain more about this
- rationale.. This feature will be removed in a future release. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
- [WARNING]: Found variable using reserved name: action
- 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 [Apply role baremetal] ************************************************************************************************************************************
- TASK [baremetal : include] *************************************************************************************************************************************
- included: /usr/local/share/kolla-ansible/ansible/roles/baremetal/tasks/bootstrap-servers.yml for localhost
- TASK [baremetal : include] *************************************************************************************************************************************
- included: /usr/local/share/kolla-ansible/ansible/roles/baremetal/tasks/pre-install.yml for localhost
- TASK [baremetal : Install python2 and python-simplejson] *******************************************************************************************************
- changed: [localhost]
- TASK [baremetal : Gather facts] ********************************************************************************************************************************
- ok: [localhost]
- TASK [baremetal : Ensure localhost in /etc/hosts] **************************************************************************************************************
- changed: [localhost]
- TASK [baremetal : Generate /etc/hosts for all of the nodes] ****************************************************************************************************
- fatal: [localhost]: FAILED! => {"failed": true, "msg": "The conditional check 'inventory_hostname not in groups['bifrost'] or 'ansible_' + hostvars[inventory_hostname]['api_interface'] in hostvars[inventory_hostname]' failed. The error was: error while evaluating conditional (inventory_hostname not in groups['bifrost'] or 'ansible_' + hostvars[inventory_hostname]['api_interface'] in hostvars[inventory_hostname]): 'dict object' has no attribute 'api_interface'\n\nThe error appears to have been in '/usr/local/share/kolla-ansible/ansible/roles/baremetal/tasks/pre-install.yml': line 19, 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 *****************************************************************************************************************************************************
- localhost : ok=6 changed=2 unreachable=0 failed=1
- Command failed ansible-playbook -i all-in-one -e @/etc/kolla/globals.yml -e @/etc/kolla/passwords.yml -e CONFIG_DIR=/etc/kolla -e action=bootstrap-servers /usr/local/share/kolla-ansible/ansible/kolla-host.yml
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement