Bug 1462098 - [Ganesha+Gdeploy] Open up 2049 UDP port as pre-requisite to cluster setup
[Ganesha+Gdeploy] Open up 2049 UDP port as pre-requisite to cluster setup
Status: CLOSED NOTABUG
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: gdeploy (Show other bugs)
3.3
All All
unspecified Severity urgent
: ---
: ---
Assigned To: Sachidananda Urs
Manisha Saini
:
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2017-06-16 03:43 EDT by Soumya Koduri
Modified: 2017-06-16 05:08 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2017-06-16 05:08:29 EDT
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 Soumya Koduri 2017-06-16 03:43:03 EDT
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:
Comment 2 Sachidananda Urs 2017-06-16 04:17:49 EDT
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
Comment 3 Soumya Koduri 2017-06-16 05:08:29 EDT
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.

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