Skip to content

Instantly share code, notes, and snippets.

@pmourelle
Created February 28, 2015 00:58
Show Gist options
  • Save pmourelle/2f9017ebf706619a4142 to your computer and use it in GitHub Desktop.
Save pmourelle/2f9017ebf706619a4142 to your computer and use it in GitHub Desktop.
Trace of paramiko 1.15.2 error
[<irrelevant host>] run: ln -fs <some source> <some target>
!!! Parallel execution exception under host '<irrelevant host>':
Process <irrelevant host>:
Traceback (most recent call last):
File "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/multiprocessing/process.py", line 258, in _bootstrap
self.run()
File "/usr/local/Cellar/python/2.7.9/Frameworks/Python.framework/Versions/2.7/lib/python2.7/multiprocessing/process.py", line 114, in run
self._target(*self._args, **self._kwargs)
File "/Users/pmourelle/.envs/viifabric/lib/python2.7/site-packages/fabric/tasks.py", line 239, in inner
submit(task.run(*args, **kwargs))
File "/Users/pmourelle/.envs/viifabric/lib/python2.7/site-packages/fabric/tasks.py", line 174, in run
return self.wrapped(*args, **kwargs)
File "/Users/pmourelle/.envs/viifabric/lib/python2.7/site-packages/fabric/decorators.py", line 181, in inner
return func(*args, **kwargs)
File "/Users/pmourelle/code/vii-fabric/viifabric/deploy.py", line 286, in deploy_code
self.symlink_media()
File "/Users/pmourelle/code/vii-fabric/viifabric/deploy.py", line 331, in symlink_media
run('ln -fs %s . ' % link)
File "/Users/pmourelle/.envs/viifabric/lib/python2.7/site-packages/fabric/network.py", line 647, in host_prompting_wrapper
return func(*args, **kwargs)
File "/Users/pmourelle/.envs/viifabric/lib/python2.7/site-packages/fabric/operations.py", line 1054, in run
shell_escape=shell_escape)
File "/Users/pmourelle/.envs/viifabric/lib/python2.7/site-packages/fabric/operations.py", line 921, in _run_command
channel=default_channel(), command=wrapped_command, pty=pty,
File "/Users/pmourelle/.envs/viifabric/lib/python2.7/site-packages/fabric/state.py", line 397, in default_channel
chan = _open_session()
File "/Users/pmourelle/.envs/viifabric/lib/python2.7/site-packages/fabric/state.py", line 389, in _open_session
return connections[env.host_string].get_transport().open_session()
File "/Users/pmourelle/.envs/viifabric/lib/python2.7/site-packages/paramiko/transport.py", line 615, in open_session
max_packet_size=max_packet_size)
File "/Users/pmourelle/.envs/viifabric/lib/python2.7/site-packages/paramiko/transport.py", line 724, in open_channel
self._send_user_message(m)
File "/Users/pmourelle/.envs/viifabric/lib/python2.7/site-packages/paramiko/transport.py", line 1470, in _send_user_message
self._send_message(data)
File "/Users/pmourelle/.envs/viifabric/lib/python2.7/site-packages/paramiko/transport.py", line 1450, in _send_message
self.packetizer.send_message(data)
File "/Users/pmourelle/.envs/viifabric/lib/python2.7/site-packages/paramiko/packet.py", line 318, in send_message
self.write_all(out)
File "/Users/pmourelle/.envs/viifabric/lib/python2.7/site-packages/paramiko/packet.py", line 238, in write_all
n = self.__socket.send(out)
File "/Users/pmourelle/.envs/viifabric/lib/python2.7/site-packages/paramiko/proxy.py", line 71, in send
raise ProxyCommandFailure(' '.join(self.cmd), e.strerror)
ProxyCommandFailure: ('ssh -q -W <irrelevant host>:22 <irrelevant host2>', 'Broken pipe')
Fatal error: One or more hosts failed while executing task 'deploy_code'
Underlying exception:
('ssh -q -W <irrelevant host>:22 <irrelevant host2>', 'Broken pipe')
Aborting.
One or more hosts failed while executing task 'deploy_code'
Underlying exception:
('ssh -q -W <irrelevant host>:22 <irrelevant host2>', 'Broken pipe')
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment