Hello,
I have a 4 nodes cluster, sharing an ISCSI LUN with LVM on top of it.
I've created a template that I use to clone VM and add a cloudinit drive.
Everything works fine until I stop the VM (which has it's disk and clouinit on the shared LVM), it then complains that it cannot start :
I remove and recreate the cloudinit drive, and the VM is able to start normally.
I there a way to make this work every time, without removing and recreating the cloudinit drive ?
Thanks.
For information :
I have a 4 nodes cluster, sharing an ISCSI LUN with LVM on top of it.
I've created a template that I use to clone VM and add a cloudinit drive.
Everything works fine until I stop the VM (which has it's disk and clouinit on the shared LVM), it then complains that it cannot start :
Code:
Use of uninitialized value in split at /usr/share/perl5/PVE/QemuServer/Cloudinit.pm line 96.
qemu-img: Could not open '/dev/prd/vm-106-cloudinit': Could not open '/dev/prd/vm-106-cloudinit': No such file or directory
TASK ERROR: error with cfs lock 'storage-rkg-lvm-prd': lvcreate 'prd/pve-vm-106' error: Logical Volume "vm-106-cloudinit" already exists in volume group "prd"
I remove and recreate the cloudinit drive, and the VM is able to start normally.
I there a way to make this work every time, without removing and recreating the cloudinit drive ?
Thanks.
For information :
Code:
pve-cluster 5.0-37
pve-container 2.0-39
pve-docs 5.4-2
pve-edk2-firmware 1.20190312-1
pve-firewall 3.0-21
pve-firmware 2.0-6
pve-ha-manager 2.0-9
pve-i18n 1.1-4
pve-kernel-4.15 5.4-2
pve-kernel-4.15.18-14-pve 4.15.18-39
pve-libspice-server1 0.14.1-2
pve-manager 5.4-6
pve-qemu-kvm 3.0.1-2
pve-xtermjs 3.12.0-1