Bug 1460694 - It's possible to issue multiple concurrent LSM commands on the same disk
Summary: It's possible to issue multiple concurrent LSM commands on the same disk
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Storage
Version: future
Hardware: Unspecified
OS: Unspecified
unspecified
medium
Target Milestone: ovirt-4.2.0
: ---
Assignee: Benny Zlotnik
QA Contact: Lilach Zitnitski
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-06-12 12:20 UTC by Benny Zlotnik
Modified: 2017-12-20 10:47 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: No Doc Update
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-12-20 10:47:18 UTC
oVirt Team: Storage
Embargoed:
rule-engine: ovirt-4.2+


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1456504 0 unspecified CLOSED LSM status should be polled using the job and not the entities status 2021-02-22 00:41:40 UTC
oVirt gerrit 78097 0 master MERGED Revert "core: change LSM lock scope to execution" 2017-06-12 15:56:33 UTC

Internal Links: 1456504

Description Benny Zlotnik 2017-06-12 12:20:35 UTC
Description of problem:
As a result of the patch[1], it is possible to issue multiple LSM commands causing the creation of multiple auto-generated snapshots

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


How reproducible:
100%

Steps to Reproduce:
1. Start a move via the REST API
2. Immediately start another

Actual results:
Multiple snapshots are created

Expected results:
The subsequent calls to the move command should fail until the first is finished

Additional info:
1 - https://gerrit.ovirt.org/#/c/77504/

Comment 1 Lilach Zitnitski 2017-07-13 07:02:54 UTC
--------------------------------------
Tested with the following code:
----------------------------------------
ovirt-engine-4.2.0-0.0.master.20170711205308.git8e7af78.el7.centos.noarch
vdsm-4.20.1-176.gitecbab6b.el7.centos.x86_64

Tested with the following scenario:

Steps to Reproduce:
1. Start a move via the REST API
2. Immediately start another

Actual results:
Second move failed to start

Expected results:

Moving to VERIFIED!

Comment 2 Sandro Bonazzola 2017-12-20 10:47:18 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.