Bug 1336214

Summary: Implement live merge of auto-generated snapshot and backing file after LSM fails
Product: [oVirt] ovirt-engine Reporter: Ala Hino <ahino>
Component: BLL.StorageAssignee: Ala Hino <ahino>
Status: CLOSED CURRENTRELEASE QA Contact: Kevin Alon Goldblatt <kgoldbla>
Severity: medium Docs Contact:
Priority: medium    
Version: 3.5.1CC: ahino, amureini, bgraveno, bugs, stirabos, tnisan, ylavi
Target Milestone: ovirt-4.0.0-rcFlags: rule-engine: ovirt-4.0.0+
ylavi: planning_ack+
amureini: devel_ack+
acanan: testing_ack+
Target Release: 4.0.0   
Hardware: Unspecified   
OS: Unspecified   
Fixed In Version: Doc Type: Enhancement
Doc Text:
This update ensures that the auto-generated snapshot that is created during live storage migration (LSM) is automatically deleted if LSM fails.
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-08-01 12:28:25 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: 1317434    
Bug Blocks:    

Description Ala Hino 2016-05-15 18:25:41 UTC
Description of problem:
During live storage migration (LSM), a an auto-generated snapshot is created. BZ 1317434 handled removing the auto-generated snapshot after a successful LSM. This RFE handles removing the auto-generated snapshot after a failure during LSM.

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

How reproducible:

Steps to Reproduce:
1. Start LSM
2. Fail the operation for example by stopping vdsm

Actual results:
Auto-generated snapshot is created and not removed

Expected results:
Auto-generated snapshot to be removed

Additional info:

Comment 1 Red Hat Bugzilla Rules Engine 2016-05-15 18:27:05 UTC
Bug tickets must have version flags set prior to targeting them to a release. Please ask maintainer to set the correct version flags and only then set the target milestone.

Comment 2 Red Hat Bugzilla Rules Engine 2016-05-15 18:27:05 UTC
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release.

Comment 3 Yaniv Lavi 2016-05-23 13:24:41 UTC
oVirt 4.0 beta has been released, moving to RC milestone.

Comment 4 Yaniv Lavi 2016-05-23 13:25:54 UTC
oVirt 4.0 beta has been released, moving to RC milestone.

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

Comment 6 Kevin Alon Goldblatt 2016-07-13 16:48:54 UTC
Verified with the following code:

Verified using the following scenario:
Create VM with 2 disks
Start the VM
Start the LSM >>> after the auto generated snapshots are created stop the VDSM
After the VDSM starts up again the the LSM completes and the auto generated snapshot is deleted.

Moving to VERIFIED!