Bug 1444784 - [Brick Multiplexing] - "cluster.brick-multiplex" tunable accepts garbage values
Summary: [Brick Multiplexing] - "cluster.brick-multiplex" tunable accepts garbage values
Keywords:
Status: CLOSED DUPLICATE of bug 1443950
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: core
Version: rhgs-3.3
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: ---
: ---
Assignee: Vijay Bellur
QA Contact: Ambarish
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-04-24 09:49 UTC by Ambarish
Modified: 2018-01-15 11:55 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-04-24 09:53:54 UTC
Embargoed:


Attachments (Terms of Use)

Description Ambarish 2017-04-24 09:49:21 UTC
Description of problem:
-----------------------

I can set the value of cluster.brick-multiplex to literally anything.

ONLY boolean values should be set for the tunable.


* set to a random string of chars* :

[root@gqas009 ~]# 
[root@gqas009 ~]# gluster v set all cluster.brick-multiplex  fe
volume set: success
[root@gqas009 ~]# 
[root@gqas009 ~]# gluster v info
 
Volume Name: testvol
Type: Distribute
Volume ID: 383b2632-efdc-4259-bedb-79b5ad3ecdfc
Status: Started
Snapshot Count: 0
Number of Bricks: 1
Transport-type: tcp
Bricks:
Brick1: gqas009.sbu.lab.eng.bos.redhat.com:/bricks/A
Options Reconfigured:
transport.address-family: inet
nfs.disable: on
cluster.brick-multiplex: fe
 
Volume Name: testvol2
Type: Distribute
Volume ID: dc2c6537-a13a-4b68-a744-2380ae13af61
Status: Started
Snapshot Count: 0
Number of Bricks: 1
Transport-type: tcp
Bricks:
Brick1: gqas009.sbu.lab.eng.bos.redhat.com:/bricks/A2
Options Reconfigured:
transport.address-family: inet
nfs.disable: on
cluster.brick-multiplex: fe
[root@gqas009 ~]# 

*set to -1* :

[root@gqas009 ~]# gluster v set all cluster.brick-multiplex  -1
volume set: success
[root@gqas009 ~]# 
[root@gqas009 ~]# 
[root@gqas009 ~]# gluster v info
 
Volume Name: testvol
Type: Distribute
Volume ID: 383b2632-efdc-4259-bedb-79b5ad3ecdfc
Status: Started
Snapshot Count: 0
Number of Bricks: 1
Transport-type: tcp
Bricks:
Brick1: gqas009.sbu.lab.eng.bos.redhat.com:/bricks/A
Options Reconfigured:
transport.address-family: inet
nfs.disable: on
cluster.brick-multiplex: -1
 
Volume Name: testvol2
Type: Distribute
Volume ID: dc2c6537-a13a-4b68-a744-2380ae13af61
Status: Started
Snapshot Count: 0
Number of Bricks: 1
Transport-type: tcp
Bricks:
Brick1: gqas009.sbu.lab.eng.bos.redhat.com:/bricks/A2
Options Reconfigured:
transport.address-family: inet
nfs.disable: on
cluster.brick-multiplex: -1
[root@gqas009 ~]# 




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

glusterfs-server-3.8.4-23.el7rhgs.x86_64

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

Always.

Comment 2 Atin Mukherjee 2017-04-24 09:53:54 UTC

*** This bug has been marked as a duplicate of bug 1443950 ***


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