Bug 1031386 - [engine-webadmin] inappropriate message when trying to perform an operation on a locked disk
[engine-webadmin] inappropriate message when trying to perform an operation o...
Status: CLOSED CURRENTRELEASE
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-webadmin-portal (Show other bugs)
3.3.0
x86_64 Unspecified
unspecified Severity high
: ---
: 3.4.0
Assigned To: Sergey Gotliv
Leonid Natapov
storage
:
Depends On:
Blocks: rhev3.4beta 1142926
  Show dependency treegraph
 
Reported: 2013-11-17 10:35 EST by Elad
Modified: 2016-02-10 11:38 EST (History)
9 users (show)

See Also:
Fixed In Version: ovirt-3.4.0-alpha1
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: Storage
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)
engine.log and screenshot (5.53 MB, application/x-gzip)
2013-11-17 10:35 EST, Elad
no flags Details


External Trackers
Tracker ID Priority Status Summary Last Updated
oVirt gerrit 21800 None None None Never

  None (edit)
Description Elad 2013-11-17 10:35:19 EST
Created attachment 825162 [details]
engine.log and screenshot

Description of problem:
I tried to deactivate (hotunplug) a disk while it was in locked state (due to previous deactivation). Engine blocked me from doing it with a CanDoAction but on UI I got this message:

"Cannot hot plug Virtual Machine Disk: The following disks are locked: ${diskAliases}. Please try again in a few minutes."

Version-Release number of selected component (if applicable):
is23
rhevm-3.3.0-0.33.beta1.el6ev.noarch

How reproducible:
100%

Steps to Reproduce:
1. Deactivate (hotunplug) a disk when the disk is in locked state


Actual results:
On engine.log, I'm getting:

2013-11-17 17:26:11,922 WARN  [org.ovirt.engine.core.bll.HotPlugDiskToVmCommand] (ajp-/127.0.0.1:8702-10) [47da8965] CanDoAction of action HotPlugDiskToVm failed. Reasons:VAR__ACTION__HOT_PLUG,VAR__TYPE__VM_DISK,ACTION_TYPE_FAILED_DISKS_LOCKED

The message on UI is presented with ${diskAliases} instead of the disk alias itself.

Expected results:
We should get the disk alias itself in the error message on UI

Additional info: engine.log and screenshot
Comment 1 Sandro Bonazzola 2014-01-14 03:44:26 EST
ovirt 3.4.0 alpha has been released
Comment 2 Leonid Natapov 2014-02-16 07:15:18 EST
3.4.0-0.7.beta2.el6. fixed. deactivate button greyed out while disk is locked.
Comment 3 Itamar Heim 2014-06-12 10:06:52 EDT
Closing as part of 3.4.0

Note You need to log in before you can comment on or make changes to this bug.