Bug 1293663 - Disk remains locked after create snapshot
Summary: Disk remains locked after create snapshot
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Storage
Version: 4.0.0
Hardware: Unspecified
OS: Unspecified
urgent
urgent
Target Milestone: ovirt-3.6.2
: 3.6.2.5
Assignee: Liron Aravot
QA Contact: Kevin Alon Goldblatt
URL:
Whiteboard:
: 1293662 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-12-22 15:45 UTC by Arik
Modified: 2016-02-18 11:12 UTC (History)
9 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2016-02-18 11:12:25 UTC
oVirt Team: Storage
Embargoed:
rule-engine: ovirt-3.6.z+
rule-engine: blocker+
ylavi: planning_ack+
tnisan: devel_ack+
rule-engine: testing_ack+


Attachments (Terms of Use)
engine log (912.86 KB, text/plain)
2015-12-22 15:46 UTC, Arik
no flags Details
vdsm logs (tar file) (5.64 MB, application/x-tar)
2015-12-22 15:47 UTC, Arik
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 50694 0 master MERGED core: CoCoAsyncTaskHelper - get parent command id from the parent parameters 2015-12-30 15:02:23 UTC
oVirt gerrit 51181 0 ovirt-engine-3.6 MERGED core: CoCoAsyncTaskHelper - get parent command id from the parent parameters 2015-12-31 10:02:20 UTC
oVirt gerrit 51183 0 ovirt-engine-3.6.2 MERGED core: CoCoAsyncTaskHelper - get parent command id from the parent parameters 2015-12-31 10:05:02 UTC

Description Arik 2015-12-22 15:45:34 UTC
Description of problem:
When taking a snapshot for VM with one disk, the disk remains lock.

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


How reproducible:
Not always

Steps to Reproduce:
1. Run a VM
2. Take (live) snapshot (with memory - I don't think it matters)
3.

Actual results:
The snapshot is created successfully but the disk remains lock long after the operation is finished.

Expected results:
The lock for the disk should be released.

Additional info:
I also get 2 audit logs that say "snapshot ... creation for .. has been completed"
it seems that for some reason the command is ended successfully twice..

Comment 1 Arik 2015-12-22 15:46:12 UTC
Created attachment 1108663 [details]
engine log

Comment 2 Arik 2015-12-22 15:47:02 UTC
Created attachment 1108665 [details]
vdsm logs (tar file)

Comment 3 Gil Klein 2015-12-22 17:29:31 UTC
*** Bug 1293662 has been marked as a duplicate of this bug. ***

Comment 4 Arik 2015-12-23 08:50:55 UTC
VDSM: 
Version     : 4.17.999
Release     : 358.git9017028.fc22

Engine:
last commit: 7a18121ca5fe1eb45ddbf9e76af403614352a366

Comment 5 Allon Mureinik 2015-12-23 09:19:26 UTC
Daniel, haven't we seen this already?

Comment 6 Daniel Erez 2015-12-23 09:33:23 UTC
(In reply to Allon Mureinik from comment #5)
> Daniel, haven't we seen this already?

Had a few similar issues but not sure it's related.
@Arik - is it happening constantly on latest master?

Comment 7 Tal Nisan 2015-12-23 09:37:00 UTC
Seems like Liron already solved the issue, updated the tracker

Comment 8 Arik 2015-12-23 09:41:31 UTC
(In reply to Daniel Erez from comment #6)
> (In reply to Allon Mureinik from comment #5)
> > Daniel, haven't we seen this already?
> 
> Had a few similar issues but not sure it's related.
> @Arik - is it happening constantly on latest master?

No, not always.
Same as we saw in your env.

Comment 9 Kevin Alon Goldblatt 2016-02-03 19:45:12 UTC
Verified with the following code:
----------------------------------
rhevm-3.6.3-0.1.el6.noarch
vdsm-4.17.19-0.el7ev.noarch

Verified with the following scenario:
--------------------------------------
Steps to Reproduce:
1. Run a VM
2. Take (live) snapshot (with memory - I don't think it matters) >>>>> The snapshot is created successfully and the lock for the disk is released.

Moving to VERIFIED!


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