Bug 1031585 - [RHSC] Unable to remove more than one pair of bricks from a distributed-replicate ( 3x2 ) volume
Summary: [RHSC] Unable to remove more than one pair of bricks from a distributed-repli...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: rhsc
Version: 2.1
Hardware: Unspecified
OS: Unspecified
high
medium
Target Milestone: ---
: RHGS 2.1.2
Assignee: anmol babu
QA Contact: Shruti Sampat
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-11-18 10:53 UTC by Shruti Sampat
Modified: 2015-05-13 16:26 UTC (History)
9 users (show)

Fixed In Version: cb11
Doc Type: Enhancement
Doc Text:
Enhancements have been made to allow the removal of more than a pair of bricks from a distributed-replicate volume.
Clone Of:
Environment:
Last Closed: 2014-02-25 08:04:13 UTC
Embargoed:


Attachments (Terms of Use)
screenshot (170.41 KB, image/png)
2013-11-18 10:53 UTC, Shruti Sampat
no flags Details
engine logs (1.58 MB, text/x-log)
2013-11-18 10:57 UTC, Shruti Sampat
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2014:0208 0 normal SHIPPED_LIVE Red Hat Storage 2.1 enhancement and bug fix update #2 2014-02-25 12:20:30 UTC
oVirt gerrit 22229 0 None None None Never

Description Shruti Sampat 2013-11-18 10:53:41 UTC
Created attachment 825525 [details]
screenshot

Description of problem:
-----------------------

On trying to remove more than one pair of bricks from a distributed-replicate ( 3x2 ) volume the following error was seen - 

Incorrect bricks selected for removal in Distributed Replicate volume. <br/> Either all the selected bricks should be from the same sub volume or one brick each for every sub volume!
- 10.70.37.96:/rhs/brick3/b1
- 10.70.37.77:/rhs/brick4/b1
- 10.70.37.96:/rhs/brick4/b1
- 10.70.37.77:/rhs/brick3/b1

The same operation was successful from gluster CLI - 

[root@rhs tmp]# gluster v remove-brick dis_rep_vol 10.70.37.77:/rhs/brick3/b1 10.70.37.96:/rhs/brick3/b1  10.70.37.77:/rhs/brick4/b1 10.70.37.96:/rhs/brick4/b1 start
volume remove-brick start: success
ID: 3f65cf69-27d5-47c1-b464-9bcf61d23916

The operation should have succeeded from the Console too.

Version-Release number of selected component (if applicable):
Red Hat Storage Console Version: 2.1.2-0.23.master.el6_5 

How reproducible:
Always

Steps to Reproduce:
1. Create a distributed-replicate ( 3x2 ) volume, start it.
2. Select two pairs of bricks from the Console and click on Remove.

Actual results:
The above described error message is seen.

Expected results:
The operation should succeed.

Additional info:

Comment 1 Shruti Sampat 2013-11-18 10:57:16 UTC
Created attachment 825526 [details]
engine logs

Comment 3 Shruti Sampat 2013-12-12 11:25:48 UTC
Verified as fixed in Red Hat Storage Console Version: 2.1.2-0.27.beta.el6_5. Removing multiple replica groups at once is now possible.

Comment 4 Shalaka 2014-01-06 05:04:35 UTC
Please review and signoff the edited DocText.

Comment 5 anmol babu 2014-01-06 05:44:44 UTC
yep concise and appropriate.

Comment 6 Dusmant 2014-01-06 07:18:25 UTC
Anmol, change the doc_type to enhancement and add the notes. 
It's a change in behaviour and hence an enhancement.

Comment 7 Shalaka 2014-01-07 04:59:53 UTC
Please review the edited DocText and confirm.

Comment 8 anmol babu 2014-01-07 06:06:51 UTC
yep looks good to me.

Comment 10 errata-xmlrpc 2014-02-25 08:04:13 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.

http://rhn.redhat.com/errata/RHEA-2014-0208.html


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