Red Hat Bugzilla – 916060 – Migration fails from xbzrle=on src host to xbzrle=off des host, src qemu-kvm status has both chance to be paused(postmigrate) or running
Note: This bug is displayed in read-only format because
the product is no longer active in Red Hat Bugzilla.
RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Description of problem:
------------------------
In current RHEL7.0 test plan, we have a case migrate guest from xbzrle=on src host to xbzrle=off des host, expected result is migration fails, but guest running on src host correctly, test suggests migration does fail, but guest status on src host sometimes is paused(postmigrate) sometimes running.
Version-Release number of selected component (if applicable):
-----------------------------------------------------------------
qemu-kvm-1.3.0-5.el7.x86_64
guest: win2012-64
How reproducible:
------------------
2/2 1 time guest is running/ 1 time guest is paused(postmigrate)
Steps to Reproduce:
----------------------
1.CMD
/usr/libexec/qemu-kvm -enable-kvm -smp 4 -m 4G -name rhel6.3-64 -uuid 3f2ea5cd-3d29-48ff-aab2-23df1b6ae213 -netdev tap,script=/etc/qemu-ifup,id=netdev0 -device virtio-net-pci,netdev=netdev0,id=device-net0,mac=aa:54:00:11:22:33 -boot order=cd -monitor stdio -usb -device usb-tablet,id=input0 -chardev socket,id=s1,path=/tmp/s1,server,nowait -device isa-serial,chardev=s1 -vnc :10 -monitor tcp::1234,server,nowait -device virtio-scsi-pci,bus=pci.0,id=scsi0 -drive file=nfs/win2012-64-virtio.qcow2,id=drive-scsi0-0-0,if=none,media=disk,cache=none,format=qcow2,werror=stop -device scsi-hd,drive=drive-scsi0-0-0,bus=scsi0.0,scsi-id=0,lun=0 -global PIIX4_PM.disable_s3=0 -global PIIX4_PM.disable_s4=0 -M pc-1.3
2.on src host:
(qemu) migrate_set_capability xbzrle on
3.migration fails on des host:
(qemu) qemu: warning: error while loading state section id 2
load of migration failed
5.on src host, 1 time:
(qemu) info status
VM status: paused (postmigrate)
1 time:
(qemu) info status
VM status: running
6. with the same xbzrle(on/off) on src/des host, won't hit the issue.
Expected results:
-------------------
Guest always be running on src host when migration fails, if this won't be supported by RHEL7.0, feel free to set WONTFIX, we will update test plan.