[Bugs] [Bug 1540249] Gluster is trying to use a port outside documentation and firewalld' s glusterfs.xml

bugzilla at redhat.com bugzilla at redhat.com
Sun Feb 11 18:13:24 UTC 2018


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



--- Comment #19 from Gaurav Yadav <gyadav at redhat.com> ---

For me it was a firewall issue, on one of the node firewall was blocking the
connection.
Now I am able to perform all set of operation.

N1
firewall-cmd --get-active-zones
gluster
  interfaces: ens3
N2
firewall-cmd --get-active-zones
gluster
  interfaces: ens3

firewall-cmd --permanent --info-zone=gluster
gluster
  target: default
  icmp-block-inversion: no
  interfaces: 
  sources: 
  services: glusterfs
  ports: 22/tcp
  protocols: 
  masquerade: no
  forward-ports: 
  sourceports: 
  icmp-blocks: 
  rich rules: 

gluster pool list
UUID                    Hostname           State
b38f67e6-e67b-4e0b-834f-87df268b6243    192.168.122.120    Connected 
9d39dcde-cf55-4f8b-b889-4240fb4b72c8    localhost          Connected 

[root at localhost glusterfs]# gluster peer status
Number of Peers: 1

Hostname: 192.168.122.79
Uuid: 9d39dcde-cf55-4f8b-b889-4240fb4b72c8
State: Peer in Cluster (Connected

[root at localhost glusterfs]# gluster peer status
Number of Peers: 1

Hostname: 192.168.122.120
Uuid: b38f67e6-e67b-4e0b-834f-87df268b6243
State: Peer in Cluster (Connected)

[root at localhost glusterfs]# netstat -nap | grep gluster
tcp        0      0 0.0.0.0:49152           0.0.0.0:*               LISTEN     
10825/glusterfsd    
tcp        0      0 0.0.0.0:24007           0.0.0.0:*               LISTEN     
10677/glusterd      
tcp        0      0 192.168.122.120:24007   192.168.122.120:49150   ESTABLISHED
10677/glusterd      
tcp        0      0 192.168.122.120:49150   192.168.122.120:24007   ESTABLISHED
10825/glusterfsd    
tcp        0      0 192.168.122.120:24007   192.168.122.79:49151    ESTABLISHED
10677/glusterd      
tcp        0      0 192.168.122.120:49151   192.168.122.79:24007    ESTABLISHED
10677/glusterd      
unix  2      [ ACC ]     STREAM     LISTENING     75338    10677/glusterd      
/var/run/glusterd.socket
unix  2      [ ACC ]     STREAM     LISTENING     94304    10825/glusterfsd    
/var/run/gluster/changelog-93b92d74198dc111ed4be6a4e0d52563.sock
unix  2      [ ACC ]     STREAM     LISTENING     75696    10825/glusterfsd    
/var/run/gluster/6f4035c6b1db1fa531293ed9e2b3891a.socket
unix  3      [ ]         STREAM     CONNECTED     94316    10825/glusterfsd    
/var/run/gluster/6f4035c6b1db1fa531293ed9e2b3891a.socket
unix  3      [ ]         STREAM     CONNECTED     94315    10677/glusterd       
unix  2      [ ]         DGRAM                    74473    10677/glusterd       
unix  2      [ ]         DGRAM                    77064    10825/glusterfsd 


Port allocation to various processes.

1023 - 1       : Ports range for clients, if bind secure is turned on
49151 - 1024   : Port range for clients, if bind insecure is on
                   (fall back to this, if in above case ports exhaust)
49152 - 65535  : Port range for 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