qemu-server/PVE
Mira Limbeck 1b485263b3 fix drive-mirror completion with cloudinit
On clone_vm when cloning the disks while the VM is running, we use
drive-mirror. We skip completion until the last disk, but with a
cloudinit disk there's no drive-mirror and so no completion done. If it
is the last disk in the hash, we never complete the drive-mirror jobs
and no further cloning is possible as there are already active jobs
using the disks.

To fix it we have to call qemu_drive_mirror_monitor directly in the case
of cloudinit when completion is requested and there are jobs defined.

Signed-off-by: Mira Limbeck <m.limbeck@proxmox.com>
2021-01-25 14:30:35 +01:00
..
API2 api: adapt VM destroy description 2020-12-15 14:49:41 +01:00
CLI print query-proxmox-support result in 'full' status 2020-11-24 17:20:56 +01:00
QemuServer add PVE::QemuServer::Cgroup 2020-11-24 12:00:33 +01:00
VZDump use get_repository from PVE::PBSClient 2020-12-03 17:25:32 +01:00
Makefile buildsys: use $(MAKE) instead of make 2019-09-24 18:06:16 +02:00
QemuConfig.pm tree wide cleanup of s/return undef/return/ 2020-10-16 16:20:05 +02:00
QemuMigrate.pm migration: sort volumes migrated with storage_migrate 2020-12-15 15:21:37 +01:00
QemuServer.pm fix drive-mirror completion with cloudinit 2021-01-25 14:30:35 +01:00
QMPClient.pm tree wide cleanups 2020-10-16 18:03:32 +02:00