Bug 1464214

Summary: Snapshot remains locked after failed live merge
Product: [oVirt] ovirt-engine Reporter: Kevin Alon Goldblatt <kgoldbla>
Component: BLL.StorageAssignee: Allon Mureinik <amureini>
Status: CLOSED DUPLICATE QA Contact: Raz Tamir <ratamir>
Severity: high Docs Contact:
Priority: unspecified    
Version: 4.1.3CC: amureini, bazulay, bugs, kgoldbla, lsurette, srevivo, tnisan, ycui, ykaul
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: storage
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-06-25 11:33:52 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:
Attachments:
Description Flags
server, engine, vdsm logs none

Description Kevin Alon Goldblatt 2017-06-22 16:34:05 UTC
Description of problem:
Snapshot remains locked after failed live merge due to restart of vdsm

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

Verified with the following code:
-------------------------------------------------------------
ovirt-engine-4.1.3.4-0.1.el7.noarch
rhevm-4.1.3.4-0.1.el7.noarch
vdsm-4.19.19-1.el7ev.x86_64


How reproducible:
Every time

Verified with the the following scenario:
------------------------------------------------------------
1. Create VM_14 with 5 disks , thin and preallocated, block and nfs
2. Create 3 snapshots, sna1, sna2, sna3
3. Start the snapshot vm22
4. Delete sna2 and a few seconds later restart the vdsm on the host . The delete fails of the snapshot fails and the snapshot sna2 remains in a locked state



Actual results:
The delete fails of the snapshot fails and the snapshot sna2 remains in a locked state


Expected results:
When the vdsm comes up again the snapshot should be in a normal state and allow a retry of the delete


Additional info:

Comment 1 Kevin Alon Goldblatt 2017-06-22 16:36:37 UTC
Created attachment 1290772 [details]
server, engine, vdsm logs

Adding logs

Comment 2 Allon Mureinik 2017-06-25 08:39:55 UTC
*** Bug 1464213 has been marked as a duplicate of this bug. ***

Comment 3 Allon Mureinik 2017-06-25 08:48:30 UTC
Kevin, is there any difference between this bug and 1464218 besides the versions used?

Comment 4 Kevin Alon Goldblatt 2017-06-25 08:58:39 UTC
(In reply to Kevin Alon Goldblatt from comment #0)
> Description of problem:
> Snapshot remains locked after failed live merge due to restart of vdsm
> 
> Version-Release number of selected component (if applicable):
> 
> Verified with the following code:
> -------------------------------------------------------------
> ovirt-engine-4.1.3.4-0.1.el7.noarch
> rhevm-4.1.3.4-0.1.el7.noarch
> vdsm-4.19.19-1.el7ev.x86_64
> 
> 
> How reproducible:
> Every time
> 
> Verified with the the following scenario:
> ------------------------------------------------------------
> 1. Create VM_14 with 5 disks , thin and preallocated, block and nfs
> 2. Create 3 snapshots, sna1, sna2, sna3
> 3. Start VM vm22
> 4. Delete sna2 and a few seconds later restart the vdsm on the host . The
> delete of the snapshot fails and the snapshot sna2 remains in a locked
> state
> 
> 
> 
> Actual results:
> The of the snapshot fails and snapshot sna2 remains in a
> locked state
> 
> 
> Expected results:
> When the vdsm comes up again the snapshot should be in a normal state and
> allow a retry of the delete
> 
> 
> Additional info:

Comment 5 Kevin Alon Goldblatt 2017-06-25 09:00:10 UTC
(In reply to Allon Mureinik from comment #3)
> Kevin, is there any difference between this bug and 1464218 besides the
> versions used?

The same problem happens on both version 4.1.3 and 4.2.
I tested both versions

Comment 6 Tal Nisan 2017-06-25 11:33:52 UTC
In that case I'm targeting the other bug to 4.1.3 and closing this one as a duplicate, when we have a zstream bug we fix it for master as well anyway

*** This bug has been marked as a duplicate of bug 1464218 ***