Bug 1263201 - gstatus: TCP connection information for all the volumes are displayed wrong when nfs protocol is disabled
gstatus: TCP connection information for all the volumes are displayed wrong w...
Status: NEW
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: gstatus (Show other bugs)
3.1
x86_64 Linux
unspecified Severity urgent
: ---
: ---
Assigned To: Sachidananda Urs
storage-qa-internal@redhat.com
: ZStream
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-09-15 06:13 EDT by Anil Shah
Modified: 2017-11-03 13:21 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed:
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)

  None (edit)
Description Anil Shah 2015-09-15 06:13:37 EDT
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.