** Description changed: [ Impact ] There was an upstream change that moved `RequiresMountsFor=/var/lib/cloud` from cloud-init-local.service to cloud-init-main.service. Since cloud-init-main.service was patched out of stable downstreams, this `RequiresMountsFor` line was accidentally removed rather than preserved in cloud-init-local.service. This causes NoCloud to be undetected in some cases (identified when using LVM). The fix is to add `RequiresMountsFor=/var/lib/cloud` back into cloud- init-local.service. [ Test Plan ] The root cause is that cloud-init runs before /var is mounted and misses NoCloud data that gets mounted there. To verify the fix, we will analyze - the critical chain on boot and ensure the /var mount is included before - cloud-init-local.service + cloud-init's boot dependencies and ensure the /var mount is included + before cloud-init-local.service [ Where problems could occur ] The removal allowed cloud-init to start earlier than it had previously. Fixing this means cloud-init may finish slightly later than it had while this bug was present. [ Other Info ] Upstream bug: https://github.com/canonical/cloud-init/issues/6001
-- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/2097441 Title: nocloud detection failure To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/cloud-init/+bug/2097441/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs