The docs for cloud-init are a little thin on the ground being such a new feature.
What is the expected behaviour for this in proxmox? Should the cloud-init drive remain always connected? if so, after the machine is shut down and then started again, it fails with the error:
If not, as proxmox knows the VM has stopped, can it not remove that automatically instead of leaving in a half broken state?
Either way, if we know we need to delete it on a shutdown, that's OK too but would rather work with the expected process than one that we're getting right now.
What is the expected behaviour for this in proxmox? Should the cloud-init drive remain always connected? if so, after the machine is shut down and then started again, it fails with the error:
Code:
qemu-img: Could not open '/dev/vg-1/vm-xxx-cloudinit': Could not open '/dev/vg-1/vm-xxx-cloudinit': No such file or directory
TASK ERROR: command 'set -o pipefail && genisoimage -R -V cidata /run/pve/cloudinit/xxx/ | qemu-img dd -n -f raw -O raw 'isize=0' 'osize=0' 'of=/dev/vg-1/vm-xxx-cloudinit'' failed: exit code 1
If not, as proxmox knows the VM has stopped, can it not remove that automatically instead of leaving in a half broken state?
Either way, if we know we need to delete it on a shutdown, that's OK too but would rather work with the expected process than one that we're getting right now.