[Bugs] [Bug 1436614] New: Brick Multiplexing: dedicated brick logs not available anymore

bugzilla at redhat.com bugzilla at redhat.com
Tue Mar 28 10:15:13 UTC 2017


https://bugzilla.redhat.com/show_bug.cgi?id=1436614

            Bug ID: 1436614
           Summary: Brick Multiplexing: dedicated brick logs not available
                    anymore
           Product: GlusterFS
           Version: 3.10
         Component: core
          Severity: high
          Assignee: bugs at gluster.org
          Reporter: nchilaka at redhat.com
                CC: bugs at gluster.org



Description of problem:
=======================
With brick multiplexing enabled, if I have volume{1..5}. I don't find brick
logs for each of the bricks in each of these volumes any more in
/var/log/glusterfs/bricks
Instead I find only one brick log for all the bricks in that node


I understand that now given that we have one glusterfsd per node, that is the
reason, but then for the end user or admin, it would be difficult to debug into
the logs for a particular volume




Version-Release number of selected component (if applicable):
=====================
[root at dhcp35-192 bricks]# rpm -qa|grep gluster
glusterfs-fuse-3.10.0-1.el7.x86_64
glusterfs-rdma-3.10.0-1.el7.x86_64
glusterfs-libs-3.10.0-1.el7.x86_64
glusterfs-client-xlators-3.10.0-1.el7.x86_64
glusterfs-api-3.10.0-1.el7.x86_64
glusterfs-server-3.10.0-1.el7.x86_64
glusterfs-debuginfo-3.10.0-1.el7.x86_64
glusterfs-3.10.0-1.el7.x86_64
glusterfs-cli-3.10.0-1.el7.x86_64

in my case I have below volumes:

[root at dhcp35-192 bricks]# gluster v status
Status of volume: distrep
Gluster process                             TCP Port  RDMA Port  Online  Pid
------------------------------------------------------------------------------
Brick 10.70.35.192:/rhs/brick2/distrep      49156     0          Y       6301 
Brick 10.70.35.214:/rhs/brick2/distrep      49154     0          Y       20321
Brick 10.70.35.192:/rhs/brick3/distrep      49156     0          Y       6301 
Brick 10.70.35.215:/rhs/brick3/distrep      49154     0          Y       13393
Self-heal Daemon on localhost               N/A       N/A        Y       6752 
Self-heal Daemon on 10.70.35.214            N/A       N/A        Y       21013
Self-heal Daemon on 10.70.35.215            N/A       N/A        Y       14199

Task Status of Volume distrep
------------------------------------------------------------------------------
There are no active volume tasks

Status of volume: ecvol_1
Gluster process                             TCP Port  RDMA Port  Online  Pid
------------------------------------------------------------------------------
Brick 10.70.35.192:/rhs/brick1/ecvol_1      49156     0          Y       6301 
Brick 10.70.35.214:/rhs/brick1/ecvol_1      49154     0          Y       20321
Brick 10.70.35.215:/rhs/brick1/ecvol_1      49154     0          Y       13393
Brick 10.70.35.192:/rhs/brick2/ecvol_1      49156     0          Y       6301 
Brick 10.70.35.214:/rhs/brick2/ecvol_1      49154     0          Y       20321
Brick 10.70.35.215:/rhs/brick2/ecvol_1      49154     0          Y       13393
Brick 10.70.35.192:/rhs/brick3/ecvol_1      49156     0          Y       6301 
Brick 10.70.35.214:/rhs/brick3/ecvol_1      49154     0          Y       20321
Brick 10.70.35.215:/rhs/brick3/ecvol_1      49154     0          Y       13393
Brick 10.70.35.192:/rhs/brick4/ecvol_1      49156     0          Y       6301 
Brick 10.70.35.214:/rhs/brick4/ecvol_1      49154     0          Y       20321
Brick 10.70.35.215:/rhs/brick4/ecvol_1      49154     0          Y       13393
Self-heal Daemon on localhost               N/A       N/A        Y       6752 
Self-heal Daemon on 10.70.35.214            N/A       N/A        Y       21013
Self-heal Daemon on 10.70.35.215            N/A       N/A        Y       14199

Task Status of Volume ecvol_1
------------------------------------------------------------------------------
There are no active volume tasks

Status of volume: spencer
Gluster process                             TCP Port  RDMA Port  Online  Pid
------------------------------------------------------------------------------
Brick 10.70.35.192:/rhs/brick4/spencer      49156     0          Y       6301 
Brick 10.70.35.214:/rhs/brick4/spencer      49154     0          Y       20321
Brick 10.70.35.215:/rhs/brick4/spencer      49154     0          Y       13393
Self-heal Daemon on localhost               N/A       N/A        Y       6752 
Self-heal Daemon on 10.70.35.215            N/A       N/A        Y       14199
Self-heal Daemon on 10.70.35.214            N/A       N/A        Y       21013

Task Status of Volume spencer
------------------------------------------------------------------------------
There are no active volume tasks

Status of volume: test
Gluster process                             TCP Port  RDMA Port  Online  Pid
------------------------------------------------------------------------------
Brick 10.70.35.214:/rhs/brick1/test         49154     0          Y       20321
Brick 10.70.35.215:/rhs/brick1/test         49154     0          Y       13393
Self-heal Daemon on localhost               N/A       N/A        Y       6752 
Self-heal Daemon on 10.70.35.214            N/A       N/A        Y       21013
Self-heal Daemon on 10.70.35.215            N/A       N/A        Y       14199

Task Status of Volume test
------------------------------------------------------------------------------
There are no active volume tasks





but the brick logs available are :
[root at dhcp35-192 bricks]# pwd
/var/log/glusterfs/bricks
[root at dhcp35-192 bricks]# ls
rhs-brick1-test.log  rhs-brick2-distrep.log  rhs-brick3-distrep.log


note:test volume was created before brick multiplex enabled, hence a log file
for its bricks

-- 
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