Bug 1079747

Summary: [engine-backend] cannot create floating disk
Product: Red Hat Enterprise Virtualization Manager Reporter: Elad <ebenahar>
Component: ovirt-engineAssignee: Tal Nisan <tnisan>
Status: CLOSED CURRENTRELEASE QA Contact: Aharon Canan <acanan>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.4.0CC: acanan, acathrow, amureini, eedri, gklein, iheim, lpeer, Rhev-m-bugs, scohen, tnisan, yeylon
Target Milestone: ---Keywords: Regression
Target Release: 3.4.0   
Hardware: x86_64   
OS: Unspecified   
Whiteboard: storage
Fixed In Version: av6 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:
Bug Depends On:    
Bug Blocks: 1090946    
Attachments:
Description Flags
engine.log and screenshot none

Description Elad 2014-03-23 16:50:22 UTC
Created attachment 877897 [details]
engine.log and screenshot

Description of problem:
Creation of floating disk action gets blocked by engine by a CanDoAction failure.
The reason for the CDA is that the disk is created with 'active=true'. 

Version-Release number of selected component (if applicable):
rhevm-3.4.0-0.10.beta2.el6ev.noarch

How reproducible:
Always

Steps to Reproduce:
1. Create a floating disk
2.
3.

Actual results:

Engine block the operation:

2014-03-23 18:36:35,369 WARN  [org.ovirt.engine.core.bll.AddDiskCommand] (ajp-/127.0.0.1:8702-9) [72fb128] CanDoAction of action AddDisk failed. Reasons:VAR__ACTION__ADD,VAR__TYPE__VM_DISK,CANNOT_ADD_FLOATING_DISK_WITH_PLUG_VM_SET



On UI:

Operation Canceled
Error while executing action: Cannot add Virtual Machine Disk. A disk configured with the "Activate" setting cannot be created as a floating disk.


Expected results:
active=true parameter shouldn't be passed as true when creating a floating disk since it's floating and not attached to a VM.

Additional info: engine.log and screenshot

Comment 2 Allon Mureinik 2014-03-26 09:20:38 UTC
Tal, didn't you solve this already?

Comment 3 Tal Nisan 2014-03-26 11:49:09 UTC
Indeed

Comment 5 Aharon Canan 2014-04-06 14:07:54 UTC
Verified using av6

Comment 6 Itamar Heim 2014-06-12 14:08:16 UTC
Closing as part of 3.4.0