Bug 2014017

Summary: Can not download VM disks due to 'Cannot transfer Virtual Disk: Disk is locked'
Product: Red Hat Enterprise Virtualization Manager Reporter: Juan Orti <jortialc>
Component: ovirt-engineAssignee: Pavel Bar <pbar>
Status: CLOSED ERRATA QA Contact: Amit Sharir <asharir>
Severity: high Docs Contact:
Priority: high    
Version: 4.4.8CC: aefrat, ahadas, asharir, bugs, bzlotnik, emarcus, eshames, eshenitz, izuckerm, jean-louis, lsvaty, nsoffer, pbar, sfishbai, tnisan, Yury.Panchenko
Target Milestone: ovirt-4.4.9Keywords: Automation, Reopened, ZStream
Target Release: ---Flags: aefrat: testing_plan_complete+
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: ovirt-engine-4.4.9.2 Doc Type: Bug Fix
Doc Text:
Previously, the status of the operation (download VM disks) was changed to one of the final statuses (FINISHED_SUCCESS / FINISHED_FAILURE) before the disk locks were actually released. As a result, in some scenarios, the operation following this one failed with a Disk is locked error. In this release, the locks are released immediately before changing the command status to one of the final phases. AS a result, the operation that follows this one and uses the same disk will succeed.
Story Points: ---
Clone Of: 1923178 Environment:
Last Closed: 2021-11-16 14:46:57 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: 1923178, 1976024    
Bug Blocks: 1883949, 1984308, 1994001    

Comment 5 Amit Sharir 2021-10-19 10:48:30 UTC
Version:
ovirt-engine-4.4.9.2-0.6.el8ev.noarch
vdsm-4.40.90.2-1.el8ev.x86_64

Verification flow:
I Used multiple automation/manual tests (with different storage types) that reproduced this issue in the past - without any success in reproduction.

Verification Conclusions:
The expected output matched the actual output.
All the flows I mentioned were completed with no errors.


Bug verified.

Comment 9 errata-xmlrpc 2021-11-16 14:46:57 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Moderate: RHV Manager (ovirt-engine) security update [ovirt-4.4.9]), and where to find the updated
files, follow the link below.

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

https://access.redhat.com/errata/RHSA-2021:4626