Red Hat Bugzilla – Bug 833339
webadmin: move disk dialogue will not close after getting CanDoAction from backend when trying to move a disk that already started move
Last modified: 2016-02-10 12:05:41 EST
Created attachment 592883 [details]
screen shot and log
Description of problem:
moving a disk will not lock the disk right away (specially when we have several actions for different disks).
I can try to move the disk twice to different domains.
the action will fail in backend with CanDoAction but UI dialogue will remain opened with sandclock and we have to reload the UI to continue working
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. move disk
2. before its locked move it again
backend log shows CanDoAction but UI's Move Disk dialogue remains open with sandclock
we should either prevent the move in the first place or report the CanDoAction
Additional info: screen shot + log
2012-06-19 12:04:24,328 WARN [org.ovirt.engine.core.bll.MoveOrCopyDiskCommand] (ajp--0.0.0.0-8009-9) CanDoAction of action MoveOrCopyDisk failed. Reasons:VAR__ACTION__MOVE,VAR__TYPE__VM_DISK,ACTION_TYPE_FAILED_OBJECT_LOCKED
I have similar issue when I failed configure of local storage.
the dialogue remains open even though the operation failed.
Created attachment 592890 [details]
local logs and screen shot
Similar / duplicate to https://bugzilla.redhat.com/show_bug.cgi?id=832794#c1 - a CanDoAction failure is not propagated.
same thing for Move when SD is not available.
This is because a constant string is missing in UI which is exactly the string missing in BZ #832794, gerrit patch:
*** This bug has been marked as a duplicate of bug 832794 ***