Bug 1369319 - Replacing the brick without starting the volume shows up the error dialog window with variable names
Summary: Replacing the brick without starting the volume shows up the error dialog win...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: Frontend.WebAdmin
Version: 4.0.2.7
Hardware: x86_64
OS: Linux
low
medium vote
Target Milestone: ovirt-4.3.2
: ---
Assignee: Kaustav Majumder
QA Contact: SATHEESARAN
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-08-23 06:49 UTC by SATHEESARAN
Modified: 2019-04-16 13:56 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
RHEV-RHGS hyperconvergence
Last Closed: 2019-04-16 13:56:28 UTC
oVirt Team: Gluster
rule-engine: ovirt-4.3?
sasundar: planning_ack?
aoconnor: devel_ack+
pm-rhel: testing_ack+


Attachments (Terms of Use)
screenshot showing the error window (18.64 KB, image/png)
2016-08-23 06:50 UTC, SATHEESARAN
no flags Details
screenshot showing the error window (17.13 KB, image/png)
2016-08-23 07:06 UTC, SATHEESARAN
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 95453 0 master MERGED engine:Replace/Reset Brick showing variables names in validation messages 2018-12-06 08:23:02 UTC
oVirt gerrit 96035 0 ovirt-engine-4.2 ABANDONED engine:Replace/Reset Brick showing variables names in validation messages 2018-12-06 19:14:02 UTC

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.


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