launchpad-dev team mailing list archive
-
launchpad-dev team
-
Mailing list archive
-
Message #04270
Re: ec2 instances not shutting down
On Fri, Aug 13, 2010 at 3:53 AM, Tim Penhey <tim.penhey@xxxxxxxxxxxxx> wrote:
> Hi All,
>
> I've had a number of situations where an ec2 instance hasn't shut down after
> it has sent out the email. The instance was still running almost two hours
> after sending the email.
>
According to Bazaar, the code that does this hasn't changed recently.
The most likely candidate is a 2010-07-25 change (r11224) that times
out the server using "shutdown +TIMEOUT" rather than a call to "at".
A cursory scan of lib/devscripts/ec2test/remote.py, the script that is
actually running on the ec2 instance, makes me think that the code is
correct.
If this happens again, could you please shell into the server and use
gdb/pystack or strace to figure out what's going on?
jml
Follow ups
References