Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ansible-playbook site.yml -vvvv
- PLAY [Create a new instance] **************************************************
- TASK: [Launch instance] *******************************************************
- <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']
- <127.0.0.1> REMOTE_MODULE ec2 keypair=optaplanner group=planner instance_type=m1.small image=ami-21682673 wait=true region=ap-southeast-1
- <127.0.0.1> PUT /tmp/tmpQRp6Cv TO /root/.ansible/tmp/ansible-1381822012.08-237759671902319/ec2
- <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']
- 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"}]}
- TASK: [Add new instance to host group] ****************************************
- creating host via 'add_host': hostname=54.254.36.155
- added host to group via add_host module: launched
- 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"}
- TASK: [Wait for SSH to come up] ***********************************************
- <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']
- <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
- <127.0.0.1> PUT /tmp/tmpUNaOWF TO /root/.ansible/tmp/ansible-1381822038.38-278391887892138/wait_for
- <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']
- 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"}
- PLAY [Configure instance(s)] **************************************************
- GATHERING FACTS ***************************************************************
- <54.254.36.155> ESTABLISH CONNECTION FOR USER: root
- <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'"]
- fatal: [54.254.36.155] => SSH encountered an unknown error. The output was:
- OpenSSH_5.9p1 Debian-5ubuntu1, OpenSSL 1.0.1 14 Mar 2012
- debug1: Reading configuration data /root/.ssh/config
- debug1: /root/.ssh/config line 3: Applying options for *
- debug1: Reading configuration data /etc/ssh/ssh_config
- debug1: /etc/ssh/ssh_config line 19: Applying options for *
- debug1: auto-mux: Trying existing master
- debug1: Control socket "/root/.ansible/cp/ansible-ssh-54.254.36.155-22-root" does not exist
- debug2: ssh_connect: needpriv 0
- debug1: Connecting to 54.254.36.155 [54.254.36.155] port 22.
- debug2: fd 3 setting O_NONBLOCK
- debug1: fd 3 clearing O_NONBLOCK
- debug1: Connection established.
- debug3: timeout: 9917 ms remain after connect
- debug1: permanently_set_uid: 0/0
- debug3: Incorrect RSA1 identifier
- debug3: Could not load "/root/.ssh/id_rsa" as a RSA1 public key
- debug1: identity file /root/.ssh/id_rsa type 1
- debug1: Checking blacklist file /usr/share/ssh/blacklist.RSA-2048
- debug1: Checking blacklist file /etc/ssh/blacklist.RSA-2048
- debug1: identity file /root/.ssh/id_rsa-cert type -1
- debug1: identity file /root/.ssh/id_dsa type -1
- debug1: identity file /root/.ssh/id_dsa-cert type -1
- debug1: identity file /root/.ssh/id_ecdsa type -1
- debug1: identity file /root/.ssh/id_ecdsa-cert type -1
- debug1: Remote protocol version 2.0, remote software version OpenSSH_5.3
- debug1: match: OpenSSH_5.3 pat OpenSSH*
- debug1: Enabling compatibility mode for protocol 2.0
- debug1: Local version string SSH-2.0-OpenSSH_5.9p1 Debian-5ubuntu1
- debug2: fd 3 setting O_NONBLOCK
- debug3: load_hostkeys: loading entries for host "54.254.36.155" from file "/root/.ssh/known_hosts"
- debug3: load_hostkeys: loaded 0 keys
- debug1: SSH2_MSG_KEXINIT sent
- debug1: SSH2_MSG_KEXINIT received
- 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
- 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
- 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]
- 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]
- 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
- 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
- debug2: kex_parse_kexinit: none,[email protected],zlib
- debug2: kex_parse_kexinit: none,[email protected],zlib
- debug2: kex_parse_kexinit:
- debug2: kex_parse_kexinit:
- debug2: kex_parse_kexinit: first_kex_follows 0
- debug2: kex_parse_kexinit: reserved 0
- debug2: kex_parse_kexinit: diffie-hellman-group-exchange-sha256,diffie-hellman-group-exchange-sha1,diffie-hellman-group14-sha1,diffie-hellman-group1-sha1
- debug2: kex_parse_kexinit: ssh-rsa,ssh-dss
- 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]
- 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]
- debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,[email protected],hmac-ripemd160,[email protected],hmac-sha1-96,hmac-md5-96
- debug2: kex_parse_kexinit: hmac-md5,hmac-sha1,[email protected],hmac-ripemd160,[email protected],hmac-sha1-96,hmac-md5-96
- debug2: kex_parse_kexinit: none,[email protected]
- debug2: kex_parse_kexinit: none,[email protected]
- debug2: kex_parse_kexinit:
- debug2: kex_parse_kexinit:
- debug2: kex_parse_kexinit: first_kex_follows 0
- debug2: kex_parse_kexinit: reserved 0
- debug2: mac_setup: found hmac-md5
- debug1: kex: server->client aes128-ctr hmac-md5 none
- debug2: mac_setup: found hmac-md5
- debug1: kex: client->server aes128-ctr hmac-md5 none
- debug1: SSH2_MSG_KEX_DH_GEX_REQUEST(1024<1024<8192) sent
- debug1: expecting SSH2_MSG_KEX_DH_GEX_GROUP
- debug2: dh_gen_key: priv key bits set: 130/256
- debug2: bits set: 501/1024
- debug1: SSH2_MSG_KEX_DH_GEX_INIT sent
- debug1: expecting SSH2_MSG_KEX_DH_GEX_REPLY
- debug1: Server host key: RSA 93:0c:a1:af:14:ba:d8:88:f7:1b:64:88:80:de:fd:22
- debug3: load_hostkeys: loading entries for host "54.254.36.155" from file "/root/.ssh/known_hosts"
- debug3: load_hostkeys: loaded 0 keys
- Warning: Permanently added '54.254.36.155' (RSA) to the list of known hosts.
- debug2: bits set: 497/1024
- debug1: ssh_rsa_verify: signature correct
- debug2: kex_derive_keys
- debug2: set_newkeys: mode 1
- debug1: SSH2_MSG_NEWKEYS sent
- debug1: expecting SSH2_MSG_NEWKEYS
- debug2: set_newkeys: mode 0
- debug1: SSH2_MSG_NEWKEYS received
- debug1: Roaming not allowed by server
- debug1: SSH2_MSG_SERVICE_REQUEST sent
- debug2: service_accept: ssh-userauth
- debug1: SSH2_MSG_SERVICE_ACCEPT received
- debug2: key: /root/.ssh/id_rsa (0x7f4c8c0cde20)
- debug2: key: /root/.ssh/id_dsa ((nil))
- debug2: key: /root/.ssh/id_ecdsa ((nil))
- debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,password
- debug3: start over, passed a different list publickey,gssapi-keyex,gssapi-with-mic,password
- debug3: preferred gssapi-with-mic,gssapi-keyex,hostbased,publickey
- debug3: authmethod_lookup gssapi-with-mic
- debug3: remaining preferred: gssapi-keyex,hostbased,publickey
- debug3: authmethod_is_enabled gssapi-with-mic
- debug1: Next authentication method: gssapi-with-mic
- debug1: Unspecified GSS failure. Minor code may provide more information
- Credentials cache file '/tmp/krb5cc_0' not found
- debug1: Unspecified GSS failure. Minor code may provide more information
- Credentials cache file '/tmp/krb5cc_0' not found
- debug1: Unspecified GSS failure. Minor code may provide more information
- debug1: Unspecified GSS failure. Minor code may provide more information
- Credentials cache file '/tmp/krb5cc_0' not found
- debug2: we did not send a packet, disable method
- debug3: authmethod_lookup gssapi-keyex
- debug3: remaining preferred: hostbased,publickey
- debug3: authmethod_is_enabled gssapi-keyex
- debug1: Next authentication method: gssapi-keyex
- debug1: No valid Key exchange context
- debug2: we did not send a packet, disable method
- debug3: authmethod_lookup publickey
- debug3: remaining preferred: ,publickey
- debug3: authmethod_is_enabled publickey
- debug1: Next authentication method: publickey
- debug1: Offering RSA public key: /root/.ssh/id_rsa
- debug3: send_pubkey_test
- debug2: we sent a publickey packet, wait for reply
- debug1: Authentications that can continue: publickey,gssapi-keyex,gssapi-with-mic,password
- debug1: Trying private key: /root/.ssh/id_dsa
- debug3: no such identity: /root/.ssh/id_dsa
- debug1: Trying private key: /root/.ssh/id_ecdsa
- debug3: no such identity: /root/.ssh/id_ecdsa
- debug2: we did not send a packet, disable method
- debug1: No more authentication methods to try.
- Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password).
- TASK: [Download EPEL repo] ****************************************************
- FATAL: no hosts matched or all hosts have already failed -- aborting
- PLAY RECAP ********************************************************************
- to retry, use: --limit @/root/site.retry
- 127.0.0.1 : ok=3 changed=1 unreachable=0 failed=0
- 54.254.36.155 : ok=0 changed=0 unreachable=1 failed=0
Advertisement
Add Comment
Please, Sign In to add comment