Bug 1500602 - [RFE] Volume type for arbiter in vol info shows replicate, it should be arbiter
Summary: [RFE] Volume type for arbiter in vol info shows replicate, it should be arbiter
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: arbiter
Version: rhgs-3.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: ---
Assignee: Ravishankar N
QA Contact: Karan Sandha
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-10-11 07:40 UTC by Bala Konda Reddy M
Modified: 2017-10-12 05:30 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-10-12 05:30:43 UTC
Embargoed:


Attachments (Terms of Use)

Description Bala Konda Reddy M 2017-10-11 07:40:49 UTC
Description of problem:

Currently for arbiter volume. In gluster vol info under volume type, it is showing Replicate. It would be better if the volume type is made as Arbiter.  

In gluster vol info
[root@dhcp37-104 ~]# gluster vol info
 
Volume Name: testvol_arb
Type: Replicate
Volume ID: e03f984c-62cc-42f7-844d-7cce3a8ae7d3
Status: Started
Snapshot Count: 0
Number of Bricks: 1 x (2 + 1) = 3
Transport-type: tcp
Bricks:
Brick1: 10.70.37.104:/bricks/brick0/ab_1
Brick2: 10.70.37.100:/bricks/brick0/ab_2
Brick3: 10.70.37.92:/bricks/brick0/ab_3 (arbiter)
Options Reconfigured:
features.quota-deem-statfs: on
features.inode-quota: on
features.quota: on
transport.address-family: inet

Comment 2 Ravishankar N 2017-10-11 08:25:29 UTC
arbiter volumes are a type of replicate volume, so I don't think this is something we need to fix. We have a clear distinction in the  "Number of Bricks" filed where it shows 1x(2+1) instead of 1x3. Also the 3rd brick is explicitly mentioned as arbiter. Can we close this bug?

Comment 3 Bala Konda Reddy M 2017-10-12 04:56:17 UTC
I agree with what you have mentioned. 

If we have many volumes it will be ambiguous to check what is the volume type. It would be better if we can differentiate the volume type. Or

With Replicate as volume type itself we can add arbiter in parentheses. Just like we did for arbiter brick with (arbiter)

Brick3: 10.70.37.92:/bricks/brick0/ab_3 (arbiter)

Comment 4 Ravishankar N 2017-10-12 05:30:43 UTC
Closing after discussing with Bala. For visual identification, "Number of bricks" and '(arbiter)' marking on the 3rd brick serves the purpose. For non-visual identification (scripting), `gluster v info --xml` has 'arbiterCount' and 'isArbiter' tags serve to distinguish arbiter volumes from replica 2 or replica 3.


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