Bug 1136312 - geo-rep mount broker setup has to be simplified.
Summary: geo-rep mount broker setup has to be simplified.
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: geo-replication
Version: mainline
Hardware: Unspecified
OS: Unspecified
low
unspecified
Target Milestone: ---
Assignee: Aravinda VK
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1139106
TreeView+ depends on / blocked
 
Reported: 2014-09-02 10:21 UTC by Darshan
Modified: 2015-05-14 17:35 UTC (History)
3 users (show)

Fixed In Version: glusterfs-3.7.0beta1
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1139106 (view as bug list)
Environment:
Last Closed: 2015-05-14 17:26:11 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Darshan 2014-09-02 10:21:09 UTC
Description of problem: Setting up geo-replication mount broker involves many steps, which includes modifications to glusterd volfile on slave nodes. These steps have to be simplified. 


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Darshan 2014-09-02 11:03:53 UTC
It would be nice if we can have a command to set-up mount broker. Something similar to "gluster system:: execute gsec_create".

Comment 2 Anand Avati 2015-01-06 17:57:10 UTC
REVIEW: http://review.gluster.org/9398 (geo-rep: mountbroker user management) posted (#1) for review on master by Aravinda VK (avishwan)

Comment 3 Anand Avati 2015-01-07 03:06:31 UTC
REVIEW: http://review.gluster.org/9398 (geo-rep: mountbroker user management) posted (#2) for review on master by Aravinda VK (avishwan)

Comment 4 Anand Avati 2015-01-13 15:28:22 UTC
REVIEW: http://review.gluster.org/9398 (geo-rep: mountbroker user management) posted (#3) for review on master by Aravinda VK (avishwan)

Comment 5 Anand Avati 2015-01-13 18:58:19 UTC
REVIEW: http://review.gluster.org/9398 (geo-rep: mountbroker user management) posted (#4) for review on master by Aravinda VK (avishwan)

Comment 6 Anand Avati 2015-03-16 01:24:46 UTC
REVIEW: http://review.gluster.org/9398 (geo-rep: mountbroker user management) posted (#5) for review on master by Aravinda VK (avishwan)

Comment 7 Anand Avati 2015-03-17 11:56:28 UTC
COMMIT: http://review.gluster.org/9398 committed in master by Vijay Bellur (vbellur) 
------
commit 79009691c01f2b32b523d91a159aadd0e414f31b
Author: Aravinda VK <avishwan>
Date:   Tue Jan 6 18:20:45 2015 +0530

    geo-rep: mountbroker user management
    
    Non root geo-replication setup is now simplified. This
    patch provides cli for mountbroker user and options management
    
    To set Options,
        gluster system:: execute mountbroker opt <KEY> <VALUE>
        # for example,
        gluster system:: execute mountbroker opt mountbroker-root /var/mountbroker-root
        gluster system:: execute mountbroker opt geo-replication-log-group geogroup
        gluster system:: execute mountbroker opt rpc-auth-allow-insecure on
    
    To remove option,
        gluster system:: execute mountbroker optdel <KEY>
        # for example,
        gluster system:: execute mountbroker optdel geo-replication-log-group
    
    To add/edit user,
        gluster system:: execute mountbroker user <USERNAME> <VOLUMES>
        # for example
        gluster system:: execute mountbroker user geoaccount slavevol1,slavevol2
    
    To remove user,
        gluster system:: execute mountbroker userdel <USERNAME>
        # for example
        gluster system:: execute mountbroker userdel geoaccount
    
    For info,
        gluster system:: execute mountbroker info
        gluster system:: execute mountbroker -j info
    
    For JSON output add -j after mountbroker, for example,
        gluster system:: execute mountbroker -j user geoaccount slavevol1,slavevol2
    
    PS: Each peer prints its own JSON output, aggregator required from consumer side
    
    BUG: 1136312
    Change-Id: Ie52210c0bcc91ac2ffd3ba58988222ffca62b47f
    Signed-off-by: Aravinda VK <avishwan>
    Reviewed-on: http://review.gluster.org/9398
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: darshan n <dnarayan>
    Reviewed-by: Kotresh HR <khiremat>
    Reviewed-by: Vijay Bellur <vbellur>

Comment 8 Anand Avati 2015-03-18 07:31:02 UTC
REVIEW: http://review.gluster.org/9923 (geo-rep: Remove Generated file From git) posted (#1) for review on master by Aravinda VK (avishwan)

Comment 9 Anand Avati 2015-03-18 09:55:33 UTC
COMMIT: http://review.gluster.org/9923 committed in master by Vijay Bellur (vbellur) 
------
commit b5a01eb9b65a11866c2b4ce0068d60dc667ed2be
Author: Aravinda VK <avishwan>
Date:   Wed Mar 18 12:58:59 2015 +0530

    geo-rep: Remove Generated file From git
    
    geo-replication/src/peer_mountbroker
    
    BUG: 1136312
    Change-Id: Ib9b287b4e1183cb44acbf01184a240be7f09be7c
    Signed-off-by: Aravinda VK <avishwan>
    Reviewed-on: http://review.gluster.org/9923
    Reviewed-by: Vijay Bellur <vbellur>
    Tested-by: Vijay Bellur <vbellur>

Comment 10 Anand Avati 2015-03-26 10:18:28 UTC
REVIEW: http://review.gluster.org/10007 (doc/geo-rep: Mountbroker User Management) posted (#1) for review on master by Aravinda VK (avishwan)

Comment 11 Anand Avati 2015-04-02 05:07:28 UTC
REVIEW: http://review.gluster.org/10007 (doc/geo-rep: Mountbroker User Management) posted (#2) for review on master by Aravinda VK (avishwan)

Comment 12 Anand Avati 2015-04-07 06:59:51 UTC
REVIEW: http://review.gluster.org/10007 (doc/geo-rep: Mountbroker User Management) posted (#3) for review on master by Humble Devassy Chirammal (humble.devassy)

Comment 13 Anand Avati 2015-04-09 11:51:48 UTC
REVIEW: http://review.gluster.org/10007 (doc/geo-rep: Mountbroker User Management) posted (#4) for review on master by Aravinda VK (avishwan)

Comment 14 Anand Avati 2015-04-09 12:13:40 UTC
REVIEW: http://review.gluster.org/10007 (doc/geo-rep: Mountbroker User Management) posted (#5) for review on master by Aravinda VK (avishwan)

Comment 15 Anand Avati 2015-04-10 03:38:53 UTC
REVIEW: http://review.gluster.org/10007 (doc/geo-rep: Mountbroker User Management) posted (#6) for review on master by Humble Devassy Chirammal (humble.devassy)

Comment 16 Anand Avati 2015-04-10 06:54:31 UTC
REVIEW: http://review.gluster.org/10007 (doc/geo-rep: Mountbroker User Management) posted (#7) for review on master by Aravinda VK (avishwan)

Comment 17 Anand Avati 2015-04-10 09:26:10 UTC
COMMIT: http://review.gluster.org/10007 committed in master by Humble Devassy Chirammal (humble.devassy) 
------
commit 36aef0411431f62d2412f71557730543edf05726
Author: Aravinda VK <avishwan>
Date:   Thu Mar 26 15:45:55 2015 +0530

    doc/geo-rep: Mountbroker User Management
    
    BUG: 1136312
    Change-Id: I1c8374de6e7ec93e401ec1c224752bfa5538adee
    Signed-off-by: Aravinda VK <avishwan>
    Reviewed-on: http://review.gluster.org/10007
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Humble Devassy Chirammal <humble.devassy>
    Tested-by: Humble Devassy Chirammal <humble.devassy>

Comment 18 Niels de Vos 2015-05-14 17:26:11 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.7.0, please open a new bug report.

glusterfs-3.7.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://thread.gmane.org/gmane.comp.file-systems.gluster.devel/10939
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user

Comment 19 Niels de Vos 2015-05-14 17:28:10 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.7.0, please open a new bug report.

glusterfs-3.7.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://thread.gmane.org/gmane.comp.file-systems.gluster.devel/10939
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user

Comment 20 Niels de Vos 2015-05-14 17:35:13 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.7.0, please open a new bug report.

glusterfs-3.7.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://thread.gmane.org/gmane.comp.file-systems.gluster.devel/10939
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user


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