[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Fab-user] Trouble using fabric with EC2
From: |
Matt Calder |
Subject: |
Re: [Fab-user] Trouble using fabric with EC2 |
Date: |
Thu, 10 Jun 2010 17:38:56 -0400 |
Bruno,
No it is in a good group. I can log in using fabric if I restart it
and the instance is already running. I can see that fabric is inside
network.py trying to make the connection. I get one of two errors:
either timeout or low level socket error. In debugging, I added
retries to network.connect and it will fail repeatedly. First it times
out a few times, then gives the "low level socket" error. While it
doing that, I can ssh into it from a terminal. I wonder does paramiko
have a connection cache ? Maybe it is not really retrying? Thanks for
any help.
Matt
On Thu, Jun 10, 2010 at 5:23 PM, Bruno Clermont
<address@hidden> wrote:
> Is your instance in a security group that allow your IP and the port your
> trying to connect to?
> If it timeout, it's probably blocked by Amazon firewalls.
>
> On Thu, Jun 10, 2010 at 15:07, Matt Calder <address@hidden> wrote:
>>
>> Hi,
>>
>> I am having problems using fabric with EC2 instances. I am not
>> entirely sure fabric is even the source of the problem, but I am
>> hoping someone on this list can suggest a solution or a path to
>> investigate. Here is the problem. I start an EC2 instance using boto.
>> I wait for the instance to report its state as "running". I wait an
>> addition 60 seconds after that. Then I try to "run" things on the
>> instance through fabric. At that point I get:
>>
>> address@hidden run: ls
>>
>> Fatal error: Timed out trying to connect to
>> ec2-174-129-96-241.compute-1.amazonaws.com
>>
>> Aborting.
>>
>> Now, the interesting thing is this. During that additional 60 second
>> wait I can log into the instance from a separate terminal, moreover,
>> when I do that separate login, the fabric login succeeds.
>>
>> Obviously, there is not a lot to go on here, but I am not entirely
>> sure what additional information would be helpful. If anyone has a
>> suggestion of what I might try to do, I would greatly appreciate it.
>> Thanks,
>>
>> Matt
>>
>> _______________________________________________
>> Fab-user mailing list
>> address@hidden
>> http://lists.nongnu.org/mailman/listinfo/fab-user
>
>
- [Fab-user] Trouble using fabric with EC2, Matt Calder, 2010/06/10
- Re: [Fab-user] Trouble using fabric with EC2, Bruno Clermont, 2010/06/10
- Re: [Fab-user] Trouble using fabric with EC2,
Matt Calder <=
- Re: [Fab-user] Trouble using fabric with EC2, Jeff Forcier, 2010/06/10
- Re: [Fab-user] Trouble using fabric with EC2, Matt Calder, 2010/06/10
- Re: [Fab-user] Trouble using fabric with EC2, Patrick J McNerthney, 2010/06/10
- Re: [Fab-user] Trouble using fabric with EC2, Matt Calder, 2010/06/14
- Re: [Fab-user] Trouble using fabric with EC2, Patrick J McNerthney, 2010/06/14
- Re: [Fab-user] Trouble using fabric with EC2, Matt Calder, 2010/06/14
- Re: [Fab-user] Trouble using fabric with EC2, Patrick J McNerthney, 2010/06/14
- Re: [Fab-user] Trouble using fabric with EC2, Matt Calder, 2010/06/15