Created attachment 822078 [details] logs Description of problem: Disk detachment from a running VM fails every time with a CanDoAction failure on engine. Version-Release number of selected component (if applicable): rhevm-3.3.0-0.32.beta1.el6ev.noarch How reproducible: 100% Steps to Reproduce: 1. create a VM with disk and start is 2. deactivate the disk 3. detach (remove) the disk from the vm (without checking the 'remove permanently' check-box Actual results: I'm failing with a CanDoAction on engine: 2013-11-10 16:11:58,889 WARN [org.ovirt.engine.core.bll.DetachDiskFromVmCommand] (ajp-/127.0.0.1:8702-5) [143302b4] CanDoAction of action DetachDiskFromVm failed. Reasons:VAR__ACTION__DETACH_ACTION_TO,VAR__TYPE__VM_DISK,ACTION_TYPE_FAILED_VM_IS_NOT_DOWN Expected results: It should be possible to detach a disk from a running VM Additional info: engine and vdsm logs
Steps to Reproduce: 1. create a VM with 2 disks and start is 2. deactivate the non-bootable disk 3. detach (remove) the disk from the vm (without checking the 'remove permanently' check-box
This issue relates to GWT serialization issue which is handled in this bug https://bugzilla.redhat.com/show_bug.cgi?id=1015683 therefore i mark this one as depends on it, as it will be merged this should be resolved. After this issue would be resolved, similar issue should reproduce with a little different steps (detaching an unplugged disk from vm from cluster in which hotplug/unplug isnt't supported), I've solved that in that bug 1029853 which depends on that one.
Moving to MODIFIED since bug 1015683 is already there.
bug 1015683 has nothing to do with this bug, removing dependency.
Elad, The reason for the failure described in this bug is that the GUI does not pass (serialize) the parameters correctly to the backend, as described in comment 3. This happens due to bug 1015683, hence the dependency. Returning it, just to be on the safe side. If you think they should not be dependent, please elaborate.
(In reply to Allon Mureinik from comment #7) > Elad, > > The reason for the failure described in this bug is that the GUI does not > pass (serialize) the parameters correctly to the backend, as described in > comment 3. > This happens due to bug 1015683, hence the dependency. > > Returning it, just to be on the safe side. If you think they should not be > dependent, please elaborate. I see.. anyway, it seems that this bug was fixed, so moving to VERIFIED. checked on is26, disk removal from VM works as should be
Closing - RHEV 3.3 Released