Hello all,
I don't know if this is a paramiko problem, or our connection implementation for it, but the SSH connection seems to handle this okay.
From running a 'command: yum update -y' for CentOS 5 machines on the recent upgrade, paramiko would sometimes hang indefinitely.
Checking running processes and logs on the remote host would show that the yum update completed successfully.
I believe the problem is having a large stdout returned.
(I tested on localhost dumping big randomly generated string into a file and just catting from a playbook.)
SSH spits out a buffered amount at a time, while paramiko just hangs.
(no load on either local or remote host, no disk io happening, the process is just sitting around)
Another case that may be related is an EC2 playbook for setting up cloud9.
I believe the error started showing up after I switched back to paramiko from Fireball.
The first sourcemint install (which dumps a whole lot to stdout) tends to fail.
The error message claims mismatching quotes, but the install was successful.
I thought I should bring this up in case anyone runs into similar behaviour.
I remember something similar before in the mailing list, but I couldn't find it.
I think it was related to filesizes and paramiko??
PS: My cloud 9 playbook can be found here.
https://github.com/fdavis/ansible-ec2-env/tree/master/c9-servers/c9