Bug 1036784 - [Text] Power Management - variable is not substituted in error message "Cannot restart ${type}."
Summary: [Text] Power Management - variable is not substituted in error message "Canno...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine-webadmin-portal
Version: 3.2.0
Hardware: Unspecified
OS: Unspecified
unspecified
low
Target Milestone: ---
: 3.4.0
Assignee: Eli Mesika
QA Contact: Tareq Alayan
URL:
Whiteboard: infra
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-02 15:43 UTC by Pavel Novotny
Modified: 2016-02-10 19:06 UTC (History)
7 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed:
oVirt Team: Infra
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
Screenshot of message I get in 3.4 for scenario described in the BZ (33.27 KB, image/png)
2014-01-29 15:10 UTC, Eli Mesika
no flags Details

Description Pavel Novotny 2013-12-02 15:43:08 UTC
Description of problem:
When you try to manually reboot host with PM while it's being already rebooted by automatic intervention of RHEVM, you will get error dialog with message containing not substituted variable: "Cannot restart ${type}. Related operation is...". 


Version-Release number of selected component (if applicable):
rhevm-3.2.5-0.48.el6ev.noarch (sf22)

How reproducible:
100%

Steps to Reproduce:
1. Have 2 hosts - first one with power management (PM) and second one acting as PM proxy.
2. On the first host, block VDSM port 54321 -> In Webadmin, the host status will change to "Connecting".
3. Wait minute or two until the host status changes to "Reboot" and right then try to reboot the host via Power Management -> Restart.

Actual results:
Error dialog shows up:
"Cannot restart ${type}. Related operation is currently in progress. Please try again later."

Expected results:
The ${type} variable is substituted:
"Cannot restart host. Related operation is currently in progress. Please try again later."

Additional info:
This affects only Z-Stream RHEVM 3.2.5, in 3.3 the error message is slightly different but formatted correctly.

Comment 1 Eli Mesika 2014-01-29 15:10:49 UTC
Created attachment 857102 [details]
Screenshot of message I get in 3.4 for scenario described in the BZ

Comment 2 Eli Mesika 2014-01-29 15:20:57 UTC
This is working for me in 3.4 , so moving it to QA instead of CLOSE WORKSFORME
(see attachment in prev comment)

Comment 3 Tareq Alayan 2014-02-18 10:26:50 UTC

Error while executing action:

rose06:

    Another Power Management operation is still running, please retry in 114 Sec.
    Cannot restart Host. Fence operation failed.

Comment 4 Itamar Heim 2014-06-12 14:11:04 UTC
Closing as part of 3.4.0


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