Advertisement
AftabHussain

Untitled

Nov 29th, 2017
235
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 4.33 KB | None | 0 0
  1. root@hr-controller01:/home/redadmin# kolla-ansible -i all-in-one bootstrap-servers
  2. 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
  3. [DEPRECATION WARNING]: The use of 'include' for tasks has been deprecated. Use 'import_tasks' for static inclusions or 'include_tasks' for dynamic inclusions.
  4. This feature will be removed in a future release. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
  5. [DEPRECATION WARNING]: include is kept for backwards compatibility but usage is discouraged. The module documentation details page may explain more about this
  6. rationale.. This feature will be removed in a future release. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.
  7.  [WARNING]: Found variable using reserved name: action
  8.  
  9.  
  10. PLAY [Gather facts for all hosts] ******************************************************************************************************************************
  11.  
  12. TASK [setup] ***************************************************************************************************************************************************
  13. ok: [localhost]
  14.  
  15. PLAY [Gather facts for all hosts (if using --limit)] ***********************************************************************************************************
  16.  
  17. TASK [setup] ***************************************************************************************************************************************************
  18. skipping: [localhost] => (item=localhost)
  19.  
  20. PLAY [Apply role baremetal] ************************************************************************************************************************************
  21.  
  22. TASK [baremetal : include] *************************************************************************************************************************************
  23. included: /usr/local/share/kolla-ansible/ansible/roles/baremetal/tasks/bootstrap-servers.yml for localhost
  24.  
  25. TASK [baremetal : include] *************************************************************************************************************************************
  26. included: /usr/local/share/kolla-ansible/ansible/roles/baremetal/tasks/pre-install.yml for localhost
  27.  
  28. TASK [baremetal : Install python2 and python-simplejson] *******************************************************************************************************
  29. changed: [localhost]
  30.  
  31. TASK [baremetal : Gather facts] ********************************************************************************************************************************
  32. ok: [localhost]
  33.  
  34. TASK [baremetal : Ensure localhost in /etc/hosts] **************************************************************************************************************
  35. changed: [localhost]
  36.  
  37. TASK [baremetal : Generate /etc/hosts for all of the nodes] ****************************************************************************************************
  38. 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"}
  39.         to retry, use: --limit @/usr/local/share/kolla-ansible/ansible/kolla-host.retry
  40.  
  41. PLAY RECAP *****************************************************************************************************************************************************
  42. localhost                  : ok=6    changed=2    unreachable=0    failed=1
  43.  
  44. 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