Bug 1317434

Summary: [RFE] Implement live merge of auto-generated snapshot and backing file after live storage migration
Product: [oVirt] ovirt-engine Reporter: Yaniv Lavi <ylavi>
Component: RFEsAssignee: Ala Hino <ahino>
Status: CLOSED CURRENTRELEASE QA Contact: Kevin Alon Goldblatt <kgoldbla>
Severity: high Docs Contact:
Priority: high    
Version: 3.5.1CC: acanan, ahino, amureini, bazulay, bsettle, bugs, fjayalat, gchakkar, gklein, gwatson, iheim, jwang, kgoldbla, lpeer, nachandr, pep, rbalakri, rmcswain, sbonazzo, sherold, srevivo, tnisan, trichard, ylavi
Target Milestone: ovirt-4.0.0-betaKeywords: FutureFeature
Target Release: 4.0.0Flags: rule-engine: ovirt-4.0.0+
gklein: testing_plan_complete-
ylavi: planning_ack+
amureini: devel_ack+
acanan: testing_ack+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Enhancement
Doc Text:
Previously, an auto-generated snapshot was created during live storage migration and had to be manually removed afterwards. With this release, the auto-generated snapshot is automatically deleted after live storage migration.
Story Points: ---
Clone Of: 959705 Environment:
Last Closed: 2016-07-05 08:00:09 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:
Bug Depends On:    
Bug Blocks: 959705, 1336214, 1343922    

Description Yaniv Lavi 2016-03-14 09:13:01 UTC
Description of problem:
After live storage migration(LSM),the snapshot auto-generated during live storage migration has to be manually deleted after shutting down the VM.It would be nice if the auto-generated snapshot and its backing file could be live merged without having to shutdown the VM.

How reproducible:
Always

Steps to Reproduce:
1.Live migrate a disk attached to a VM from one SD to another
2.
3.
  
Actual results:
After LSM,the snapshot auto-generated during live storage migration has to be manually deleted after shutting down the VM.


Expected results:
VDSM should live merge the auto-generated snapshot and its backing file after LSM.

Comment 1 Sandro Bonazzola 2016-05-02 10:06:25 UTC
Moving from 4.0 alpha to 4.0 beta since 4.0 alpha has been already released and bug is not ON_QA.

Comment 2 Allon Mureinik 2016-06-05 13:25:06 UTC
Ala, this is a highly visible customer facing issue - please provide some doctext for it.

Comment 3 Kevin Alon Goldblatt 2016-06-07 11:20:54 UTC
Test the with the following code:
------------------------------------------
rhevm-4.0.0.2-0.1.el7ev.noarch
vdsm-4.18.1-11.gita92976e.el7ev.x86_64


Tested with the following scenario:
------------------------------------
1.Created 3 Storage Domains, iscsi, nfs and fc
2.Created a VM with disks on each of the SD
3.Started the Vm and then performed a LSM of each disk to a different SD >>>>>
The auto created snapshot is created successfully
On completion of the LSM the auto created sns is deleted
The size of the disks are updated correctly

Comment 4 Aharon Canan 2016-06-08 09:51:48 UTC
verified based on verification from https://bugzilla.redhat.com/show_bug.cgi?id=959705

Comment 5 Allon Mureinik 2016-06-23 15:46:23 UTC
Tahila - please also note documentation bug 1343903 which lists several places the removed behavior is listed. I'm guessing that and the doctext of this bug should somehow be handled together.

Comment 6 Tahlia Richardson 2016-06-24 05:13:18 UTC
Thanks Allon. We've got bug 1343903 in our first priority list of bugs for 4.0.

Comment 7 Sandro Bonazzola 2016-07-05 08:00:09 UTC
oVirt 4.0.0 has been released, closing current release.