Issue #1 new

mallet add_client hangs on paramiko

Cristóbal Palmer
created an issue

Observed behavior:

Running a 'mallet add_client [...]' does all the correct creation of user, creation of files, etc. tasks, but hangs at the end, and if you press return, you get:

{{{ Mon, 23 Aug 2010 10:57:41 mallet.utils INFO chown caktus_portal:caktus_portal /home/caktus_portal/.ssh/authorized_keys

Exception in thread Thread-4: Traceback (most recent call last): File "/usr/lib/python2.6/", line 532, in __bootstrap_inner File "/home/cmpalmer/Envs/deploy/src/mallet/mallet/", line 31, in run self.write_to.write( File "/usr/local/lib/python2.6/dist-packages/paramiko/", line 314, in write self._write_all(data) File "/usr/local/lib/python2.6/dist-packages/paramiko/", line 435, in _write_all count = self._write(data) File "/usr/local/lib/python2.6/dist-packages/paramiko/", line 1213, in _write File "/usr/local/lib/python2.6/dist-packages/paramiko/", line 764, in sendall raise socket.error('Socket is closed') error: Socket is closed }}}

Expected behavior:

Expect mallet to exit cleanly after completing the chown of the .ssh/authorized_keys file.

Steps to reproduce:

Run a valid 'mallet add_client ...' command. Watch it hang. Ctrl-d will get you out. Ctrl-c will not.

Comments (0)

  1. Log in to comment