Sorry about the delay on a response. I tried sending my stderr to a textfile
but the only thing it states is:
Update 312....4333
Aborting
Basically I am running a 'git pull' command. Here is what the code looks like:
with settings(warn_only=True):
if run("test -d %s" % code_dir).failed:
run("git clone git@someserver %s" % code_dir)
with cd('socialscan'):
run('pwd')
run('git pull git@someserver >> errorfile.txt')
It gives me the same error when I try to run the command put(localfile,
remotefile). It looks like it is only in two of my instances from different
images (I have 5 different images that I use for my instances). The others
work fine with no error.
MB
________________________________
From: Morgan Goose <[email protected]>
To: Maximilia Black <[email protected]>
Cc: "[email protected]" <[email protected]>
Sent: Friday, March 16, 2012 7:22 PM
Subject: Re: [Fab-user] ssh.transport
Do you have a full stacktrace to send out, and perhaps more info on
how you're using/running the fab task?
-goose
On Fri, Mar 16, 2012 at 4:56 PM, Maximilia Black <[email protected]> wrote:
> Hi,
>
> I'm having an error when I try to connect to one of my servers through
> fabric. I keep getting the following error:
>
> No handlers could be found for logger "ssh.transport"
>
> Fatal error: Error reading SSH protocol banner
> Aborting
>
> I'm hoping someone has come across something like this that can shed some
> light? I need to instantiate dozens of ec2
> instances at once and through fabric update some applications. Now on some
> of the instances everything works fine but on others I get this error, and
> it's at random. When I retry to do the same command (like run('something'))
> after a minute it works okay...
> Any help on this would be greatly appreciated.
>
> MB
>
> _______________________________________________
> Fab-user mailing list
> [email protected]
> https://lists.nongnu.org/mailman/listinfo/fab-user
>_______________________________________________
Fab-user mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/fab-user