uec images should wait longer for metadata service
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init (Ubuntu) |
Fix Released
|
High
|
Scott Moser | ||
Lucid |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: cloud-init
as described in bug 566792 . The uec instances time out on waiting for the metadata service well too early (in ~ 20 seconds).
This needs to be increased so that they boot more reliably.
ProblemType: Bug
DistroRelease: Ubuntu 10.04
Package: cloud-init 0.5.10-0ubuntu1
ProcVersionSign
Uname: Linux 2.6.32-305-ec2 i686
Architecture: i386
Date: Wed Apr 28 14:27:01 2010
Ec2AMI: ami-2d4aa444
Ec2AMIManifest: ubuntu-
Ec2Availability
Ec2InstanceType: m1.small
Ec2Kernel: aki-754aa41c
Ec2Ramdisk: unavailable
PackageArchitec
ProcEnviron:
LANG=en_US.UTF-8
SHELL=/bin/bash
SourcePackage: cloud-init
======== Begin SRU Information =======
Impact: This bug shows up in UEC instances run when the UEC they are running on is under load.
How this has been addressed: The UEC instances depend on the metadata serviced provided by UEC. When the UEC is under high load, that meta data service may not be available immediately on instance boot. The previous version of cloud-init would wait only 10 seconds and then go on, causing failure. The changes here enable some debug output when that is occuring and wait for considerably longer (1050 seconds total)
Patch: http://
Regression Potential: The largest potential for regression that I can imagine is the case where 'cloud-init' is installed on a non-cloud instance. Previously, that would have resulted in delaying boot by 10 seconds and some python traces on the console. Now, the delay would be ~ 1050 seconds. There is no trivial way to determine "am I in the cloud", so solving this bug and avoiding problems is not easy. In general, the 'cloud-init' is a cloud specific package, not intended for local installation.
TEST CASE:
* repeatedly launch instances.
* previously, failure would be seen by instance not being reachable to ssh and a message such as 'Failed to get instance data' in the console log
======== End SRU Information =======
Related branches
Changed in cloud-init (Ubuntu): | |
assignee: | nobody → Scott Moser (smoser) |
status: | Triaged → In Progress |
description: | updated |
Changed in cloud-init (Ubuntu): | |
milestone: | none → lucid-updates |
tags: |
added: verification-done removed: verification-needed |
tags: | added: testcase |
Accepted cloud-init into lucid-proposed, the package will build now and be available in a few hours. Please test and give feedback here. See https:/ /wiki.ubuntu. com/Testing/ EnableProposed for documentation how to enable and use -proposed. Thank you in advance!