Bug 1464218 - snapshot remains locked after failed live merge
Summary: snapshot remains locked after failed live merge
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Storage
Version: 4.1.3
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ovirt-4.2.0
: ---
Assignee: Ala Hino
QA Contact: Kevin Alon Goldblatt
URL:
Whiteboard: storage
: 1464214 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-06-22 16:51 UTC by Kevin Alon Goldblatt
Modified: 2019-04-28 13:50 UTC (History)
8 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-20 11:18:39 UTC
oVirt Team: Storage
Embargoed:
rule-engine: ovirt-4.2+


Attachments (Terms of Use)
server, engine, vdsm logs (1.23 MB, application/x-gzip)
2017-06-22 16:55 UTC, Kevin Alon Goldblatt
no flags Details

Description Kevin Alon Goldblatt 2017-06-22 16:51:37 UTC
Description of problem:
Snapshot remains locked after failed live merge

Verified with the following code:
-------------------------------------------------------------
ovirt-engine-4.2.0-0.0.master.20170612192318.gitf773263.el7.centos.noarch
vdsm-4.20.0-1049.gite64d80e.el7.centos.x86_64

Verified with the the following scenario:
------------------------------------------------------------
1. Create VM2 with 5 disks , thin and preallocated, block and nfs
2. Create 3 snapshots, snapper1, snapper2, snapper3, snapper3 
3. Start the VM2
4. Delete snap14_2 a few seconds later restart the vdsm on the host . The delete fails
5. Try deleting same snapshot snap14_2 >>>>> Live Merge fails and snapshot remains locked after vdsm restarts

Actual Result:
----------------------
Live Merge fails and snapshot remains locked after vdsm restarts

Expected Result:
----------------------
Once VDSM restarts the snapshot should not be locked and allow another delete opperation

Comment 1 Kevin Alon Goldblatt 2017-06-22 16:55:05 UTC
Created attachment 1290787 [details]
server, engine, vdsm logs

adding logs

Comment 2 Kevin Alon Goldblatt 2017-06-25 08:50:02 UTC
(In reply to Kevin Alon Goldblatt from comment #0)

Correction to previous comment!


> Description of problem:
> Snapshot remains locked after failed live merge
> 
> Tested with the following code:
> -------------------------------------------------------------
> ovirt-engine-4.2.0-0.0.master.20170612192318.gitf773263.el7.centos.noarch
> vdsm-4.20.0-1049.gite64d80e.el7.centos.x86_64
> 
> Verified with the the following scenario:
> ------------------------------------------------------------
> 1. Create VM2 with 5 disks , thin and preallocated, block and nfs
> 2. Create 3 snapshots, snapper1, snapper2, snapper3
> 3. Start the VM2
> 4. Delete snapper2 and few seconds later restart the vdsm on the host . The
> delete and Live Merge fails
> 5. When the vdsm comes up again try deleting same snapshot snapper2 but can't as it remains locked
> 
> Actual Result:
> ----------------------
> Live Merge fails and snapshot remains locked
> 
> Expected Result:
> ----------------------
> Once VDSM restarts the snapshot should not be locked and allow another
> delete opperation

Comment 3 Kevin Alon Goldblatt 2017-06-25 08:52:24 UTC
Change product to Ovirt-engine and component to storage

Comment 4 Tal Nisan 2017-06-25 11:33:52 UTC
*** Bug 1464214 has been marked as a duplicate of this bug. ***

Comment 8 Allon Mureinik 2017-10-29 14:21:34 UTC
Should have been solved with the latest batch of patches, moving to MODIFIED for QE to test.

Comment 9 rhev-integ 2017-11-02 13:40:05 UTC
INFO: Bug status wasn't changed from MODIFIED to ON_QA due to the following reason:

[No external trackers attached]

For more info please contact: infra

Comment 10 rhev-integ 2017-11-02 21:09:21 UTC
INFO: Bug status wasn't changed from MODIFIED to ON_QA due to the following reason:

[No external trackers attached]

For more info please contact: infra

Comment 11 Kevin Alon Goldblatt 2017-11-29 13:22:34 UTC
Verified with the following code:
-----------------------------------
ovirt-engine-4.2.0-0.5.master.el7.noarch
vdsm-4.20.8-53.gitc3edfc0.el7.centos.x86_64

Verified with the following scenario:
-----------------------------------
1. Created vm with several disks
2. Created 3 snapshots
3. Start the vm
4. Deleted snapshot 2 - second one and restarted the vdsm during the live merge
>>>> vdsm restarts on the host and the live merge operation completes successfully. All images are merged


Moving to VERIFY

Comment 12 Sandro Bonazzola 2017-12-20 11:18:39 UTC
This bugzilla is included in oVirt 4.2.0 release, published on Dec 20th 2017.

Since the problem described in this bug report should be
resolved in oVirt 4.2.0 release, published on Dec 20th 2017, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.


Note You need to log in before you can comment on or make changes to this bug.