Bug 1369319

Summary: Replacing the brick without starting the volume shows up the error dialog window with variable names
Product: [oVirt] ovirt-engine Reporter: SATHEESARAN <sasundar>
Component: Frontend.WebAdminAssignee: Kaustav Majumder <kmajumde>
Status: CLOSED CURRENTRELEASE QA Contact: SATHEESARAN <sasundar>
Severity: medium Docs Contact:
Priority: low    
Version: 4.0.2.7CC: bugs, godas, kmajumde, sabose
Target Milestone: ovirt-4.3.2Flags: rule-engine: ovirt-4.3?
sasundar: planning_ack?
aoconnor: devel_ack+
pm-rhel: testing_ack+
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
RHEV-RHGS hyperconvergence
Last Closed: 2019-04-16 13:56:28 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:
Attachments:
Description Flags
screenshot showing the error window
none
screenshot showing the error window none

Description SATHEESARAN 2016-08-23 06:49:34 UTC
Description of problem:
-----------------------
Replacing the brick without starting the volume throws up the error window "Operation Cancelled" with variable names and not with correct values as "Error while executing action: =Cannot ${action} ${type}. Operation is not permitted on selected volume type."

Version-Release number of selected component (if applicable):
-------------------------------------------------------------
RHV-4.0.2-7

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

Steps to Reproduce:
-------------------
1. Add gluster node to the cluster
2. Create any volume ( simple as distributed volume )
3. Before starting the volume, click on the volume, and select the brick, and then select the operation 'Replace Brick' under 'Bricks' subtab
4. Choose the values for replacing brick

Actual results:
---------------
Error window comes up with variable names which are not interpolated

Expected results:
-----------------
Proper meaningful error message should be thrown

Comment 1 SATHEESARAN 2016-08-23 06:50:42 UTC
Created attachment 1193159 [details]
screenshot showing the error window

Comment 2 SATHEESARAN 2016-08-23 07:06:05 UTC
Created attachment 1193163 [details]
screenshot showing the error window

Here I tried replacing one of the brick in the replica 3 volume, before starting the volume

Comment 3 Sandro Bonazzola 2019-01-28 09:40:03 UTC
This bug has not been marked as blocker for oVirt 4.3.0.
Since we are releasing it tomorrow, January 29th, this bug has been re-targeted to 4.3.1.

Comment 4 Gobinda Das 2019-02-27 11:26:25 UTC
Moving this to ovirt-4.3.2 as ovirt-4.3.1 already released.

Comment 5 Sandro Bonazzola 2019-03-22 10:52:12 UTC
Moving to ON_QA being referenced patch 22ea00afdf7969c8db960e4761d8ae451042579c included since ovirt-engine-4.3.0_rc

Comment 6 SATHEESARAN 2019-04-11 08:11:51 UTC
Tested with RHV 4.3.3 and the replace brick throws proper error message
when the volume is down.

Error message looks like:
"Error while executing action: Cannot replace Brick(s). Gluster Volume is down."

Comment 7 Sandro Bonazzola 2019-04-16 13:56:28 UTC
This bugzilla is included in oVirt 4.3.2 release, published on March 19th 2019.

Since the problem described in this bug report should be
resolved in oVirt 4.3.2 release, it has been closed with a resolution of CURRENT RELEASE.

If the solution does not work for you, please open a new bug report.