Bug 1282694

Summary: MoveOrCopyDisk - target disk isn't locked during the operation
Product: [oVirt] ovirt-engine Reporter: Liron Aravot <laravot>
Component: BLL.StorageAssignee: Liron Aravot <laravot>
Status: CLOSED CURRENTRELEASE QA Contact: Elad <ebenahar>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.6.0CC: acanan, amureini, bugs, ebenahar, ecohen, gklein, kgoldbla, laravot, lsurette, rbalakri, Rhev-m-bugs, tnisan, yeylon, ylavi
Target Milestone: ovirt-3.6.1Flags: rule-engine: ovirt-3.6.z+
rule-engine: exception+
ylavi: planning_ack+
amureini: devel_ack+
rule-engine: testing_ack+
Target Release: 3.6.1   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: storage
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1282693 Environment:
Last Closed: 2015-12-16 12:16:56 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:
Bug Depends On: 1232396, 1282693, 1284250    
Bug Blocks:    

Description Liron Aravot 2015-11-17 06:56:45 UTC
+++ This bug was initially created as a clone of Bug #1282693 +++

How reproducible:
100%

Steps to Reproduce:
1. Create a VM with 1 disk
2. From the Disk tab - select the disk and press copy
3. Refresh the disk tab, you should see the added disk there as well.

Actual results:
The added disk isn't locked, allowing to perform operations on it while the operation is ongoing. 

Expected results:
The target disk status should be 'LOCKED' while the operation is executed.

Comment 1 Yaniv Lavi 2015-11-22 14:24:11 UTC
Can you move this to oVirt?

Comment 2 Red Hat Bugzilla Rules Engine 2015-11-27 04:38:52 UTC
Bug tickets that are moved to testing must have target release set to make sure tester knows what to test. Please set the correct target release before moving to ON_QA.

Comment 3 Sandro Bonazzola 2015-12-01 15:06:50 UTC
This bug is referenced in git log for ovirt-engine-3.6.1.1.
Please set target release to 3.6.1.1 accordingly unless additional patches are needed.

Comment 4 Elad 2015-12-08 09:55:50 UTC
While copying disk (floating or attached to VM), both the source and destination image become Locked until the copyImage operation is finished.

Verified using rhevm-3.6.1.1-0.1.el6.noarch

Comment 5 Sandro Bonazzola 2015-12-16 12:16:56 UTC
According to verification status and target milestone this issue should be fixed in oVirt 3.6.1. Closing current release.