[Bugs] [Bug 1057295] glusterfs doesn't include firewalld rules

bugzilla at redhat.com bugzilla at redhat.com
Thu Oct 15 22:53:12 UTC 2015


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



--- Comment #8 from Vijay Bellur <vbellur at redhat.com> ---
COMMIT: http://review.gluster.org/12357 committed in release-3.7 by Niels de
Vos (ndevos at redhat.com) 
------
commit 429669168f6e13798c04ad0641909493c213f22e
Author: anand <anekkunt at redhat.com>
Date:   Sat Aug 22 01:09:53 2015 +0530

    firewall/spec: Create glusterfs firewall service if firewalld installed.

    It creates glusterfs firewall service during installation.

    glusterfs service : It contains all default ports which needs to be opened.
    During installation  glusterfs.xml is copied into firewall service
directory(/usr/lib/firewalld/services/).

    Note:
    1.For bricks: It opens the 512 ports, if brick is running out side this
range(>49664) then admin need to open the port
    for that brick.
    2.By default this service is not enabled in any of zone.

    To enable this service(glusterfs) in firewall:

    1. Get active zone(s) in node
         firewall-cmd  --get-active-zones

    2. Attached this service(glusterfs) to zone(s)
       firewall-cmd  --zone=<zone_name>  --add-service=glusterfs              
--To apply runtime
       firewall-cmd  --permanent  --zone=<zone_name>  --add-service=glusterfs 
--To apply permanent

    Note:
      we can also use firewall-config which gives GUI to configure firewall.

    Backport of:
    >Change-Id: Id97fe620c560fd10599511d751aed11a99ba4da5
    >BUG: 1253967
    >Signed-off-by: anand <anekkunt at redhat.com>
    >Reviewed-on: http://review.gluster.org/11989
    >Reviewed-by: Niels de Vos <ndevos at redhat.com>
    >Tested-by: NetBSD Build System <jenkins at build.gluster.org>
    >Tested-by: Gluster Build System <jenkins at build.gluster.com>
    >(cherry picked from commit 7f327d3b4f9222995d2ee78862e48ca44c28411c)

    Change-Id: Iacf44b15ffb176c965c7f3b074065a54cf785dc7
    BUG: 1057295
    Signed-off-by: anand <anekkunt at redhat.com>;
    Reviewed-on: http://review.gluster.org/12357
    Reviewed-by: Niels de Vos <ndevos at redhat.com>
    Tested-by: NetBSD Build System <jenkins at build.gluster.org>
    Tested-by: Gluster Build System <jenkins at build.gluster.com>

-- 
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