Comment 8 for bug 566792

Revision history for this message
Scott Moser (smoser) wrote : Re: UEC guests sometimes fail on consuming user data

I've run some tests with this patch applied on the system that Carlos was running on. The patch seems to do what was intended, to block and wait for existance of metadata service with instance-id field or wait for 20 seconds.

The result is that the instances still fail, but now, rather than failing with 'consume userdata', they die like:

| waiting for md at http://169.254.169.254/2009-04-04/meta-data/instance-id (try 1/20)
| ...
| waiting for md at http://169.254.169.254/2009-04-04/meta-data/instance-id (try 19/20)
| Could not find data source
| Failed to get instance datainit: cloud-init main process (411) terminated with status 1^M
| mountall: Event failed
| init: plymouth-log main p

I'll also note that Dustin, and I have also seen failures of this type. It is the primary failure for "ssh isnt available" that we've run into.