virsh migrate --copy-storage-all "forgets" to copy disk, then fails
Software environment
- Operating system: Arch
- Architecture: x86-64
- kernel version: 5.19.6-arch1-1
- libvirt version: 8.7.0
- Hypervisor and version: qemu 7.0.0
Description of problem
Migrating a VM with --copy-storage-all no longer seems to copy the disk of the VM, and then fails with
error: Path '/var/lib/libvirt/images/subVmTest1-2.img' is not accessible: No such file or directory
Steps to reproduce
- Create a VM just like our CI does.
- virsh --debug=1 migrate VMNAME qemu+ssh://root@machine2/system --copy-storage-all --verbose
Additional information
This is nested virtualization. Arch is itself running in a VM. Thus there are two outer VMs running libvirt 8.7.0 and we create a third, inner VM in one of the outer VMs and the migrate it to the other outer VM. Both outer VMs run libvirt 8.7.0 and are also otherwise pretty identical.
This used to work with libvirt 8.6.0: The disk of the VM is copied (with progress bar and everything).
If it turns out to be important how the VM is created, I can dig that out, but I think it's fairly straightforward.
Edited by Marius Vollmer