[pve-devel] applied: [PATCH qemu-server] fix drive-mirror completion with cloudinit

Thomas Lamprecht t.lamprecht at proxmox.com
Mon Jan 25 14:31:00 CET 2021


On 15.01.21 12:49, Mira Limbeck wrote:
> 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 at proxmox.com>
> ---
>  PVE/QemuServer.pm | 6 ++++++
>  1 file changed, 6 insertions(+)
> 
>

applied, thanks!





More information about the pve-devel mailing list