Bug 1272077

Summary: [z-stream clone 3.5.6] Live merge fails when deleting a snapshot
Product: Red Hat Enterprise Virtualization Manager Reporter: rhev-integ
Component: ovirt-engineAssignee: Adam Litke <alitke>
Status: CLOSED CURRENTRELEASE QA Contact: Aharon Canan <acanan>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 3.5.0CC: acanan, achareka, alitke, amureini, ebenahar, ecohen, lpeer, lsurette, nsoffer, rbalakri, Rhev-m-bugs, sbonazzo, tnisan, usurse, yeylon, ylavi
Target Milestone: ovirt-3.5.6Keywords: ZStream
Target Release: 3.5.6   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: storage
Fixed In Version: v4.16.28 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1240360 Environment:
Last Closed: 2016-01-06 12:09:39 UTC Type: ---
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: 1240360    
Bug Blocks:    

Comment 1 Aharon Canan 2015-11-05 16:35:36 UTC
please approve below steps for verification (or suggest other steps)

1. Set VM with disk on Block domain
2. Install OS
3. Add new 5G thin provision disk (Block)
4. Take snapshot of the disk created on step 3
5. Write 4G file on the new disk
6. Remove the snapshot (live merge)

Comment 2 Allon Mureinik 2015-11-12 13:25:58 UTC
Sorry for the late reply, had a glitch in communication here.
The steps in comment 1 are sufficient, thanks Aharon!

Comment 3 Adam Litke 2015-11-13 19:04:34 UTC
Aharon, it's tricky to trigger the bad behavior since you need specific combinations of qcow data allocated to the base and top volumes.  Please follow these steps for verification:

1. Install a VM with a single system disk
2. Add a new 5G thinly provisioned block disk
3. Boot the VM and write a 2G file to the disk created in step 2.
4. Take a snapshot.
5. Write a different 2G file to the disk from step 2.
6. Live merge.

Comment 4 Aharon Canan 2015-11-17 17:13:07 UTC
(In reply to Adam Litke from comment #3)
> Aharon, it's tricky to trigger the bad behavior since you need specific
> combinations of qcow data allocated to the base and top volumes.  Please
> follow these steps for verification:
> 
> 1. Install a VM with a single system disk
> 2. Add a new 5G thinly provisioned block disk
> 3. Boot the VM and write a 2G file to the disk created in step 2.
> 4. Take a snapshot.
> 5. Write a different 2G file to the disk from step 2.
> 6. Live merge.

Verified using vt18.2

Comment 5 Allon Mureinik 2016-01-06 12:09:39 UTC
RHEV 3.5.6 has been release, updating status accordingly.