libvirt tunnelled migration fails with "migration job: unexpectedly failed"
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
libvirt |
Won't Fix
|
Medium
|
|||
libvirt (Ubuntu) |
Won't Fix
|
High
|
Unassigned |
Bug Description
There is a bug in libvirt in up-to-date Ubuntu 14.04.2 LTS when live migrating a VM with a big storage attached to it - the migration fails with "error: operation failed: migration job: unexpectedly failed". Not sure what's the threshold for the storage size to trigger the bug, but I can migrate a guest with 8GB storage between nodes but a guest with 30GB storage fails to migrate. This only happens when --tunnelled parameter is passed to "virsh migrate".
# virsh migrate --live --p2p --copy-storage-inc --tunnelled ubuntuutopic-small "qemu+tcp:
error: operation failed: migration job: unexpectedly failed
#on the other hand, this WORKS OK:
virsh migrate --live --p2p --copy-storage-inc ubuntuutopic "qemu+tcp:
libvirt: 1.2.2-0ubuntu13.1.9
qemu: 2.0.0+dfsg-
linux kernel: 3.13.0-46-generic #79-Ubuntu
Versions are same on both boxes.
libvirtd.conf only changed to listen on TCP and not to require authenitcation.
Logs and the domain xml attached.
no longer affects: | qemu (Ubuntu) |
Changed in libvirt: | |
importance: | Unknown → Medium |
status: | Unknown → Won't Fix |
Created attachment 1002391
domain.xml
There is a bug in libvirt (built from current master: 51f9f03a4ca50b0 70c0fbfb29748d4 9f583e15e1) when live migrating a VM with a big storage attached to it - the migration fails with "error: operation failed: migration job: unexpectedly failed". Not sure what's the threshold for the storage size to trigger the bug, but a guest with 30GB storage fails to migrate in our test lab. This only happens when --tunnelled parameter is passed to "virsh migrate".
# virsh migrate --live --p2p --copy-storage-inc --tunnelled ubuntuutopic "qemu+tcp: //lab5/ system"
error: operation failed: migration job: unexpectedly failed
#on the other hand, this WORKS OK: //lab5/ system"
virsh migrate --live --p2p --copy-storage-inc ubuntuutopic "qemu+tcp:
libvirt: current master - 51f9f03a4ca50b0 70c0fbfb29748d4 9f583e15e1 2ubuntu1. 10
qemu: 2.0.0+dfsg-
linux kernel: 3.13.0-46-generic #79-Ubuntu
Versions are same on both boxes.
libvirtd.conf only changed to listen on TCP and not to require authentication.
Logs and the domain xml attached.
Steps to Reproduce: //host2/ system" on host1
1. create a new domain on host1 (if can't reproduce, you might need to creat a domain with a bigger storage)
2. setup host2 - precreate an empty qcow2 disk in the corresponding location, change libvirtd config to listen on tcp port
3. run "virsh migrate --live --p2p --copy-storage-inc --tunnelled GUEST_VM "qemu+tcp:
Actual results:
error: operation failed: migration job: unexpectedly failed
Expected results:
migration succeeds just like when --tunnelled is not used
Domain and logs attached.