Fedora Account System
Red Hat Associate
Red Hat Customer
Description of problem: As mentioned in the bug1459909, nfs udp mount fails as the respective port (2049-UDP) is blocked by firewalld on the server machine. Till that bug gets addressed, we need to manually open it and hence should be automated via gdeploy too. The extra command shall be documented as part of bug1462095 - # firewall-cmd --zone=zone_name --add-port=2049/udp Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
There is a mechanism to do this, no code change needed for this. We just have to add a line in the config file. For example: [firewalld] action=add ports=111/tcp,2049/tcp,54321/tcp,5900/tcp,5900-6923/tcp,5666/tcp,16514/tcp services=glusterfs,nlm,nfs,rpc-bind,high-availability,mountd,rquota ^^^^^ Above is the existing example. We have to add an entry to the ports like: [firewalld] action=add ports=111/tcp,2049/tcp,54321/tcp,5900/tcp,5900-6923/tcp,5666/tcp,16514/tcp,2049/udp services=glusterfs,nlm,nfs,rpc-bind,high-availability,mountd,rquota,zonename
Thanks Sac. So we can document the same in the below section - 5.1.8. Deploying NFS Ganesha using gdeploy Enabling Firewall Ports This can be taken care of as part of bug1462095. Closing this BZ.