Advertisement
Guest User

Untitled

a guest
Mar 22nd, 2016
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.93 KB | None | 0 0
  1. os@7:/opt/openstack-ansible/playbooks$ sudo openstack-ansible setup-hosts.yml -vvvv
  2. Variable files: "-e @/etc/openstack_deploy/user_group_vars.yml -e @/etc/openstack_deploy/user_secrets.yml -e @/etc/openstack_deploy/user_variables.yml "
  3.  
  4. PLAY [Basic host setup] *******************************************************
  5.  
  6. GATHERING FACTS ***************************************************************
  7. <172.27.255.84> ESTABLISH CONNECTION FOR USER: root
  8. <10.4.1.113> ESTABLISH CONNECTION FOR USER: root
  9. <172.27.255.84> REMOTE_MODULE setup
  10. <172.27.255.93> ESTABLISH CONNECTION FOR USER: root
  11. <10.4.1.113> REMOTE_MODULE setup
  12. <172.27.255.91> ESTABLISH CONNECTION FOR USER: root
  13. <172.27.255.164> ESTABLISH CONNECTION FOR USER: root
  14. <172.27.255.93> REMOTE_MODULE setup
  15. <172.27.255.91> REMOTE_MODULE setup
  16. <172.27.255.164> REMOTE_MODULE setup
  17. <172.27.255.84> EXEC ssh -C -tt -vvv -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/home/os/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/home/os/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=120 172.27.255.84 /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1458671499.99-38377904647735 && echo $HOME/.ansible/tmp/ansible-tmp-1458671499.99-38377904647735'
  18. <10.4.1.113> EXEC ssh -C -tt -vvv -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/home/os/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/home/os/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=120 10.4.1.113 /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1458671499.99-28043973332190 && echo $HOME/.ansible/tmp/ansible-tmp-1458671499.99-28043973332190'
  19. <172.27.255.93> EXEC ssh -C -tt -vvv -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/home/os/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/home/os/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=120 172.27.255.93 /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1458671499.99-247742941146890 && echo $HOME/.ansible/tmp/ansible-tmp-1458671499.99-247742941146890'
  20. <172.27.255.91> EXEC ssh -C -tt -vvv -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/home/os/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/home/os/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=120 172.27.255.91 /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1458671499.99-239068187999404 && echo $HOME/.ansible/tmp/ansible-tmp-1458671499.99-239068187999404'
  21. <172.27.255.164> EXEC ssh -C -tt -vvv -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/home/os/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/home/os/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=120 172.27.255.164 /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1458671499.99-253354461562706 && echo $HOME/.ansible/tmp/ansible-tmp-1458671499.99-253354461562706'
  22. fatal: [infra1] => SSH Error: Permission denied (publickey,password).
  23. while connecting to 172.27.255.84:22
  24. It is sometimes useful to re-run the command using -vvvv, which prints SSH debug output to help diagnose the issue.
  25. <172.27.255.164> ESTABLISH CONNECTION FOR USER: root
  26. fatal: [900089-compute001] => SSH Error: Permission denied (publickey,password).
  27. while connecting to 172.27.255.164:22
  28. It is sometimes useful to re-run the command using -vvvv, which prints SSH debug output to help diagnose the issue.
  29. <172.27.255.164> REMOTE_MODULE setup
  30. fatal: [storage1] => SSH Error: Permission denied (publickey,password).
  31. while connecting to 10.4.1.113:22
  32. It is sometimes useful to re-run the command using -vvvv, which prints SSH debug output to help diagnose the issue.
  33. <172.27.255.164> EXEC ssh -C -tt -vvv -o ControlMaster=auto -o ControlPersist=60s -o ControlPath="/home/os/.ansible/cp/ansible-ssh-%h-%p-%r" -o Port=22 -o IdentityFile="/home/os/.ssh/id_rsa" -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=120 172.27.255.164 /bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1458671500.08-121316397320847 && echo $HOME/.ansible/tmp/ansible-tmp-1458671500.08-121316397320847'
  34. fatal: [infra3] => SSH Error: Permission denied (publickey,password).
  35. while connecting to 172.27.255.93:22
  36. It is sometimes useful to re-run the command using -vvvv, which prints SSH debug output to help diagnose the issue.
  37. fatal: [infra2] => SSH Error: Permission denied (publickey,password).
  38. while connecting to 172.27.255.91:22
  39. It is sometimes useful to re-run the command using -vvvv, which prints SSH debug output to help diagnose the issue.
  40. fatal: [compute1] => SSH Error: Permission denied (publickey,password).
  41. while connecting to 172.27.255.164:22
  42. It is sometimes useful to re-run the command using -vvvv, which prints SSH debug output to help diagnose the issue.
  43.  
  44. TASK: [apt_package_pinning | Add apt pin preferences] *************************
  45. FATAL: no hosts matched or all hosts have already failed -- aborting
  46.  
  47.  
  48. PLAY RECAP ********************************************************************
  49. to retry, use: --limit @/home/os/setup-hosts.retry
  50.  
  51. 900089-compute001 : ok=0 changed=0 unreachable=1 failed=0
  52. compute1 : ok=0 changed=0 unreachable=1 failed=0
  53. infra1 : ok=0 changed=0 unreachable=1 failed=0
  54. infra2 : ok=0 changed=0 unreachable=1 failed=0
  55. infra3 : ok=0 changed=0 unreachable=1 failed=0
  56. storage1 : ok=0 changed=0 unreachable=1 failed=0
  57.  
  58. os@7:/opt/openstack-ansible/playbooks$
  59.  
  60. $ openstack-ansible --version
  61. Variable files: "-e @/etc/openstack_deploy/user_group_vars.yml -e @/etc/openstack_deploy/user_secrets.yml -e @/etc/openstack_deploy/user_variables.yml "
  62. ansible-playbook 1.9.4
  63. configured module search path = /etc/ansible/plugins/library
  64.  
  65. [defaults]
  66. # Additional plugins
  67. lookup_plugins = /etc/ansible/plugins/lookup
  68. filter_plugins = /etc/ansible/plugins/filter
  69. action_plugins = /etc/ansible/plugins/action
  70. library = /etc/ansible/plugins/library
  71. transport = smart
  72. remote_port = 22
  73. #ask_sudo_pass = True
  74. # Fact caching
  75. gathering = smart
  76. fact_caching = jsonfile
  77. fact_caching_connection = /etc/openstack_deploy/ansible_facts
  78. fact_caching_timeout = 86400
  79.  
  80. inventory = inventory
  81. #host_key_checking = False
  82.  
  83. # Set color options
  84. nocolor = 0
  85.  
  86. # SSH timeout
  87. timeout = 120
  88.  
  89. private_key_file = ~/.ssh/id_rsa
  90.  
  91.  
  92.  
  93. [ssh_connection]
  94. #pipelining = True
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement