Bug 1283570

Summary: Better indication of arbiter brick presence in a volume.
Product: [Community] GlusterFS Reporter: Adrian Gruntkowski <adrian.gruntkowski>
Component: arbiterAssignee: Ravishankar N <ravishankar>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: low Docs Contact:
Priority: unspecified    
Version: 3.7.6CC: adrian.gruntkowski, pkarampu
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.7.7 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1285288 (view as bug list) Environment:
Last Closed: 2016-02-19 04:44:55 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: 1285288    

Description Adrian Gruntkowski 2015-11-19 10:28:28 UTC
Description of problem:

Currently there's no clear indication of volume being in an arbiter setup in the "gluster volume info" output. There's a change addressing that in 

http://review.gluster.com/#/c/12479/

but it still is a bit cryptic.

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

arbiter in GlusterFS 3.7.6 with a patch applied from http://review.gluster.com/#/c/12479/

How reproducible:

Issue "gluster volume info test-volume" where "test-volume" is a volume with an arbiter brick.


Actual results:

Volume Name: system_mail1
Type: Replicate
Volume ID: 7a49e1a2-01d3-4fe7-ac61-173757396250
Status: Started
Number of Bricks: 1 x (2 + 1) = 3
Transport-type: tcp
Bricks:
Brick1: cluster-rep:/GFS/system/mail1
Brick2: mail-rep:/GFS/system/mail1
Brick3: web-rep:/GFS/system/mail1
Options Reconfigured:
performance.readdir-ahead: on
cluster.server-quorum-ratio: 51%


Expected results:

Volume Name: system_mail1
Type: Replicate
Volume ID: 7a49e1a2-01d3-4fe7-ac61-173757396250
Status: Started
Number of Bricks: 1 x (2 + 1) = 3
Transport-type: tcp
Bricks:
Brick1: cluster-rep:/GFS/system/mail1
Brick2: mail-rep:/GFS/system/mail1
Brick3: web-rep:/GFS/system/mail1 (arbiter)
Options Reconfigured:
performance.readdir-ahead: on
cluster.server-quorum-ratio: 51%

Comment 1 Vijay Bellur 2015-11-25 11:18:21 UTC
REVIEW: http://review.gluster.org/12748 (cli: Indicate which brick of the replica is the arbiter) posted (#1) for review on release-3.7 by Ravishankar N (ravishankar)

Comment 2 Vijay Bellur 2015-11-26 07:28:01 UTC
COMMIT: http://review.gluster.org/12748 committed in release-3.7 by Atin Mukherjee (amukherj) 
------
commit 4ebd70ce34d4d3825f850f118933069b9ea2924f
Author: Ravishankar N <ravishankar>
Date:   Wed Nov 25 16:42:20 2015 +0530

    cli: Indicate which brick of the replica is the arbiter
    
    Backport of http://review.gluster.org/#/c/12747/
    
    Enhances the cli output for arbiter volumes as requested in the BZ.
    Signed-off-by: Ravishankar N <ravishankar>
    
    Change-Id: I28cc34d7d19def043d54291cede25a58dbcc5051
    BUG: 1283570
    Reviewed-on: http://review.gluster.org/12748
    Tested-by: NetBSD Build System <jenkins.org>
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Pranith Kumar Karampuri <pkarampu>
    Reviewed-by: Atin Mukherjee <amukherj>

Comment 3 Ravishankar N 2016-02-19 04:44:55 UTC
 v3.7.7 contains a fix

Comment 4 Kaushal 2016-04-19 07:48:46 UTC
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.7.7, please open a new bug report.

glusterfs-3.7.7 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] https://www.gluster.org/pipermail/gluster-users/2016-February/025292.html
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user