Bug 1343333

Summary: [RFE] Simplify Non Root Geo-replication Setup
Product: [Community] GlusterFS Reporter: Aravinda VK <avishwan>
Component: geo-replicationAssignee: Aravinda VK <avishwan>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: mainlineCC: bugs
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.9.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1359605 (view as bug list) Environment:
Last Closed: 2017-03-27 18:19:57 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1359605    

Description Aravinda VK 2016-06-07 07:35:14 UTC
Description of problem:
Simplify the Non root user Geo-rep setup steps

Comment 1 Vijay Bellur 2016-06-07 07:35:42 UTC
REVIEW: http://review.gluster.org/14544 (geo-rep: Simplify Non root user(mountbroker) Setup) posted (#2) for review on master by Aravinda VK (avishwan)

Comment 2 Worker Ant 2016-08-25 08:11:17 UTC
REVIEW: http://review.gluster.org/14544 (geo-rep: Simplify Non root user(mountbroker) Setup) posted (#3) for review on master by Aravinda VK (avishwan)

Comment 3 Worker Ant 2016-08-30 14:21:21 UTC
REVIEW: http://review.gluster.org/14544 (geo-rep: Simplify Non root user(mountbroker) Setup) posted (#4) for review on master by Aravinda VK (avishwan)

Comment 4 Worker Ant 2016-08-31 05:22:59 UTC
COMMIT: http://review.gluster.org/14544 committed in master by Aravinda VK (avishwan) 
------
commit 55c255b27a99f027cb716800f8330f8faa4eb1f5
Author: Aravinda VK <avishwan>
Date:   Thu May 26 15:52:53 2016 +0530

    geo-rep: Simplify Non root user(mountbroker) Setup
    
    Setting up Non root Geo-replication is troublesome. Lot of steps
    involved like user setup, directory creation, setting up proper
    permissions, editing glusterd.vol file etc.
    
    Introducing `gluster-mountbroker` command, with this tool non root
    user setup steps are(Run the following commands in any one Slave
    node),
    
        gluster-mountbroker setup <MOUNT ROOT> <GROUP>
    
    For example,
    
        gluster-mountbroker setup /var/mountbroker-root geogroup
    
    Add user using,
    
        gluster-mountbroker add <VOLUME> <USER>
    
    For example,
    
        gluster-mountbroker add slavevol geoaccount
    
    Remove user or Volume using,
    
        gluster-mountbroker remove [--volume <VOLUME>] [--user <USER>]
    
    Example,
    
        gluster-mountbroker remove --volume slavevol --user geoaccount
        gluster-mountbroker remove --user geoaccount
        gluster-mountbroker remove --volume slavevol
    
    Check the status of setup using,
    
        gluster-mountbroker status
    
    Once the changes are complete, restart glusterd in all Slave nodes.
    and follow the Geo-rep instructions.
    
    Change-Id: Ied3fa009df6a886b24ddd86d39283fcfcff68c82
    BUG: 1343333
    Signed-off-by: Aravinda VK <avishwan>
    Reviewed-on: http://review.gluster.org/14544
    NetBSD-regression: NetBSD Build System <jenkins.org>
    Smoke: Gluster Build System <jenkins.org>
    Reviewed-by: Saravanakumar Arumugam <sarumuga>
    CentOS-regression: Gluster Build System <jenkins.org>
    Reviewed-by: Kotresh HR <khiremat>

Comment 5 Shyamsundar 2017-03-27 18:19:57 UTC
This bug is getting closed because a release has been made available that should address the reported issue. In case the problem is still not fixed with glusterfs-3.9.0, please open a new bug report.

glusterfs-3.9.0 has been announced on the Gluster mailinglists [1], packages for several distributions should become available in the near future. Keep an eye on the Gluster Users mailinglist [2] and the update infrastructure for your distribution.

[1] http://lists.gluster.org/pipermail/gluster-users/2016-November/029281.html
[2] https://www.gluster.org/pipermail/gluster-users/