Bug 1100642

Summary: After migration failed in last phase, didn't resume VM on source host
Product: Red Hat Enterprise Linux 6 Reporter: Jan Kurik <jkurik>
Component: libvirtAssignee: Jiri Denemark <jdenemar>
Status: CLOSED ERRATA QA Contact: Virtualization Bugs <virt-bugs>
Severity: high Docs Contact:
Priority: high    
Version: 6.5CC: acathrow, bazulay, dgibson, dyuan, fromani, iheim, jdenemar, jentrena, juzhou, lpeer, michal.skrivanek, mzhan, ofrenkel, pm-eus, shyu, tdosek, yeylon, zhwang, zpeng
Target Milestone: rcKeywords: ZStream
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: libvirt-0.10.2-29.el6_5.9 Doc Type: Bug Fix
Doc Text:
Cause: Libvirt did not properly cancel migration of QEMU domains in case it detected an error which did not also cause QEMU to cancel the migration by itself. For example, crashed libvirt daemon on destination host would cause libvirt to cancel migration while QEMU will continue sending data to the destination QEMU. Consequence: Once QEMU finishes sending the data and pauses guest CPUs, the domain will likely be left in paused state because libvirt tried to resume the domain before QEMU paused it. Fix: If libvirt detects an error during migration, it tells QEMU to cancel ongoing migration. Result: When libvirt resumes a domain after failed migration, the migration process in QEMU is already canceled and thus QEMU does not stop guest CPUs afterwards and the domain remains running.
Story Points: ---
Clone Of: Environment:
Last Closed: 2014-06-10 12:24:25 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1098833    
Bug Blocks:    

Description Jan Kurik 2014-05-23 09:28:51 UTC
This bug has been copied from bug #1098833 and has been proposed
to be backported to 6.5 z-stream (EUS).

Comment 6 zhoujunqin 2014-05-30 05:57:16 UTC
I can reproduce this bug with libvirt-0.10.2-29.el6_5.8 and can get the expect result with the libvirt-0.10.2-29.el6_5.9, so mark this bug verified. BTW, For more detials about the reproduce steps and verify steps, you can refer the comment 19 in bug 1098833.

Comment 8 errata-xmlrpc 2014-06-10 12:24:25 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

http://rhn.redhat.com/errata/RHBA-2014-0682.html