[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fab-user] Problem w/ some solaris hosts
From: |
keobox |
Subject: |
[Fab-user] Problem w/ some solaris hosts |
Date: |
Tue, 15 Mar 2011 11:16:31 +0000 (GMT) |
Hi,
I'm trying to use fabric for administration of a lab w/ Linux and Solaris
workstations.
I've a strange behavior w/ 2 solaris host, a paramiko.SSHException('Channel
closed.') is raised.
The behavior is 100% reproducible and is similar to this bug:
https://bugs.launchpad.net/paramiko/+bug/413850
This is the setup where fab is running:
- Red Hat Enterprise Linux AS release 4 (Nahant Update 8).
- python 2.6.6
- fabric 1.0
- paramiko 1.7.6
- pycrypto 2.3
- The solaris release where fabric is not working is Solaris 10 10/08
s10s_u6wos_07b SPARC.
- The openssh release where fabric is not working is OpenSSH_5.0p1-hpn13v1.
Linux hosts work fine, solaris hosts w/ openssh version different from the
above version work fine.
Any suggestion?
Regards,
Cesare
p.s. here is the full traceback:
File
"/opt/dev-tools/python/Linux/2.6.6/python/lib/python2.6/site-packages/fabric/main.py",
line 537, in main
commands[name](*args, **kwargs)
File "/data1/ceplacan/labman/fabfile.py", line 12, in getinfo
print "hostname: %s, OS:%s" % get_os_and_name()
File "/data1/ceplacan/labman/fabfile.py", line 6, in get_os_and_name
out = fa.run('uname -a')
File
"/opt/dev-tools/python/Linux/2.6.6/python/lib/python2.6/site-packages/fabric/network.py",
line 304, in host_prompting_wrapper
return func(*args, **kwargs)
File
"/opt/dev-tools/python/Linux/2.6.6/python/lib/python2.6/site-packages/fabric/operations.py",
line 916, in run
return _run_command(command, shell, pty, combine_stderr)
File
"/opt/dev-tools/python/Linux/2.6.6/python/lib/python2.6/site-packages/fabric/operations.py",
line 840, in _run_command
combine_stderr)
File
"/opt/dev-tools/python/Linux/2.6.6/python/lib/python2.6/site-packages/fabric/operations.py",
line 735, in _execute
channel.exec_command(command)
File
"/opt/dev-tools/python/Linux/2.6.6/python/lib/python2.6/site-packages/paramiko/channel.py",
line 213, in exec_command
self._wait_for_event()
File
"/opt/dev-tools/python/Linux/2.6.6/python/lib/python2.6/site-packages/paramiko/channel.py",
line 1084, in _wait_for_event
raise e
EOFError
- [Fab-user] Problem w/ some solaris hosts,
keobox <=