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.
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:
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