fab-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Fab-user] Problem w/ some solaris hosts


From: keobox
Subject: Re: [Fab-user] Problem w/ some solaris hosts
Date: Mon, 21 Mar 2011 10:46:12 +0000 (GMT)

Hi Jeff,

Is definitely a paramiko problem.

I tested this setup:

python 2.6.6
fabric 0.9.2
paramiko 1.7.6
pycrypto 2.0.1

I used both solaris and Linux hosts as clients, when the target host is solaris 
w/ OpenSSH_5.0p1-hpn13v1 sshd server, the bug is present.

I used fabric 0.9.2 because pycrypto 2.3 does not compile on solaris, in other 
words the setup described above is the only one I can install on both solaris 
and Linux: in fact fabric 0.9.2 setup.py downloads pycrypto 2.0.1 instead of 
2.3.

I was able to switch to paramiko 1.7.4, in this case fabric 1.0.0 and 0.9.2 
work on Linux, fabric 0.9.2 works on solaris.

If useful I will forward this to paramiko mailing list.

Best regards,
Cesare

--- Mer 16/3/11, Jeff Forcier <address@hidden> ha scritto:

> Da: Jeff Forcier <address@hidden>
> Oggetto: Re: [Fab-user] Problem w/ some solaris hosts
> A: address@hidden
> Cc: address@hidden
> Data: Mercoledì 16 marzo 2011, 22:40
> Hi Cesare,
> 
> Were you previously using Fabric 0.9.x, or would you be
> willing to
> quickly test it out (note that it's not backwards
> compatible so you
> may want to use a simple test case)? It would help to know
> if the
> problem still occurs if all other factors are the same but
> Fabric is
> 0.9.x.
> 
> My guess, however, is that it's purely a Paramiko problem,
> in which
> case  there's nothing we can do here and you would
> need to add a +1 on
> the Launchpad ticket you linked to, and/or mail the
> Paramiko mailing
> list.
> 
> Best,
> Jeff
> 
> On Tue, Mar 15, 2011 at 7:16 AM, keobox <address@hidden>
> wrote:
> > 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 mailing list
> > address@hidden
> > http://lists.nongnu.org/mailman/listinfo/fab-user
> >
> 
> 
> 
> -- 
> Jeff Forcier
> Unix sysadmin; Python/Ruby engineer
> http://bitprophet.org
> 






reply via email to

[Prev in Thread] Current Thread [Next in Thread]