Bug 1462098 - [Ganesha+Gdeploy] Open up 2049 UDP port as pre-requisite to cluster setup
Summary: [Ganesha+Gdeploy] Open up 2049 UDP port as pre-requisite to cluster setup
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: gdeploy
Version: rhgs-3.3
Hardware: All
OS: All
unspecified
urgent
Target Milestone: ---
: ---
Assignee: Sachidananda Urs
QA Contact: Manisha Saini
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-06-16 07:43 UTC by Soumya Koduri
Modified: 2017-06-16 09:08 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-06-16 09:08:29 UTC
Embargoed:


Attachments (Terms of Use)

Description Soumya Koduri 2017-06-16 07:43:03 UTC
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 08:17:49 UTC
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 09:08:29 UTC
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.