Bug 827871

Summary: ovirt-engine-backend: Actions ran on disks from the disk's sub tab under VM's tab will cause vm to get into image locked
Product: Red Hat Enterprise Virtualization Manager Reporter: Dafna Ron <dron>
Component: ovirt-engineAssignee: mkublin <mkublin>
Status: CLOSED CURRENTRELEASE QA Contact: Dafna Ron <dron>
Severity: high Docs Contact:
Priority: high    
Version: 3.1.0CC: amureini, bazulay, dyasny, hateya, iheim, Rhev-m-bugs, yeylon, ykaul
Target Milestone: ---   
Target Release: 3.1.0   
Hardware: x86_64   
OS: Linux   
Whiteboard: storage
Fixed In Version: SI6 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 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:
Attachments:
Description Flags
log none

Description Dafna Ron 2012-06-03 11:48:30 UTC
Created attachment 588833 [details]
log

Description of problem:

when creating a new disk under the disk sub tab (under the vm tab's) the vm gets into image locked.
since the disks are independent entities we should not lock the vm for actions that only lock the disk. 

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

si4

How reproducible:

100%

Steps to Reproduce:
1. create a new disk using the disk sub tabs under the vm tab
2.
3.
  
Actual results:

vm gets into image locked. 

Expected results:

only the disk should get into image locked
any run or action on the vm entity should be blocked by validation. 

Additional info: backend log

Comment 1 mkublin 2012-06-04 09:24:30 UTC
Solution is : http://gerrit.ovirt.org/#/c/5024/
The same solution is also fort bug https://bugzilla.redhat.com/769885
But the problems is a little bit different

Comment 2 Dafna Ron 2012-06-19 16:23:59 UTC
verified on si6
vm will no longer get into image locked when performing disk tasks.