Guest User

Untitled

a guest
Oct 15th, 2013
199
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.18 KB | None | 0 0
  1. ansible-playbook site.yml -vvvv
  2.  
  3. PLAY [Create a new instance] **************************************************
  4.  
  5. TASK: [Launch instance] *******************************************************
  6. <127.0.0.1> EXEC ['/bin/sh', '-c', 'mkdir -p $HOME/.ansible/tmp/ansible-1381822012.08-237759671902319 && echo $HOME/.ansible/tmp/ansible-1381822012.08-237759671902319']
  7. <127.0.0.1> REMOTE_MODULE ec2 keypair=optaplanner group=planner instance_type=m1.small image=ami-21682673 wait=true region=ap-southeast-1
  8. <127.0.0.1> PUT /tmp/tmpQRp6Cv TO /root/.ansible/tmp/ansible-1381822012.08-237759671902319/ec2
  9. <127.0.0.1> EXEC ['/bin/sh', '-c', '/usr/bin/python /root/.ansible/tmp/ansible-1381822012.08-237759671902319/ec2; rm -rf /root/.ansible/tmp/ansible-1381822012.08-237759671902319/ >/dev/null 2>&1']
  10. changed: [127.0.0.1] => {"changed": true, "instance_ids": ["i-8a7d01dc"], "instances": [{"ami_launch_index": "0", "architecture": "x86_64", "dns_name": "ec2-54-254-36-155.ap-southeast-1.compute.amazonaws.com", "hypervisor": "xen", "id": "i-8a7d01dc", "image_id": "ami-21682673", "instance_type": "m1.small", "kernel": "aki-fe1354ac", "key_name": "optaplanner", "launch_time": "2013-10-15T07:26:52.000Z", "placement": "ap-southeast-1a", "private_dns_name": "ip-10-138-39-114.ap-southeast-1.compute.internal", "private_ip": "10.138.39.114", "public_dns_name": "ec2-54-254-36-155.ap-southeast-1.compute.amazonaws.com", "public_ip": "54.254.36.155", "ramdisk": null, "root_device_name": "/dev/sda1", "root_device_type": "ebs", "state": "running", "state_code": 16, "virtualization_type": "paravirtual"}]}
  11.  
  12. TASK: [Add new instance to host group] ****************************************
  13. creating host via 'add_host': hostname=54.254.36.155
  14. added host to group via add_host module: launched
  15. ok: [127.0.0.1] => (item={u'ramdisk': None, u'kernel': u'aki-fe1354ac', u'root_device_name': u'/dev/sda1', u'placement': u'ap-southeast-1a', u'private_dns_name': u'ip-10-138-39-114.ap-southeast-1.compute.internal', u'ami_launch_index': u'0', u'image_id': u'ami-21682673', u'dns_name': u'ec2-54-254-36-155.ap-southeast-1.compute.amazonaws.com', u'launch_time': u'2013-10-15T07:26:52.000Z', u'id': u'i-8a7d01dc', u'public_ip': u'54.254.36.155', u'instance_type': u'm1.small', u'state': u'running', u'private_ip': u'10.138.39.114', u'key_name': u'optaplanner', u'public_dns_name': u'ec2-54-254-36-155.ap-southeast-1.compute.amazonaws.com', u'root_device_type': u'ebs', u'state_code': 16, u'hypervisor': u'xen', u'virtualization_type': u'paravirtual', u'architecture': u'x86_64'}) => {"item": {"ami_launch_index": "0", "architecture": "x86_64", "dns_name": "ec2-54-254-36-155.ap-southeast-1.compute.amazonaws.com", "hypervisor": "xen", "id": "i-8a7d01dc", "image_id": "ami-21682673", "instance_type": "m1.small", "kernel": "aki-fe1354ac", "key_name": "optaplanner", "launch_time": "2013-10-15T07:26:52.000Z", "placement": "ap-southeast-1a", "private_dns_name": "ip-10-138-39-114.ap-southeast-1.compute.internal", "private_ip": "10.138.39.114", "public_dns_name": "ec2-54-254-36-155.ap-southeast-1.compute.amazonaws.com", "public_ip": "54.254.36.155", "ramdisk": null, "root_device_name": "/dev/sda1", "root_device_type": "ebs", "state": "running", "state_code": 16, "virtualization_type": "paravirtual"}, "new_groups": ["launched"], "new_host": "54.254.36.155"}
  16.  
  17. TASK: [Wait for SSH to come up] ***********************************************
  18. <127.0.0.1> EXEC ['/bin/sh', '-c', 'mkdir -p $HOME/.ansible/tmp/ansible-1381822038.38-278391887892138 && echo $HOME/.ansible/tmp/ansible-1381822038.38-278391887892138']
  19. <127.0.0.1> REMOTE_MODULE wait_for host=ec2-54-254-36-155.ap-southeast-1.compute.amazonaws.com port=22 delay=60 timeout=320 state=started
  20. <127.0.0.1> PUT /tmp/tmpUNaOWF TO /root/.ansible/tmp/ansible-1381822038.38-278391887892138/wait_for
  21. <127.0.0.1> EXEC ['/bin/sh', '-c', '/usr/bin/python /root/.ansible/tmp/ansible-1381822038.38-278391887892138/wait_for; rm -rf /root/.ansible/tmp/ansible-1381822038.38-278391887892138/ >/dev/null 2>&1']
  22. ok: [127.0.0.1] => (item={u'ramdisk': None, u'kernel': u'aki-fe1354ac', u'root_device_name': u'/dev/sda1', u'placement': u'ap-southeast-1a', u'private_dns_name': u'ip-10-138-39-114.ap-southeast-1.compute.internal', u'ami_launch_index': u'0', u'image_id': u'ami-21682673', u'dns_name': u'ec2-54-254-36-155.ap-southeast-1.compute.amazonaws.com', u'launch_time': u'2013-10-15T07:26:52.000Z', u'id': u'i-8a7d01dc', u'public_ip': u'54.254.36.155', u'instance_type': u'm1.small', u'state': u'running', u'private_ip': u'10.138.39.114', u'key_name': u'optaplanner', u'public_dns_name': u'ec2-54-254-36-155.ap-southeast-1.compute.amazonaws.com', u'root_device_type': u'ebs', u'state_code': 16, u'hypervisor': u'xen', u'virtualization_type': u'paravirtual', u'architecture': u'x86_64'}) => {"changed": false, "elapsed": 144, "item": {"ami_launch_index": "0", "architecture": "x86_64", "dns_name": "ec2-54-254-36-155.ap-southeast-1.compute.amazonaws.com", "hypervisor": "xen", "id": "i-8a7d01dc", "image_id": "ami-21682673", "instance_type": "m1.small", "kernel": "aki-fe1354ac", "key_name": "optaplanner", "launch_time": "2013-10-15T07:26:52.000Z", "placement": "ap-southeast-1a", "private_dns_name": "ip-10-138-39-114.ap-southeast-1.compute.internal", "private_ip": "10.138.39.114", "public_dns_name": "ec2-54-254-36-155.ap-southeast-1.compute.amazonaws.com", "public_ip": "54.254.36.155", "ramdisk": null, "root_device_name": "/dev/sda1", "root_device_type": "ebs", "state": "running", "state_code": 16, "virtualization_type": "paravirtual"}, "port": 22, "state": "started"}
  23.  
  24. PLAY [Configure instance(s)] **************************************************
  25.  
  26. GATHERING FACTS ***************************************************************
  27. <54.254.36.155> ESTABLISH CONNECTION FOR USER: root
  28. <54.254.36.155> EXEC ['ssh', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/root/.ansible/cp/ansible-ssh-%h-%p-%r', '-o', 'Port=22', '-o', 'KbdInteractiveAuthentication=no', '-o', 'PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey', '-o', 'PasswordAuthentication=no', '-o', 'ConnectTimeout=10', u'54.254.36.155', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-1381822182.86-177756135834205 && echo $HOME/.ansible/tmp/ansible-1381822182.86-177756135834205'"]
  29. fatal: [54.254.36.155] => SSH encountered an unknown error. The output was:
  30. OpenSSH_5.9p1 Debian-5ubuntu1, OpenSSL 1.0.1 14 Mar 2012
  31. debug1: Reading configuration data /root/.ssh/config
  32. debug1: /root/.ssh/config line 3: Applying options for *
  33. debug1: Reading configuration data /etc/ssh/ssh_config
  34. debug1: /etc/ssh/ssh_config line 19: Applying options for *
  35. debug1: auto-mux: Trying existing master
  36. debug1: Control socket "/root/.ansible/cp/ansible-ssh-54.254.36.155-22-root" does not exist
  37. debug2: ssh_connect: needpriv 0
  38. debug1: Connecting to 54.254.36.155 [54.254.36.155] port 22.
  39. debug2: fd 3 setting O_NONBLOCK
  40. debug1: fd 3 clearing O_NONBLOCK
  41. debug1: Connection established.
  42. debug3: timeout: 9917 ms remain after connect
  43. debug1: permanently_set_uid: 0/0
  44. debug3: Incorrect RSA1 identifier
  45. debug3: Could not load "/root/.ssh/id_rsa" as a RSA1 public key
  46. debug1: identity file /root/.ssh/id_rsa type 1
  47. debug1: Checking blacklist file /usr/share/ssh/blacklist.RSA-2048
  48. debug1: Checking blacklist file /etc/ssh/blacklist.RSA-2048
  49. debug1: identity file /root/.ssh/id_rsa-cert type -1
  50. debug1: identity file /root/.ssh/id_dsa type -1
  51. debug1: identity file /root/.ssh/id_dsa-cert type -1
  52. debug1: identity file /root/.ssh/id_ecdsa type -1
  53. debug1: identity file /root/.ssh/id_ecdsa-cert type -1
  54. debug1: Remote protocol version 2.0, remote software version OpenSSH_5.3
  55. debug1: match: OpenSSH_5.3 pat OpenSSH*
  56. debug1: Enabling compatibility mode for protocol 2.0
  57. debug1: Local version string SSH-2.0-OpenSSH_5.9p1 Debian-5ubuntu1
  58. debug2: fd 3 setting O_NONBLOCK
  59. debug3: load_hostkeys: loading entries for host "54.254.36.155" from file "/root/.ssh/known_hosts"
  60. debug3: load_hostkeys: loaded 0 keys
  61. debug1: SSH2_MSG_KEXINIT sent
  62. debug1: SSH2_MSG_KEXINIT received
  63. debug2: kex_parse_kexinit: ecdh-sha2-nistp256,ecdh-sha2-nistp384,ecdh-sha2-nistp521,diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
  64. debug2: kex_parse_kexinit: [email protected],[email protected],[email protected],[email protected],[email protected],[email protected],[email protected],ecdsa-sha2-nistp256,ecdsa-sha2-nistp384,ecdsa-sha2-nistp521,ssh-rsa,ssh-dss
  65. debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,[email protected]
  66. debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,[email protected]
  67. debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,[email protected],hmac-sha2-256,hmac-sha2-256-96,hmac-sha2-512,hmac-sha2-512-96,hmac-ripemd160,[email protected],hmac-sha1-96,hmac-md5-96
  68. debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,[email protected],hmac-sha2-256,hmac-sha2-256-96,hmac-sha2-512,hmac-sha2-512-96,hmac-ripemd160,[email protected],hmac-sha1-96,hmac-md5-96
  69. debug2: kex_parse_kexinit: none,[email protected],zlib
  70. debug2: kex_parse_kexinit: none,[email protected],zlib
  71. debug2: kex_parse_kexinit:
  72. debug2: kex_parse_kexinit:
  73. debug2: kex_parse_kexinit: first_kex_follows 0
  74. debug2: kex_parse_kexinit: reserved 0
  75. debug2: kex_parse_kexinit: diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
  76. debug2: kex_parse_kexinit: ssh-rsa,ssh-dss
  77. debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,[email protected]
  78. debug2: kex_parse_kexinit: aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128,aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc,aes256-cbc,arcfour,[email protected]
  79. debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,[email protected],hmac-ripemd160,[email protected],hmac-sha1-96,hmac-md5-96
  80. debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,[email protected],hmac-ripemd160,[email protected],hmac-sha1-96,hmac-md5-96
  81. debug2: kex_parse_kexinit: none,[email protected]
  82. debug2: kex_parse_kexinit: none,[email protected]
  83. debug2: kex_parse_kexinit:
  84. debug2: kex_parse_kexinit:
  85. debug2: kex_parse_kexinit: first_kex_follows 0
  86. debug2: kex_parse_kexinit: reserved 0
  87. debug2: mac_setup: found hmac-md5
  88. debug1: kex: server->client aes128-ctr hmac-md5 none
  89. debug2: mac_setup: found hmac-md5
  90. debug1: kex: client->server aes128-ctr hmac-md5 none
  91. debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
  92. debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
  93. debug2: dh_gen_key: priv key bits set: 130/256
  94. debug2: bits set: 501/1024
  95. debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
  96. debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
  97. debug1: Server host key: RSA 93:0c:a1:af:14:ba:d8:88:f7:1b:64:88:80:de:fd:22
  98. debug3: load_hostkeys: loading entries for host "54.254.36.155" from file "/root/.ssh/known_hosts"
  99. debug3: load_hostkeys: loaded 0 keys
  100. Warning: Permanently added '54.254.36.155' (RSA) to the list of known hosts.
  101. debug2: bits set: 497/1024
  102. debug1: ssh_rsa_verify: signature correct
  103. debug2: kex_derive_keys
  104. debug2: set_newkeys: mode 1
  105. debug1: SSH2_MSG_NEWKEYS sent
  106. debug1: expecting SSH2_MSG_NEWKEYS
  107. debug2: set_newkeys: mode 0
  108. debug1: SSH2_MSG_NEWKEYS received
  109. debug1: Roaming not allowed by server
  110. debug1: SSH2_MSG_SERVICE_REQUEST sent
  111. debug2: service_accept: ssh-userauth
  112. debug1: SSH2_MSG_SERVICE_ACCEPT received
  113. debug2: key: /root/.ssh/id_rsa (0x7f4c8c0cde20)
  114. debug2: key: /root/.ssh/id_dsa ((nil))
  115. debug2: key: /root/.ssh/id_ecdsa ((nil))
  116. debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,password
  117. debug3: start over, passed a different list publickey,gssapi-keyex,gssapi-with-mic,password
  118. debug3: preferred gssapi-with-mic,gssapi-keyex,hostbased,publickey
  119. debug3: authmethod_lookup gssapi-with-mic
  120. debug3: remaining preferred: gssapi-keyex,hostbased,publickey
  121. debug3: authmethod_is_enabled gssapi-with-mic
  122. debug1: Next authentication method: gssapi-with-mic
  123. debug1: Unspecified GSS failure. Minor code may provide more information
  124. Credentials cache file '/tmp/krb5cc_0' not found
  125.  
  126. debug1: Unspecified GSS failure. Minor code may provide more information
  127. Credentials cache file '/tmp/krb5cc_0' not found
  128.  
  129. debug1: Unspecified GSS failure. Minor code may provide more information
  130.  
  131.  
  132. debug1: Unspecified GSS failure. Minor code may provide more information
  133. Credentials cache file '/tmp/krb5cc_0' not found
  134.  
  135. debug2: we did not send a packet, disable method
  136. debug3: authmethod_lookup gssapi-keyex
  137. debug3: remaining preferred: hostbased,publickey
  138. debug3: authmethod_is_enabled gssapi-keyex
  139. debug1: Next authentication method: gssapi-keyex
  140. debug1: No valid Key exchange context
  141. debug2: we did not send a packet, disable method
  142. debug3: authmethod_lookup publickey
  143. debug3: remaining preferred: ,publickey
  144. debug3: authmethod_is_enabled publickey
  145. debug1: Next authentication method: publickey
  146. debug1: Offering RSA public key: /root/.ssh/id_rsa
  147. debug3: send_pubkey_test
  148. debug2: we sent a publickey packet, wait for reply
  149. debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,password
  150. debug1: Trying private key: /root/.ssh/id_dsa
  151. debug3: no such identity: /root/.ssh/id_dsa
  152. debug1: Trying private key: /root/.ssh/id_ecdsa
  153. debug3: no such identity: /root/.ssh/id_ecdsa
  154. debug2: we did not send a packet, disable method
  155. debug1: No more authentication methods to try.
  156. Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).
  157.  
  158.  
  159. TASK: [Download EPEL repo] ****************************************************
  160. FATAL: no hosts matched or all hosts have already failed -- aborting
  161.  
  162.  
  163. PLAY RECAP ********************************************************************
  164. to retry, use: --limit @/root/site.retry
  165.  
  166. 127.0.0.1 : ok=3 changed=1 unreachable=0 failed=0
  167. 54.254.36.155 : ok=0 changed=0 unreachable=1 failed=0
Advertisement
Add Comment
Please, Sign In to add comment