Bug 1386265 - Variable names are displayed in error dialog as against the actual values, when moving 2 of the nodes in the hc cluster to maintenance state
Summary: Variable names are displayed in error dialog as against the actual values, wh...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Frontend.WebAdmin
Version: 4.1.0
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ovirt-4.1.0-alpha
: 4.1.0.2
Assignee: Ramesh N
QA Contact: SATHEESARAN
URL:
Whiteboard:
: 1389730 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-10-18 13:54 UTC by SATHEESARAN
Modified: 2017-02-15 14:57 UTC (History)
6 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2017-02-15 14:57:16 UTC
oVirt Team: Gluster
Embargoed:
rule-engine: ovirt-4.1+
rule-engine: planning_ack+
rule-engine: devel_ack+
sasundar: testing_ack+


Attachments (Terms of Use)
screenshot showing the error dialog box (16.25 KB, image/png)
2016-10-18 13:54 UTC, SATHEESARAN
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 65810 0 master POST engine: fix error message in gluster host maintenance 2016-11-06 17:04:20 UTC

Description SATHEESARAN 2016-10-18 13:54:26 UTC
Created attachment 1211749 [details]
screenshot showing the error dialog box

Description of problem:
-----------------------
Moving 2 of the hosts in the hc (virt+gluster) cluster is prevented, as it would lead to non-availability of storage domain.

In this case, the proper error messages is thrown, but it has some variable names, instead of actual values

Version-Release number of selected component (if applicable):
-------------------------------------------------------------
ovirt master ( version 4.1.0-0.0.master.20160926231311.gitf265569.el7.centos )

How reproducible:
-----------------
Always

Steps to Reproduce:
-------------------
1. Create a cluster with both gluster & virt capability enabled
2. Add 3 hosts to this cluster
3. Move one of the host with maintenance state while stopping gluster services
4. Move another host to maintenance state

Actual results:
---------------
Errors displayed but with variables not being interpolated.

Expected results:
-----------------
Errors should be displayed with the actual value

Comment 1 Ramesh N 2016-10-28 11:00:23 UTC
*** Bug 1389730 has been marked as a duplicate of this bug. ***

Comment 2 Sandro Bonazzola 2016-12-12 13:58:11 UTC
The fix for this issue should be included in oVirt 4.1.0 beta 1 released on December 1st. If not included please move back to modified.

Comment 3 SATHEESARAN 2017-02-09 03:22:20 UTC
Tested with RHV 4.1 Beta1 ( Red Hat Virtualization Manager Version: 4.1.0.3-0.1.el7 )

1. In a cluster,with gluster+virt service enabled, and with 3 nodes.
2. Move one of the node to maintenance choosing to stop gluster services
3. Tried moving one another node to maintenance by choosing to stop gluster service. 

The action failed with propoer error message "Error while executing action: Cannot switch the following Host(s) to Maintenance mode: host3.
Gluster quorum will be lost for the following Volumes: engine"

There are no variable names listed


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