Bug 1386265

Summary: 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
Product: [oVirt] ovirt-engine Reporter: SATHEESARAN <sasundar>
Component: Frontend.WebAdminAssignee: Ramesh N <rnachimu>
Status: CLOSED CURRENTRELEASE QA Contact: SATHEESARAN <sasundar>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 4.1.0CC: amureini, bmcclain, bugs, knarra, rnachimu, sabose
Target Milestone: ovirt-4.1.0-alphaFlags: rule-engine: ovirt-4.1+
rule-engine: planning_ack+
rule-engine: devel_ack+
sasundar: testing_ack+
Target Release: 4.1.0.2   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-02-15 14:57:16 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Gluster RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
screenshot showing the error dialog box none

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