Maverick: cloud-init fails during boot of instance
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: cloud-init
I get an error from cloud-init fairly frequently (approx 1 out of 10 launches). The traceback looks like
Traceback (most recent call last):
File "/usr/bin/
main()
File "/usr/bin/
cloud.
File "/usr/lib/
m_and_run
if self.sem_
File "/usr/lib/
m_has_run
semfile = self.sem_
File "/usr/lib/
m_getpath
freqtok = self.datasource
File "/usr/lib/
n get_instance_id
return(
KeyError: 'instance-id'
init: cloud-init main process (567) terminated with status 1
More complete (different) log on pastebin, http://
This happens on Maverick with eucalyptus 2.0+bzr1241-
I really think this is a duplicate of bug 571271, which is fix-released in lucid-updates.
The problem is that the metadata service is not completely up when cloud-init hits it. It is really a Eucalyptus bug, but is worked around by cloud-init by waiting longer (1050 seconds) before giving up.