Bug 896445 - engine: shut down of vm during live migration will fail move action and vm's disk will be stuck in image locked
Summary: engine: shut down of vm during live migration will fail move action and vm's ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.2.0
Hardware: x86_64
OS: Linux
unspecified
urgent
Target Milestone: ---
: 3.2.0
Assignee: Daniel Erez
QA Contact: Dafna Ron
URL:
Whiteboard: storage
Depends On:
Blocks: 915537
TreeView+ depends on / blocked
 
Reported: 2013-01-17 10:26 UTC by Dafna Ron
Modified: 2016-02-10 16:33 UTC (History)
10 users (show)

Fixed In Version: sf5
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
oVirt Team: Storage
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
logs from vm crash with wrong qemu and install of host (1.05 MB, application/x-gzip)
2013-01-17 10:26 UTC, Dafna Ron
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 11311 0 None MERGED core: LSM - lock image on CreateImagePlaceholder phase 2020-03-13 16:24:57 UTC

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


Note You need to log in before you can comment on or make changes to this bug.