Bug 896445

Summary: engine: shut down of vm during live migration will fail move action and vm's disk will be stuck in image locked
Product: Red Hat Enterprise Virtualization Manager Reporter: Dafna Ron <dron>
Component: ovirt-engineAssignee: Daniel Erez <derez>
Status: CLOSED CURRENTRELEASE QA Contact: Dafna Ron <dron>
Severity: urgent Docs Contact:
Priority: unspecified    
Version: 3.2.0CC: acathrow, amureini, dyasny, hateya, iheim, lpeer, Rhev-m-bugs, sgrinber, yeylon, ykaul
Target Milestone: ---Keywords: Regression
Target Release: 3.2.0   
Hardware: x86_64   
OS: Linux   
Whiteboard: storage
Fixed In Version: sf5 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Storage RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 915537    
Attachments:
Description Flags
logs from vm crash with wrong qemu and install of host none

Description Dafna Ron 2013-01-17 10:26:09 UTC
Created attachment 680123 [details]
logs from vm crash with wrong qemu and install of host

Description of problem:

I had a vm that was doing a live move and I powered it off. 
the action was reported as failed and the vm's disk is stuck in image locked. 

Version-Release number of selected component (if applicable):

sf3


How reproducible:

100%

Steps to Reproduce:
1. start a live migration 
2. power off the vm
3.
  
Actual results:

move action will fail and the vm will be stuck in image locked

Expected results:

action should continue and vm's image should not be stuck in image locked 

Additional info:

Comment 1 Allon Mureinik 2013-01-23 10:02:19 UTC
In order to complete the migration, the VM should be UP.
However, it is unreasonable to leave the disks in ImageLocked - we should, at the very least, fail gracefully.

Comment 2 Daniel Erez 2013-01-23 14:21:39 UTC
The issue is only on live snapshot phase of live migration, i.e. powering off the VM during live snapshot creation (proposed fix is accordingly)

Comment 4 Dafna Ron 2013-02-03 12:38:04 UTC
verified on sf5 

Failed to configure VM FFF with Live-Snapshot Auto-generated for Live Storage Migration. VM restart is recommended.
VM FFF powered off by admin@internal (Host: gold-vdsc).

Comment 5 Itamar Heim 2013-06-11 08:21:19 UTC
3.2 has been released

Comment 6 Itamar Heim 2013-06-11 08:24:13 UTC
3.2 has been released