Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1395746

Summary: Live Storage Migration fails and leaves disks in locked state
Product: [oVirt] ovirt-engine Reporter: Tal Nisan <tnisan>
Component: BLL.StorageAssignee: Tal Nisan <tnisan>
Status: CLOSED CURRENTRELEASE QA Contact: Raz Tamir <ratamir>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.1.0CC: amureini, bugs, gklein, ratamir
Target Milestone: ovirt-4.1.0-alphaKeywords: Regression
Target Release: 4.1.0.2Flags: rule-engine: ovirt-4.1+
rule-engine: blocker+
rule-engine: planning_ack+
amureini: devel_ack+
ratamir: testing_ack+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-02-01 14:38:05 UTC 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:

Description Tal Nisan 2016-11-16 15:07:19 UTC
Description of problem:
Live storage migration fail to complete and leave the disks in locked state

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


How reproducible:
100%

Steps to Reproduce:
1. Run a VM with disks and select a few disks and click on "Move"
2. Select target storage domains and click on "OK"
3.

Actual results:
The action fails leaving the disks locked

Expected results:
The action should complete successfully

Additional info:

2016-11-14 16:36:34,730 INFO  [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (DefaultQuartzScheduler7) [] Correlation ID: 2de307a9, Job ID: a31aee00-d4d7-4ede-b48b-5806647ede3c, Call Stack: null, Custom Event ID: -1, Message: Snapshot 'Auto-generated for Live Storage Migration' creation for VM 'VM1' has been completed.
2016-11-14 16:36:35,784 ERROR [org.ovirt.engine.core.bll.CommandsFactory] (DefaultQuartzScheduler2) [2de307a9] Error in invocating CTOR of command 'LiveMigrateDisk' with parameters 'LiveMigrateDiskParameters:{commandId='22632400-dcc8-4363-9cb9-6b1ca1ec90a4', user='null', commandType='Unknown'}': null
2016-11-14 16:36:35,789 INFO  [org.ovirt.engine.core.bll.SerialChildCommandsExecutionCallback] (DefaultQuartzScheduler2) [2de307a9] Command 'LiveMigrateVmDisks' id: 'afde1665-3ff0-473a-8134-0b91ddda03d8' failed when attempting to perform the next operation, marking as FAILED '[970971de-0e37-4efa-a2dc-48e099d6fb3d]'
2016-11-14 16:36:35,789 INFO  [org.ovirt.engine.core.bll.SerialChildCommandsExecutionCallback] (DefaultQuartzScheduler2) [2de307a9] Command 'LiveMigrateVmDisks' id: 'afde1665-3ff0-473a-8134-0b91ddda03d8' child commands '[970971de-0e37-4efa-a2dc-48e099d6fb3d]' executions were completed, status 'FAILED'

Comment 1 Tal Nisan 2016-11-17 12:25:57 UTC
*** Bug 1395913 has been marked as a duplicate of this bug. ***

Comment 2 Sandro Bonazzola 2016-12-12 13:56:53 UTC
The fix for this issue should be included in oVirt 4.1.0 beta 1 released on December 1st. If not included please move back to modified.

Comment 3 Raz Tamir 2016-12-13 17:55:11 UTC
Verified on 4.1.0-0.2.master.20161212071212.git8a015dd.el7.centos

VM's disks live migrate successfully