failed: [21ct-dev1-pivot] => {"cmd": "rsync --delay-updates -FF --compress --timeout=10 --archive --rsh 'ssh -i /Users/kbroughton/.ssh/identities/app_dev1_key -o StrictHostKeyChecking=no' --out-format='<<CHANGED>>%i %n%L' /opt/java/jdks/testjdk cloud-user@app-dev1-pivot:/tmp/ansible/jdk1.7.0_25.rpm", "failed": true, "item": "", "rc": 23}
msg: Warning: Identity file /Users/kbroughton/.ssh/identities/app_dev1_key not accessible: No such file or directory.
rsync: mkstemp "/tmp/ansible/.jdk1.7.0_25.rpm.NYd0r7" failed: Permission denied (13)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1039) [sender=3.0.6]
Killed by signal 1.
It appears there are several problems:
1. For the pivot vm the delegate is trying to find the key in /Users/kbroughton/.ssh rather than /root/.ssh as specified in the delegate's .ssh/config
2. For the lynx01 vm, the delegate is trying to ssh as root. Cloud vms have no root user, only cloud-user. Note the connection from delegate to pivot correctly attempts to use cloud-user.
Host 21ct-dev1-*
ProxyCommand ssh 10.x.y.z -W %h:%p
User cloud-user
IdentityFile /root/.ssh/identities/app_dev1_key
Host 10.1.30.186
User cloud-user
HostName app-dev1-pivot
IdentityFile ~/.ssh/identities/app_dev1_key
TASK: [centos_common | Get the jdk from local_mirror_host] ********************
<dev1-pivot> ESTABLISH CONNECTION FOR USER: root
<dev1-pivot> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/kbroughton/.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', 'User=root', '-o', 'ConnectTimeout=10', u'dev1-pivot', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1397489133.67-55633491203993 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-1397489133.67-55633491203993 && echo $HOME/.ansible/tmp/ansible-tmp-1397489133.67-55633491203993'"]
<dev1-pivot> ESTABLISH CONNECTION FOR USER: root
<dev1-pivot> ESTABLISH CONNECTION FOR USER: root
<dev1-pivot> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/kbroughton/.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', 'User=root', '-o', 'ConnectTimeout=10', u'dev1-pivot', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1397489133.68-9986*****848 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-139748****48848 && echo $HOME/.ansible/tmp/ansible-tmp-13974***97748848'"]
<dev1-pivot> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/kbroughton/.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', 'User=root', '-o', 'ConnectTimeout=10', u'dev1-pivot', "/bin/sh -c 'mkdir -p $HOME/.ansible/tmp/ansible-tmp-1397489***24490 && chmod a+rx $HOME/.ansible/tmp/ansible-tmp-13974***924490 && echo $HOME/.ansible/tmp/ansible-tmp-1397489133.68-74531171924490'"]
<dev1-pivot> PUT /var/folders/t2/h2233****s8_088c/T/tmpqymjL0 TO /root/.ansible/tmp/ansible-tmp-1397***748848/synchronize
<dev1-pivot> PUT /var/folders/t2/h223***fk7s8_088c/T/tmpZmzUty TO /root/.ansible/tmp/ansible-tmp-139748***3993/synchronize
<dev1-pivot> PUT /var/folders/t2/h2233***fk7s8_088c/T/tmpUm0OXD TO /root/.ansible/tmp/ansible-tmp-1397489***24490/synchronize
<dev1-pivot> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/kbroughton/.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', 'User=root', '-o', 'ConnectTimeout=10', u'dev1-pivot', "/bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-13974***993/synchronize; rm -rf /root/.ansible/tmp/ansible-tmp-139***1203993/ >/dev/null 2>&1'"]
<dev1-pivot> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/kbroughton/.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', 'User=root', '-o', 'ConnectTimeout=10', u'dev1-pivot', "/bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-13974***4490/synchronize; rm -rf /root/.ansible/tmp/ansible-tmp-1397489133.68-74531171924490/ >/dev/null 2>&1'"]
<dev1-pivot> EXEC ['ssh', '-C', '-tt', '-vvv', '-o', 'ControlMaster=auto', '-o', 'ControlPersist=60s', '-o', 'ControlPath=/Users/kbroughton/.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', 'User=root', '-o', 'ConnectTimeout=10', u'dev1-pivot', "/bin/sh -c '/usr/bin/python /root/.ansible/tmp/ansible-tmp-13974***748848/synchronize; rm -rf /root/.ansible/tmp/ansible-tmp-13974***48/ >/dev/null 2>&1'"]
ok: [localhost] => {"changed": false, "cmd": "rsync --delay-updates -FF --compress --timeout=10 --archive --rsh 'ssh -o StrictHostKeyChecking=no' --out-format='<<CHANGED>>%i %n%L' /opt/java/jdks/testjdk /tmp/ansible/jdk1.7.0_25.rpm", "item": "", "msg": "", "rc": 0}
failed: [21ct-dev1-lynx01] => {"cmd": "rsync --delay-updates -FF --compress --timeout=10 --archive --rsh 'ssh -o StrictHostKeyChecking=no' --out-format='<<CHANGED>>%i %n%L' /opt/java/jdks/testjdk root@21ct-dev1-lynx01:/tmp/ansible/jdk1.7.0_25.rpm", "failed": true, "item": "", "rc": 2}
msg: Warning: Permanently added '21ct-dev1-lynx01' (RSA) to the list of known hosts.
protocol version mismatch -- is your shell clean?
(see the rsync man page for an explanation)
rsync error: protocol incompatibility (code 2) at compat.c(171) [sender=3.0.6]
failed: [21ct-dev1-pivot] => {"cmd": "rsync --delay-updates -FF --compress --timeout=10 --archive --rsh 'ssh -i /Users/kbroughton/.ssh/identities/21ct_dev1_key -o StrictHostKeyChecking=no' --out-format='<<CHANGED>>%i %n%L' /opt/java/jdks/testjdk cloud-user@21ct-dev1-pivot:/tmp/ansible/jdk1.7.0_25.rpm", "failed": true, "item": "", "rc": 23}
msg: Warning: Identity file /Users/kbroughton/.ssh/identities/21ct_dev1_key not accessible: No such file or directory.
rsync: mkstemp "/tmp/ansible/.jdk1.7.0_25.rpm.NYd0r7" failed: Permission denied (13)
rsync error: some files/attrs were not transferred (see previous errors) (code 23) at main.c(1039) [sender=3.0.6]
Killed by signal 1.
To view this discussion on the web visit https://groups.google.com/d/msgid/ansible-project/1eaf296e-aa4b-4c79-b1ee-cbbac6e32a5c%40googlegroups.com.--
You received this message because you are subscribed to the Google Groups "Ansible Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ansible-proje...@googlegroups.com.
To post to this group, send email to ansible...@googlegroups.com.