I've had a working proxmox box for a while now, I went to provision new VM's today and noticed the cicustom cloud init has stopped working.
I use IaC to provision the VM's and there has been no changes to the cloud-init scripts, the CICD pipelines, or provisioning scripts. Knowing this I dug a little deeper and started doing some manual commands with
Here is the qm config:
I hashed the snippet file, and it's the same one we've been using in IaC. As a sanity check I ran
I'm scratching my head on this one, I provisioned VMs yesterday without issue using the exact same base image and cloud init file.
Anyone have any other ideas or debugging ideas?
PVE
pve-manager/8.3.5/dac3aa88bac3f300 (running kernel: 6.8.12-9-pve)
Guest
Ubuntu 24.04.02
I use IaC to provision the VM's and there has been no changes to the cloud-init scripts, the CICD pipelines, or provisioning scripts. Knowing this I dug a little deeper and started doing some manual commands with
qm
.Here is the qm config:
Code:
acpi: 1
agent: enabled=1,fstrim_cloned_disks=0,type=virtio
balloon: 0
bios: ovmf
boot: order=virtio0;net0
cicustom: user=local:snippets/ubuntu-noble-2404-init.yml
cores: 2
cpu: cputype=host
cpuunits: 1024
efidisk0: local-lvm:vm-205-disk-0,efitype=2m,pre-enrolled-keys=0,size=4M
ide2: local-lvm:vm-205-cloudinit,media=cdrom
ipconfig0: gw=192.168.10.1,ip=192.168.10.198/24
keyboard: en-us
machine: q35
memory: 4096
meta: creation-qemu=9.2.0,ctime=1743187441
name: iperf2
nameserver: 192.168.10.20 192.168.10.21
net0: virtio=BC:24:11:A8:80:B9,bridge=vmbr10g,firewall=0,mtu=1500,tag=1
numa: 0
onboot: 1
ostype: l26
protection: 0
scsihw: virtio-scsi-pci
serial0: socket
smbios1: uuid=7a0e4ac9-5fa6-4bad-aee6-ba9fa2fed6de
sockets: 1
tablet: 1
template: 0
virtio0: local-lvm:vm-205-disk-1,aio=io_uring,backup=1,cache=none,discard=on,iothread=1,replicate=1,size=12G
vmgenid: 5541d636-dc5a-4392-bbd9-cc666b2a161f
I hashed the snippet file, and it's the same one we've been using in IaC. As a sanity check I ran
cloud-init schema schema --config-file /var/lib/vz/snippets/ubuntu-noble-2404-init.yml
which returns a successful validation. I then ran qm cloudinit update 205
which says it regenerated the configuration, started the vm and terminaled into it to watch the kernel/systemd startup messages, and there is no recognition of the user data file.I'm scratching my head on this one, I provisioned VMs yesterday without issue using the exact same base image and cloud init file.
Anyone have any other ideas or debugging ideas?
PVE
pve-manager/8.3.5/dac3aa88bac3f300 (running kernel: 6.8.12-9-pve)
Guest
Ubuntu 24.04.02
Last edited: