Created attachment 847526[details]
engine.log and screenshot
Description of problem:
I tried to change VM permissions on one of its attached disks, while the disk was unplugged and the VM was running. The operation was blocked by engine with a CanDoAction failure.
Version-Release number of selected component (if applicable):
ovirt-engine-3.4.0-0.2.master.20140106180914.el6.noarch
How reproducible:
Always
Steps to Reproduce:
Via UI:
1. Have a VM with plugged disk
2. Unplug the disk, edit it and check the 'Read-only' check-box
Actual results:
Cannot change VM permissions on the disk while VM is running, although disk is unplugged:
2014-01-09 10:23:13,765 WARN [org.ovirt.engine.core.bll.UpdateVmDiskCommand] (ajp--127.0.0.1-8702-11) [62dfddd] CanDoAction of action UpdateVmDisk failed. Reasons:VAR__ACTION__UPDATE,VAR__TYPE__VM_DISK,ACTION_TYPE_FAILED_VM_IS_NOT_DOWN
Expected results:
Disk should be editable, so it would be possible to change the VM permissions on it while the disk is unplugged and the VM is running.
Additional info: engine.log and screenshot
This is an automated message.
This BZ should be fixed in oVirt 3.4.0 RC repository, assignee please update the status of the bug to ON_QA once you've verified that the change is included in the build.
This is an automated message
oVirt 3.4.1 has been released:
* should fix your issue
* should be available at your local mirror within two days.
If problems still persist, please make note of it in this bug report.
Created attachment 847526 [details] engine.log and screenshot Description of problem: I tried to change VM permissions on one of its attached disks, while the disk was unplugged and the VM was running. The operation was blocked by engine with a CanDoAction failure. Version-Release number of selected component (if applicable): ovirt-engine-3.4.0-0.2.master.20140106180914.el6.noarch How reproducible: Always Steps to Reproduce: Via UI: 1. Have a VM with plugged disk 2. Unplug the disk, edit it and check the 'Read-only' check-box Actual results: Cannot change VM permissions on the disk while VM is running, although disk is unplugged: 2014-01-09 10:23:13,765 WARN [org.ovirt.engine.core.bll.UpdateVmDiskCommand] (ajp--127.0.0.1-8702-11) [62dfddd] CanDoAction of action UpdateVmDisk failed. Reasons:VAR__ACTION__UPDATE,VAR__TYPE__VM_DISK,ACTION_TYPE_FAILED_VM_IS_NOT_DOWN Expected results: Disk should be editable, so it would be possible to change the VM permissions on it while the disk is unplugged and the VM is running. Additional info: engine.log and screenshot