[PATCH] - Cloud-Init temporary fix #1621
K-MeLeOn
started this conversation in
Show and tell
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hey,
After several creations, I saw the recent problem with cloud-init.
For several months I've been waiting for the patch to be merged, but it's still pending and I'm delivering cloud-init 23.3-x instead of 24.4.1 or a patched version.
In fact a bug appeared when resizing btrfs with the python script on the cloud-init side when the kernel is higher than a specific version.
The problem:
It's due to cloud-init < 24.4.1 iwith kernel >= 6.10.
To summarize, the problem comes from the btrfs --version command, which returns more data than the previous version and breaks the python script on cloud-init side.
If it's of any help to someone who needs it, I've solved the problem by creating a temporary patch:
./locals.tf
./control_planes.tf
./agents.tf
./autoscaler-agents.tf
./modules/host/variables.tf
./modules/host/main.tf
./modules/host/templates/cloud-init.yaml.tpl
./templates/autoscaler-cloudinit.yaml.tpl
Now don't forget to specify your good
dev
folder in thekube.tf
file :Execute the classic command loop:
Enjoy 👍
Beta Was this translation helpful? Give feedback.
All reactions