Description of problem:
Mounting ganesha volume with UDP on client gets timeout even when the services mentioned in pre-requisite is added to firewalld.
firewall-cmd --zone=zone_name --add-service=nlm --add-service=nfs --add-service=rpc-bind --add-service=high-availability --add-service=mountd --add-service=rquota
If the nfs specific port i.e 2049/UDP is added to firewalld,UDP mount works
Version-Release number of selected component (if applicable):
# rpm -qa | grep ganesha
nfs-ganesha-gluster-2.4.4-8.el7rhgs.x86_64
nfs-ganesha-debuginfo-2.4.4-8.el7rhgs.x86_64
glusterfs-ganesha-3.8.4-27.el7rhgs.x86_64
nfs-ganesha-2.4.4-8.el7rhgs.x86_64
How reproducible:
Consistently
Steps to Reproduce:
1.Create a 4 node ganesha cluster
2.Create a volume.Enable ganesha on it
3.Mount the volume to client via UDP
# mount -t nfs -o vers=3,udp 10.70.42.40:/dist /mnt/mani_udp/
mount.nfs: Connection timed out
Actual results:
UDP mount gets timed-out
Expected results:
Volume should be mounted via UDP successfully
Additional info:
Have raised BZ#1462088 to address it part of firewalld package. For this release, bug1462095 and bug1462098 should take care of handling that extra step to manually open the port before cluster setup.