Allow console login is possible when cloud-init fails to run
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-images |
Expired
|
Undecided
|
Unassigned | ||
cloud-init |
Expired
|
Undecided
|
Unassigned |
Bug Description
We are currently investigating how to improve our handling of failures during enlistment and commissioning. This bug discusses the situation where the boot process did correctly kick off, but cloud-init itself failed to correctly start; for instance, the network configuration may be incorrect or incomplete.
The first instinct when there is a failure is to log into the machine, but unfortunately that's not currently possible, because there are no credentials enabled on the machine. That makes debugging these failures particularly difficult.
Could we detect that cloud-init has failed to run and enable console login, perhaps analogously to what happens when Ubuntu fails to mount the root filesystem?
Hi Kiko,
I am going to add the cloud-init task and let them comment on this.
Thanks!