[Bugs] [Bug 1492542] New: Gluster v status client-list prints wrong output for multiplexed volume.
bugzilla at redhat.com
bugzilla at redhat.com
Mon Sep 18 06:17:55 UTC 2017
https://bugzilla.redhat.com/show_bug.cgi?id=1492542
Bug ID: 1492542
Summary: Gluster v status client-list prints wrong output for
multiplexed volume.
Product: GlusterFS
Version: mainline
Component: glusterd
Severity: high
Assignee: bugs at gluster.org
Reporter: hgowtham at redhat.com
CC: bugs at gluster.org
Description of problem:
the output for client-list prints more number of clients than it actually has.
Version-Release number of selected component (if applicable):
master (not backported to other branches so far)
How reproducible:
100%
Steps to Reproduce:
1.enable brick multiplexing (works fine for brick mux disabled)
2.create a volume and mount it (fuse mount is enough as a client)
3.gluster v status <volname> client-list
Actual results:
gluster v status v1 client-list
Client connections for volume v1
Name count
----- ------
fuse 4
total clients for volume v1 : 4
-----------------------------------------------------------------
Expected results:
gluster v status v1 client-list
Client connections for volume v1
Name count
----- ------
fuse 1
total clients for volume v1 : 1
-----------------------------------------------------------------
Below is the status and number of clients for the volume:
gluster v status
Status of volume: v1
Gluster process TCP Port RDMA Port Online Pid
------------------------------------------------------------------------------
Brick 192.168.122.17:/data/gluster/bricks/b
1 49152 0 Y 22707
Brick 192.168.122.17:/data/gluster/bricks/b
2 49152 0 Y 22707
Brick 192.168.122.17:/data/gluster/bricks/b
3 49152 0 Y 22707
Brick 192.168.122.17:/data/gluster/bricks/b
4 49152 0 Y 22707
Task Status of Volume v1
------------------------------------------------------------------------------
There are no active volume tasks
192.168.122.17:/v1 on /data/gluster/mount/v1 type fuse.glusterfs
(rw,default_permissions,allow_other,max_read=131072)
Additional info:
The number of clients is increased because for a brick multiplexed volume the
client to brick connection (xprt) is multiplexed and not one to one.
Every client has the connection for every other server to it is populated those
many number of times (number of brick in that process)
--
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
More information about the Bugs
mailing list