2008-12-16 11:26:33 |
Eric Hammond |
bug |
|
|
added bug |
2008-12-16 17:55:25 |
Nick Barcet |
bug |
|
|
assigned to ubuntu-on-ec2 |
2008-12-22 11:12:30 |
Eric Hammond |
vmbuilder: status |
New |
Invalid |
|
2008-12-22 11:12:30 |
Eric Hammond |
vmbuilder: statusexplanation |
|
|
|
2008-12-22 11:12:40 |
Eric Hammond |
title |
vmbuilder EC2: wait for network before downloading ssh credentials or user-data |
Wait for network before downloading ssh credentials or user-data |
|
2009-02-02 14:52:37 |
Rick Clark |
ubuntu-on-ec2: status |
New |
In Progress |
|
2009-02-02 14:52:37 |
Rick Clark |
ubuntu-on-ec2: importance |
Undecided |
Medium |
|
2009-02-02 14:52:37 |
Rick Clark |
ubuntu-on-ec2: statusexplanation |
|
|
|
2009-02-02 14:52:37 |
Rick Clark |
ubuntu-on-ec2: milestone |
|
beta3 |
|
2009-05-04 22:31:34 |
Eric Hammond |
attachment added |
|
ami-5d59be34-console-log.txt http://launchpadlibrarian.net/26329573/ami-5d59be34-console-log.txt |
|
2009-05-26 07:41:48 |
Soren Hansen |
branch linked |
|
lp:~soren/ec2-init/jaunty.waitfornetwork |
|
2009-06-14 17:42:57 |
Abernix |
attachment added |
|
The Console Output http://launchpadlibrarian.net/27900911/failedboot.txt |
|
2009-06-18 22:26:20 |
Eric Hammond |
description |
When an instance boots quickly on Amazon EC2 the init code can occasionally try to use the network before the network is working.
This may not happen on most boots, but it is definitely worth adding in some code to check for the network before attempting to do critical tasks like:
- download ssh public key
- download user-data
Here is a sample of the script I use to download ssh credentials on the existing Ubuntu EC2 images:
http://ec2ubuntu.googlecode.com/svn/trunk/etc/init.d/ec2-get-credentials
Note the following code which waits until the network is working before it continues:
perl -MIO::Socket::INET -e '
until(new IO::Socket::INET("169.254.169.254:80")){print"Waiting for network...\n";sleep 1}
' | $logger
Until this check was added, people experienced random failures where an AMI would boot ok, but they were unable to ssh in because the ssh credentials download had failed.
Many non-Ubuntu AMIs do not experience this problem because they boot so slowly :) |
When an instance boots quickly on Amazon EC2 the init code can occasionally try to use the network before the network is working.
This may not happen on most boots, but it is definitely worth adding in some code to check for the network before attempting to do critical tasks like:
- download ssh public key
- download user-data
Here is a sample of the script I use to download ssh credentials on the existing Ubuntu EC2 images:
http://ec2ubuntu.googlecode.com/svn/trunk/etc/init.d/ec2-get-credentials
Note the code like the following which waits until the network is working before it continues:
perl -MIO::Socket::INET -e 'until(new IO::Socket::INET("169.254.169.254:80")){sleep 1}'
Until this check was added, people experienced random failures where an AMI would boot ok, but they were unable to ssh in because the ssh credentials download had failed.
Many non-Ubuntu AMIs do not experience this problem because they boot so slowly :) |
|
2009-07-06 14:15:31 |
Chuck Short |
ubuntu-on-ec2: status |
In Progress |
Fix Committed |
|
2009-07-08 16:42:09 |
Launchpad Janitor |
branch linked |
|
lp:ubuntu/karmic/ec2-init |
|
2009-08-11 16:02:39 |
Scott Moser |
ubuntu-on-ec2: status |
Fix Committed |
Fix Released |
|
2009-08-20 14:55:30 |
Scott Moser |
bug task added |
|
ec2-init (Ubuntu) |
|
2009-08-20 14:57:06 |
Scott Moser |
ec2-init (Ubuntu): status |
New |
Confirmed |
|
2009-08-24 13:32:46 |
Scott Moser |
ec2-init (Ubuntu): status |
Confirmed |
Fix Released |
|
2009-09-01 14:41:58 |
Scott Moser |
bug task added |
|
ubuntu-on-ec2/hardy |
|
2009-09-01 14:42:20 |
Scott Moser |
bug task added |
|
ubuntu-on-ec2/jaunty |
|
2009-09-01 14:44:55 |
Scott Moser |
bug task added |
|
ubuntu-on-ec2/intrepid |
|
2009-09-02 15:48:48 |
Thierry Carrez |
ubuntu-on-ec2/jaunty: status |
New |
Invalid |
|
2009-09-02 15:49:04 |
Thierry Carrez |
ubuntu-on-ec2/hardy: status |
New |
Triaged |
|
2009-09-02 15:49:08 |
Thierry Carrez |
ubuntu-on-ec2/intrepid: status |
New |
Triaged |
|
2009-09-02 15:49:17 |
Thierry Carrez |
ubuntu-on-ec2/hardy: importance |
Undecided |
High |
|
2009-09-02 15:49:21 |
Thierry Carrez |
ubuntu-on-ec2/intrepid: importance |
Undecided |
High |
|
2009-09-02 15:49:34 |
Thierry Carrez |
ubuntu-on-ec2/hardy: assignee |
|
Scott Moser (smoser) |
|
2009-09-02 15:49:58 |
Thierry Carrez |
ubuntu-on-ec2/intrepid: assignee |
|
Scott Moser (smoser) |
|
2009-09-08 20:38:28 |
Scott Moser |
nominated for series |
|
Ubuntu Hardy |
|
2009-09-08 20:38:28 |
Scott Moser |
nominated for series |
|
Ubuntu Intrepid |
|
2009-09-09 14:35:06 |
Scott Moser |
tags |
|
ec2-images uec-images |
|
2009-09-09 15:01:21 |
Scott Moser |
ubuntu-on-ec2/hardy: importance |
High |
Undecided |
|
2009-09-09 15:01:21 |
Scott Moser |
ubuntu-on-ec2/hardy: status |
Triaged |
Invalid |
|
2009-09-09 15:01:21 |
Scott Moser |
ubuntu-on-ec2/hardy: assignee |
Scott Moser (smoser) |
|
|
2009-09-09 15:01:25 |
Scott Moser |
ubuntu-on-ec2: status |
Fix Released |
Invalid |
|
2009-09-09 15:01:54 |
Scott Moser |
ubuntu-on-ec2/intrepid: importance |
High |
Undecided |
|
2009-09-09 15:01:54 |
Scott Moser |
ubuntu-on-ec2/intrepid: status |
Triaged |
Invalid |
|
2009-09-09 15:01:54 |
Scott Moser |
ubuntu-on-ec2/intrepid: assignee |
Scott Moser (smoser) |
|
|
2009-09-09 15:32:26 |
Chuck Short |
bug task added |
|
ec2-init (Ubuntu Hardy) |
|
2009-09-09 15:32:48 |
Chuck Short |
bug task added |
|
ec2-init (Ubuntu Intrepid) |
|
2009-09-11 01:49:54 |
Scott Moser |
ec2-init (Ubuntu Hardy): importance |
Undecided |
Critical |
|
2009-09-11 01:49:59 |
Scott Moser |
ec2-init (Ubuntu Intrepid): importance |
Undecided |
Medium |
|
2009-09-11 02:47:33 |
Scott Moser |
ec2-init (Ubuntu Hardy): status |
New |
Fix Committed |
|
2009-11-03 17:46:28 |
Scott Moser |
ec2-init (Ubuntu Hardy): status |
Fix Committed |
In Progress |
|
2009-11-03 17:46:55 |
Scott Moser |
ec2-init (Ubuntu Hardy): assignee |
|
Scott Moser (smoser) |
|
2009-11-05 20:02:39 |
Scott Moser |
ec2-init (Ubuntu Hardy): status |
In Progress |
Fix Committed |
|
2009-12-02 01:40:30 |
Scott Moser |
ec2-init (Ubuntu Hardy): status |
Fix Committed |
Fix Released |
|
2010-03-19 12:59:29 |
Scott Moser |
ec2-init (Ubuntu Intrepid): status |
New |
Won't Fix |
|