Bug 1079747 - [engine-backend] cannot create floating disk
Summary: [engine-backend] cannot create floating disk
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.4.0
Hardware: x86_64
OS: Unspecified
unspecified
high
Target Milestone: ---
: 3.4.0
Assignee: Tal Nisan
QA Contact: Aharon Canan
URL:
Whiteboard: storage
Depends On:
Blocks: rhev3.4snapshot2
TreeView+ depends on / blocked
 
Reported: 2014-03-23 16:50 UTC by Elad
Modified: 2016-02-10 16:42 UTC (History)
11 users (show)

Fixed In Version: av6
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
oVirt Team: Storage
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
engine.log and screenshot (846.82 KB, application/x-gzip)
2014-03-23 16:50 UTC, Elad
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 26017 0 None None None Never

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


Note You need to log in before you can comment on or make changes to this bug.