Created attachment 637918 [details] log Description of problem: the move tab is not greyed out in the disks tab while vm is powering up it is greyed out from the vm's tab. when you try to move the disk we would get an incorrect error message: Error while executing action: Cannot move Virtual Machine Disk. At least one of the VMs is not down. Version-Release number of selected component (if applicable): si23 How reproducible: 100% Steps to Reproduce: 1. run a vm 2. move disk from disks tab while vm is powering up 3. Actual results: 1. move tab is not greyed out in disks tab but greyed out in vm's tab 2. incorrect text on canDoAction Expected results: 1. we should be consistent and grey out the move button until the vm is up 2. fix CanDoAction for API Additional info: log
(In reply to comment #0) > Created attachment 637918 [details] > log > > Description of problem: > > the move tab is not greyed out in the disks tab while vm is powering up > it is greyed out from the vm's tab. > > when you try to move the disk we would get an incorrect error message: > > Error while executing action: Cannot move Virtual Machine Disk. At least one > of the VMs is not down. > > Version-Release number of selected component (if applicable): > > si23 > > How reproducible: > > 100% > > Steps to Reproduce: > 1. run a vm > 2. move disk from disks tab while vm is powering up > 3. > > Actual results: > > 1. move tab is not greyed out in disks tab but greyed out in vm's tab > 2. incorrect text on canDoAction > > Expected results: > > 1. we should be consistent and grey out the move button until the vm is up not going to happen as disks tab is a main tab and it runs a query every 5s. Fetching VM status for all the VMs of all the disks is just not realistic. > 2. fix CanDoAction for API > > Additional info: log
Need to change the canDoAction to something like: "Move disk is only permitted while VM is either in 'Down' or 'Up' state"
patch merged: http://gerrit.ovirt.org/#/c/10154/ Change-Id: Iadcffa5748b58b1af40535b0447487dde6c2d6cb
Error: Cannot move Virtual Machine Disk. VM TEST1 must be in status Down or Up. verified on sf3
3.2 has been released