identiops / terraform-hcloud-k3s

Private k3s Kubernetes Terraform installer for Hetzner Cloud
https://identiops.com/projects/k3s
MIT License
61 stars 7 forks source link

Incompatible with Ubuntu 24.04 #12

Open mogol07 opened 2 months ago

mogol07 commented 2 months ago

Hi! Looks like using image "ubuntu-24.04" is broken module. After "successful" installation, cloud-init status showed an "error".

root@poc-workers-01:~# sudo cloud-init schema --system
Found cloud-config data types: user-data, vendor-data, network-config

1. user-data at /var/lib/cloud/instances/52559466/cloud-config.txt:
  Invalid user-data /var/lib/cloud/instances/52559466/cloud-config.txt
  Error: Cloud config schema errors: network: Additional properties are not allowed ('network' was unexpected)

2. vendor-data at /var/lib/cloud/instances/52559466/vendor-cloud-config.txt:
  Invalid vendor-data /var/lib/cloud/instances/52559466/vendor-cloud-config.txt
  Error: Cloud config schema errors: system_info: Additional properties are not allowed ('system_info' was unexpected)

3. network-config at /var/lib/cloud/instances/52559466/network-config.json:
  Valid schema network-config
Error: Invalid schema: user-data, vendor-data

Maybe it could be related to migration from network to netplan, but I am not sure.

jceb commented 2 months ago

Oh, good to know. I haven't tried 24.04 yet. I guess some kind of migration is required.