Bug 1143828

Summary: [RHSC] Adding brick to pure replicate volume by increasing replica count fails from Console
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Shruti Sampat <ssampat>
Component: rhscAssignee: Ramesh N <rnachimu>
Status: CLOSED ERRATA QA Contact: Shruti Sampat <ssampat>
Severity: medium Docs Contact:
Priority: high    
Version: rhgs-3.0CC: asrivast, dpati, kmayilsa, nlevinki, nsathyan, psriniva, rhs-bugs, rhsc-qe-bugs, rnachimu, sharne, shtripat
Target Milestone: ---Keywords: ZStream
Target Release: RHGS 3.0.4   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rhsc-3.0.4-1.22.el6rhs.noarch.rpm Doc Type: Bug Fix
Doc Text:
Previously, adding brick to pure replicate volume by increasing replica count failed from Red Hat Storage Console. With this fix, the replica count of a volume can be increased in Add Bricks UI and new bricks can be added to the volume.
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-26 06:32:56 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1182947    
Attachments:
Description Flags
screenshot none

Description Shruti Sampat 2014-09-18 05:43:12 UTC
Description of problem:
------------------------

After creating a replicate volume of replica count 2, attempt to add a brick to this volume by increasing the replica count to 3 fails. The message seen on the UI for add-brick is -

Number of bricks should be a mutiple of Replica Count

The same action succeeds when performed using gluster CLI, using the following command -

# gluster volume add-brick <vol-name> replica 3 <host-name>:<brick-path>

Screenshot of failure from UI attached.

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

Red Hat Storage Console Version: 3.0.0-0.14.el6rhs 

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

Always

Steps to Reproduce:
--------------------

1. Create a pure replicate volume with replica count 2.
2. Try to add a brick to this volume by increasing the replica count to 3.

Actual results:
----------------

Add brick fails.

Expected results:
-------------------

Add brick is expected to succeed.

Additional info:

Comment 1 Shruti Sampat 2014-09-18 05:44:52 UTC
Created attachment 938751 [details]
screenshot

Comment 3 Pavithra 2014-11-24 09:48:50 UTC
Hi Shubhendu,

I see this bug in the 3.0.3 known issues tracker bug https://bugzilla.redhat.com/show_bug.cgi?id=1153907.
Can you please change the doc type field to "known issues" and add the doc text?

Comment 6 Sahina Bose 2015-02-11 08:10:41 UTC
As discussed assigning this to you, Ramesh. Seems like a UI validation issue.

Comment 7 Shruti Sampat 2015-02-17 14:45:06 UTC
Verified as fixed in rhsc-3.0.4-1.22.el6rhs.noarch

Comment 8 Shalaka 2015-03-06 06:17:08 UTC
Please add doc text.

Comment 9 Shalaka 2015-03-13 07:20:07 UTC
Please review and sign-off edited doc text.

Comment 10 Ramesh N 2015-03-16 04:43:40 UTC
doc text looks good to me.

Comment 12 errata-xmlrpc 2015-03-26 06:32:56 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

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

https://rhn.redhat.com/errata/RHBA-2015-0681.html