Processing sleeps as long as the SSH timeout is

9 views
Skip to first unread message

tma...@gmail.com

unread,
Sep 23, 2015, 12:00:02 PM9/23/15
to Ansible Project
I am not sure if this is a bug or an incompatibility.

Part1:
user@host:/sw> time ansible -vvvv targetServer01 -m ping
Using /sw/ansible/ansible.cfg as config file
Loaded callback minimal of type stdout, v2.0
<targetServer01> ESTABLISH SSH CONNECTION FOR USER: user
<targetServer01> SSH: EXEC ssh -C -vvv -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=30 -o ControlPath=/tmp/ansible-ssh-%h-%p-%r -tt targetServer01 (umask 22 && mkdir -p "$HOME/.ansible/tmp/ansible-tmp-1443023667.7-245295646620754" && echo "$HOME/.ansible/tmp/ansible-tmp-1443023667.7-245295646620754")


Part2:
<targetServer01> PUT /tmp/tmpjOMTij TO /home/user/.ansible/tmp/ansible-tmp-1443023667.7-245295646620754/ping
<targetServer01> SSH: EXEC scp -vvv -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=30 -o ControlPath=/tmp/ansible-ssh-%h-%p-%r /tmp/tmpjOMTij [targetServer01]:/home/user/.ansible/tmp/ansible-tmp-1443023667.7-245295646620754/ping
<targetServer01> ESTABLISH SSH CONNECTION FOR USER: user
<targetServer01> SSH: EXEC ssh -C -vvv -o ControlMaster=auto -o ControlPersist=60s -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o ConnectTimeout=30 -o ControlPath=/tmp/ansible-ssh-%h-%p-%r -tt targetServer01 LANG=C LC_MESSAGES=C LC_CTYPE=C /usr/bin/python /home/user/.ansible/tmp/ansible-tmp-1443023667.7-245295646620754/ping; rm -rf "/home/user/.ansible/tmp/ansible-tmp-1443023667.7-245295646620754/" > /dev/null 2>&1
targetServer01 | SUCCESS => {
    "changed": false,
    "ping": "pong"
}

real    0m30.808s
user    0m0.508s
sys     0m0.172s


Between Part1 and Part2 the processing stucks for the length of my SSH timeout.

I am using a git checkout from yesterday.

Any ideas?

tma...@gmail.com

unread,
Sep 24, 2015, 2:47:39 AM9/24/15
to Ansible Project
Reply all
Reply to author
Forward
0 new messages