Bug 849658

Summary: ovirt-engine-backend [Shared_Disk]: cannot change shared disk name while its in active state
Product: Red Hat Enterprise Virtualization Manager Reporter: Dafna Ron <dron>
Component: ovirt-engineAssignee: Nobody's working on this, feel free to take it <nobody>
Status: CLOSED WONTFIX QA Contact: Dafna Ron <dron>
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: abaron, amureini, dyasny, iheim, lpeer, Rhev-m-bugs, yeylon, ykaul
Target Milestone: ---   
Target Release: 3.1.0   
Hardware: x86_64   
OS: Linux   
Whiteboard: storage
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-03-03 21:38:24 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:
Attachments:
Description Flags
log none

Description Dafna Ron 2012-08-20 13:45:20 UTC
Created attachment 605709 [details]
log

Description of problem:

I could not change a shared disk name while it was still active in some of the vm's its attached to.

Error while executing action: Cannot edit Virtual Machine Disk. At least one of the VMs is not down.
 
Version-Release number of selected component (if applicable):

si14

How reproducible:

100%

Steps to Reproduce:
1. create and attach a shared disk to several vm's with rhel6 OS installed
2. run all but one of the vms
3. try to change the disk name in the vm which is in down state (since we cannot edit a disk while the vm is up, one of the vm's have to stay down). 
4. deactivate the disk on all vm's
5. try to change the disk name 
  
Actual results:

while at least one of the vm's has the disk in active state we cannot change the disk alias
if all disks are deactivated or vms are all down we can change the name. 

Expected results:

we should be able to change the alias even if the vm is running and the disk is active (since it's a db change). 

Additional info: log

Comment 1 Itamar Heim 2013-03-03 21:38:24 UTC
Closing old bugs. If this issue is still relevant/important in current version, please re-open the bug.