kubernetes-sigs / cluster-api-provider-aws

Kubernetes Cluster API Provider AWS provides consistent deployment and day 2 operations of "self-managed" and EKS Kubernetes clusters on AWS.
http://cluster-api-aws.sigs.k8s.io/
Apache License 2.0
646 stars 574 forks source link

cloud-init boothook logic broken with cloud-init 24.2 #5115

Open SriRamanujam opened 2 months ago

SriRamanujam commented 2 months ago

/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:

Environment:

dlipovetsky commented 2 months ago

/triage accepted /priority important-soon