Currently, there is no treatment on a source, in case the VM on destination fails, during migration. According to BZ: 654937, comments 9 and 12, Qemu will not fail the migration, in this case. Due to the above, the migration on the source will remain stuck, until the timeout exceeds. This can be a very long time, while during this time, the VM will be locked on the RHEV-M server. Moreover, the migration should be canceled and not left in active, after the timeout exceeds. Steps to Reproduce: 1. Create a VM with 10G memory and 2. increase memory load on it 3. kill or block the destination vm Thanks, Vladik
Created attachment 487438 [details] suggest patch by Vladik
*** Bug 697279 has been marked as a duplicate of this bug. ***
(In reply to comment #3) > *** Bug 697279 has been marked as a duplicate of this bug. *** QE has hit this in the master setup as well (see above duplicate).
Patch series ending based on Vladik's code was posted at http://gerrit.usersys.redhat.com/691
Verification steps: 1. Create a VM with ~4G memory 2. to ensure that the migration will take some time, increase the memory / cpu usage on it (I used 7zip for windows) 3. start a migration 4. during the migration, destroy the destination or block the network connection to the destination host Expected result: - Migration should be canceled
Checked on 4.5-65. However, migration takes 20 minutes and during this time the VM is stuck in Not Responding status.
Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: If migrating a virtual machine from one host to another failed, the virtual machine was locked on the Red Hat Enterprise Linux Manager server until the timeout limit was reached. Now, if a virtual machine migration fails, the migration is cancelled and the virtual machine remains on the original host.
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-2012-0169.html