Created attachment 852641[details]
engine.log and screenshot
Description of problem:
Engine does not block user from adding a disk with IDE interface, as active, to a running VM.
Version-Release number of selected component (if applicable):
ovirt-3.4.0-alpha1
ovirt-engine-3.4.0-0.2.master.20140106180914.el6.noarch
How reproducible:
Always
Steps to Reproduce:
1. create a VM and install OS (RHEL6.X/Win7/Win8/WinServer2008)
2. attach a second disk, with IDE interface, to the VM (while the VM is in 'Up' state
Actual results:
Engine allows user to hotplug an IDE disk.
The operation fails with:
2014-01-20 09:42:48,488 WARN [org.ovirt.engine.core.bll.HotPlugDiskToVmCommand] (org.ovirt.thread.pool-6-thread-44) [50371da] CanDoAction of action HotPlugDiskToVm failed. Reasons:VAR__ACTION__HOT_PLUG,VAR__TYPE__VM_DISK,ACTION_TYPE_FAILED_GUEST_OS_VERSION_IS_NOT_SUPPORTED
Expected results:
Engine should block user from adding a disk with unsupported disk inteface type as active to a running VM.
Additional info:
engine.log and screenshot
Adding IDE as active to running VM is still an option
the disk will be created but will be deactivated
We need to block the option,
as right now we are able to ask it to be active, and doing it without activation, only creation.
Created attachment 852641 [details] engine.log and screenshot Description of problem: Engine does not block user from adding a disk with IDE interface, as active, to a running VM. Version-Release number of selected component (if applicable): ovirt-3.4.0-alpha1 ovirt-engine-3.4.0-0.2.master.20140106180914.el6.noarch How reproducible: Always Steps to Reproduce: 1. create a VM and install OS (RHEL6.X/Win7/Win8/WinServer2008) 2. attach a second disk, with IDE interface, to the VM (while the VM is in 'Up' state Actual results: Engine allows user to hotplug an IDE disk. The operation fails with: 2014-01-20 09:42:48,488 WARN [org.ovirt.engine.core.bll.HotPlugDiskToVmCommand] (org.ovirt.thread.pool-6-thread-44) [50371da] CanDoAction of action HotPlugDiskToVm failed. Reasons:VAR__ACTION__HOT_PLUG,VAR__TYPE__VM_DISK,ACTION_TYPE_FAILED_GUEST_OS_VERSION_IS_NOT_SUPPORTED Expected results: Engine should block user from adding a disk with unsupported disk inteface type as active to a running VM. Additional info: engine.log and screenshot