Bug 1263201 - gstatus: TCP connection information for all the volumes are displayed wrong when nfs protocol is disabled
Summary: gstatus: TCP connection information for all the volumes are displayed wrong w...
Keywords:
Status: CLOSED CANTFIX
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: gstatus
Version: rhgs-3.1
Hardware: x86_64
OS: Linux
unspecified
urgent
Target Milestone: ---
: ---
Assignee: Sachidananda Urs
QA Contact: storage-qa-internal@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-09-15 10:13 UTC by Anil Shah
Modified: 2018-02-01 11:09 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-02-01 11:09:36 UTC
Embargoed:


Attachments (Terms of Use)

Description Anil Shah 2015-09-15 10:13:37 UTC
Description of problem:

When nfs protocol is disabled for all the volume in cluster, gstatus give wrong connection and tcp connectivity information 

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

[root@darkknight ~]# gstatus --version
gstatus 0.65
[root@darkknight ~]# rpm -qa | grep glusterfs
glusterfs-libs-3.7.1-14.el7rhgs.x86_64
glusterfs-fuse-3.7.1-14.el7rhgs.x86_64
glusterfs-3.7.1-14.el7rhgs.x86_64
glusterfs-api-3.7.1-14.el7rhgs.x86_64
glusterfs-cli-3.7.1-14.el7rhgs.x86_64
glusterfs-geo-replication-3.7.1-14.el7rhgs.x86_64
glusterfs-client-xlators-3.7.1-14.el7rhgs.x86_64
glusterfs-server-3.7.1-14.el7rhgs.x86_64


How reproducible:

100%

Steps to Reproduce:
1. Create on distribute-replicate, ecvol and distribute volume.
2. check gstatus -a
3. disable nfs protocal on all the volumes. e.g gluster v set dist-vol  nfs.disable on 
4. check gstatus -a

Actual results:

TCP connection is being displayed wrong.

Expected results:

TCP connection information should be displayed correct for all the volume

Additional info:

When NFS is disabled :

[root@darkknight ~]# gstatus -a
 
     Product: Community          Capacity: 239.00 GiB(raw bricks)
      Status: HEALTHY                      395.00 MiB(raw used)
   Glusterfs: 3.7.1                        196.00 GiB(usable from volumes)
  OverCommit: No                Snapshots:   0

   Nodes       :  4/  4		  Volumes:   3 Up
   Self Heal   :  4/  4		             0 Up(Degraded)
   Bricks      : 12/ 12		             0 Up(Partial)
   Connections :  4/  24                     0 Down

Volume Information
	dist-vol         UP - 4/4 bricks up - Distribute
	                 Capacity: (0% used) 132.00 MiB/80.00 GiB (used/total)
	                 Snapshots: 0
	                 Self Heal: N/A
	                 Tasks Active: None
	                 Protocols: glusterfs:on  NFS:off  SMB:on
	                 Gluster Connectivty: 0 hosts, 0 tcp connections

	distibute        UP - 2/2 bricks up - Distribute
	                 Capacity: (0% used) 66.00 MiB/30.00 GiB (used/total)
	                 Snapshots: 0
	                 Self Heal: N/A
	                 Tasks Active: None
	                 Protocols: glusterfs:on  NFS:off  SMB:on
	                 Gluster Connectivty: 0 hosts, 0 tcp connections

	ecvol            UP - 6/6 bricks up - Disperse
	                 Capacity: (0% used) 132.00 MiB/86.00 GiB (used/total)
	                 Snapshots: 0
	                 Self Heal:  6/ 6
	                 Tasks Active: None
	                 Protocols: glusterfs:on  NFS:off  SMB:on
	                 Gluster Connectivty: 4 hosts, 24 tcp connections


Status Messages
  - Cluster is HEALTHY, all_bricks checks successful
===========================================================================

When NFS is enabled 

[root@darkknight ~]# gstatus -a
 
     Product: Community          Capacity: 239.00 GiB(raw bricks)
      Status: HEALTHY                      395.00 MiB(raw used)
   Glusterfs: 3.7.1                        196.00 GiB(usable from volumes)
  OverCommit: No                Snapshots:   0

   Nodes       :  4/  4		  Volumes:   3 Up
   Self Heal   :  4/  4		             0 Up(Degraded)
   Bricks      : 12/ 12		             0 Up(Partial)
   Connections :  4/  72                     0 Down

Volume Information
	dist-vol         UP - 4/4 bricks up - Distribute
	                 Capacity: (0% used) 132.00 MiB/80.00 GiB (used/total)
	                 Snapshots: 0
	                 Self Heal: N/A
	                 Tasks Active: None
	                 Protocols: glusterfs:on  NFS:on  SMB:on
	                 Gluster Connectivty: 4 hosts, 16 tcp connections

	distibute        UP - 2/2 bricks up - Distribute
	                 Capacity: (0% used) 66.00 MiB/30.00 GiB (used/total)
	                 Snapshots: 0
	                 Self Heal: N/A
	                 Tasks Active: None
	                 Protocols: glusterfs:on  NFS:on  SMB:on
	                 Gluster Connectivty: 4 hosts, 8 tcp connections

	ecvol            UP - 6/6 bricks up - Disperse
	                 Capacity: (0% used) 132.00 MiB/86.00 GiB (used/total)
	                 Snapshots: 0
	                 Self Heal:  6/ 6
	                 Tasks Active: None
	                 Protocols: glusterfs:on  NFS:on  SMB:on
	                 Gluster Connectivty: 4 hosts, 48 tcp connections


Status Messages
  - Cluster is HEALTHY, all_bricks checks successful


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