Bug 1254467 - gstatus: gtatus show wrong protocols information which are currently being used
Summary: gstatus: gtatus show wrong protocols information which are currently being used
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: gstatus
Version: rhgs-3.1
Hardware: x86_64
OS: Linux
high
unspecified
Target Milestone: ---
: RHGS 3.1.1
Assignee: Bug Updates Notification Mailing List
QA Contact: storage-qa-internal@redhat.com
URL:
Whiteboard:
Depends On:
Blocks: 1251815
TreeView+ depends on / blocked
 
Reported: 2015-08-18 08:21 UTC by Anil Shah
Modified: 2015-08-27 13:06 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-08-27 12:07:50 UTC
Embargoed:


Attachments (Terms of Use)

Description Anil Shah 2015-08-18 08:21:30 UTC
Description of problem:

when you run gstatus  command, its shows all the protocols (NFS,FUSE and SAMBA) being turned on , irrespective of it is being used on not.

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

[root@localhost ~]# gstatus --version
gstatus 0.64

[root@localhost ~]# rpm -qa | grep glusterfs
glusterfs-api-3.7.1-11.el7rhgs.x86_64
glusterfs-cli-3.7.1-11.el7rhgs.x86_64
glusterfs-libs-3.7.1-11.el7rhgs.x86_64
glusterfs-client-xlators-3.7.1-11.el7rhgs.x86_64
glusterfs-server-3.7.1-11.el7rhgs.x86_64
glusterfs-rdma-3.7.1-11.el7rhgs.x86_64
glusterfs-3.7.1-11.el7rhgs.x86_64
glusterfs-fuse-3.7.1-11.el7rhgs.x86_64
glusterfs-geo-replication-3.7.1-11.el7rhgs.x86_64


How reproducible:

100%

Steps to Reproduce:
1. Create 6X2 distribute replicate volume
2. Mount volume as FUSE mount on client 
3. check gstatus. e.g gstatus -a
  

Actual results:
it show all the protocols (NFS.FUSE and SAMBA) turned  
Protocols: glusterfs:on  NFS:on  SMB:on

Expected results:

gstatus should show which ever protocol is on.

Additional info:

Comment 3 Sachidananda Urs 2015-08-27 12:07:50 UTC
This is a expected behavior.

It shows all the protocols that are enabled by default. If they are explicitly
set off like `user.cifs disable', `nfs.disable on' ...

These are picked up by looking at the config files, killing a process explicityly
doesn't affect this.


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