`cloud-init status` should distinguish between "permanently disabled" and "disabled for this boot"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init |
Fix Released
|
Medium
|
Chad Smith |
Bug Description
Using ds-identify and a systemd generator, cloud-init can detect that it should disable itself for a particular boot when there is nothing for it to do. However, if on the next boot a datasource becomes applicable (e.g. a NoCloud/ConfigDrive device is presented to the system) then cloud-init will _not_ be disabled, because ds-identify will detect an applicable datasource.
If users want a stronger guarantee that cloud-init will not run, then they can touch /etc/cloud/
In both of these cases, `cloud-init status` reports "disabled". This means that users who want to confirm that cloud-init will never run in the future given its current configuration have to check all the potential ways that cloud-init might be permanently disabled (/etc/..., kernel cmdline, maybe other options that I haven't documented here, maybe new options in the future) themselves.
We should distinguish between these two modalities of "disabled" for users in our status output.
Changed in cloud-init: | |
status: | New → Incomplete |
Changed in cloud-init: | |
status: | Triaged → In Progress |
assignee: | nobody → Chad Smith (chad.smith) |
This is related to bug 1883124.