cloud-init boothook logic broken with cloud-init 24.2 #5115
Labels
kind/bug
Categorizes issue or PR as related to a bug.
priority/important-soon
Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
triage/accepted
Indicates an issue or PR is ready to be actively worked on.
/kind bug
What steps did you take and what happened:
Ubuntu Noble recently upgraded cloud-init to version 24.2 (prior on 24.1.3). For some reason, this has broken
systemctl restart cloud-init
, as called by CAPA here. It doesn't actually restart cloud-init anymore, so/etc/secret-userdata.txt
never gets picked up, so the Kubernetes components never come up.What did you expect to happen:
Kubernetes nodes should come up with no problems.
Anything else you would like to add:
I've been digging into this for the past couple of days, here are some miscellaneous notes:
cloud-init clean --reboot
, run post-hoc, works as expected. So there's nothing wrong with/etc/secret-userdata.txt
or thecloud-config.txt
itself.git bisect
cloud-init :(features.py
, which has been sufficient to keep things working up through 24.1.Environment:
kubectl version
): 1.27, 1.28, 1.29 (unrelated to kube version)/etc/os-release
): Ubuntu 24.04 NobleThe text was updated successfully, but these errors were encountered: