Bug 1475724 - [RFE] Add geo-replication support in gdeploy
Summary: [RFE] Add geo-replication support in gdeploy
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: gdeploy
Version: rhgs-3.3
Hardware: x86_64
OS: Linux
high
high
Target Milestone: ---
: RHGS 3.5.0
Assignee: Sachidananda Urs
QA Contact: Mugdha Soni
URL:
Whiteboard:
: 1477726 1632245 (view as bug list)
Depends On: 1707704 1720992
Blocks: 1696803
TreeView+ depends on / blocked
 
Reported: 2017-07-27 08:39 UTC by Sachidananda Urs
Modified: 2019-10-30 12:19 UTC (History)
11 users (show)

Fixed In Version: gdeploy-2.0.2-32
Doc Type: Enhancement
Doc Text:
Configuring geo-replication is a lengthy and error prone process. Support for geo-replication is now provided by gdeploy, automating and reducing error in this process.
Clone Of:
Environment:
Last Closed: 2019-10-30 12:19:10 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Bugzilla 1478124 0 unspecified CLOSED [Doc-RFE] Document geo-replication support in gdeploy 2023-11-25 04:58:24 UTC
Red Hat Product Errata RHBA-2019:3250 0 None None None 2019-10-30 12:19:19 UTC

Internal Links: 1478124

Description Sachidananda Urs 2017-07-27 08:39:41 UTC
Description of problem:

Add gdeploy modules to setup geo-replication. Should be able to:

i. Create geo-replication sessions
ii. Delete geo-replication sessions
iii. Start/Stop geo-replication sessions
iv. Create secure geo-replication session

Comment 2 Sachidananda Urs 2017-08-04 06:24:11 UTC
*** Bug 1477726 has been marked as a duplicate of this bug. ***

Comment 9 Sachidananda Urs 2018-11-15 07:03:39 UTC
*** Bug 1632245 has been marked as a duplicate of this bug. ***

Comment 20 Anjana Suparna Sriram 2019-07-03 10:15:42 UTC
*** Bug 1511491 has been marked as a duplicate of this bug. ***

Comment 21 Mugdha Soni 2019-07-06 14:49:14 UTC
Tested the following with gdeploy-2.0.2-34.el7rhgs.noarch and ansible-2.8.1-1.el7ae.noarch for root session and it works fine.

i. Create geo-replication sessions
ii. Delete geo-replication sessions
iii. Start/Stop geo-replication sessions
iv. Pause /Resume geo-rep sessions


Once non root is fixed will move the bug to verified.

Comment 23 Mugdha Soni 2019-07-24 10:21:47 UTC
Tested with the following :-
1.glusterfs-server-6.0-9.el7rhgs
2.gdeploy-2.0.2-34.el7rhgs.noarch
3.ansible-2.8.2-1.el7ae.noarch

The following scenarios were tested for non-root session :-
1.Created a non-root session and started it 
  
MASTER NODE                          MASTER VOL    MASTER BRICK          SLAVE USER    SLAVE                            SLAVE NODE                         
STATUS     CRAWL STATUS       LAST_SYNCED                  
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
dhcp35-188.lab.eng.blr.redhat.com    master        /mnt/brick2/master    testgeorep    testgeorep.35.26::slave    dhcp35-201.lab.eng.blr.redhat.com    Passive    N/A                N/A                          
dhcp35-117.lab.eng.blr.redhat.com    master        /mnt/brick2/master    testgeorep    testgeorep.35.26::slave    dhcp35-26.lab.eng.blr.redhat.com     Active     Changelog Crawl    2019-07-24 14:35:44          
dhcp35-93.lab.eng.blr.redhat.com     master        /mnt/brick2/master    testgeorep    testgeorep.35.26::slave    dhcp35-18.lab.eng.blr.redhat.com     Passive    N/A                N/A                          

2.Pause a georep session

[root@dhcp35-188 ~]# gluster v geo-replication master testgeorep.35.26::slave status 
 
MASTER NODE                          MASTER VOL    MASTER BRICK          SLAVE USER    SLAVE                            SLAVE NODE    STATUS    CRAWL STATUS    LAST_SYNCED          
--------------------------------------------------------------------------------------------------------------------------------------------------------------------------
dhcp35-188.lab.eng.blr.redhat.com    master        /mnt/brick2/master    testgeorep    testgeorep.35.26::slave    N/A           Paused    N/A             N/A                  
dhcp35-93.lab.eng.blr.redhat.com     master        /mnt/brick2/master    testgeorep    testgeorep.35.26::slave    N/A           Paused    N/A             N/A                  
dhcp35-117.lab.eng.blr.redhat.com    master        /mnt/brick2/master    testgeorep    testgeorep.35.26::slave    N/A           Paused    N/A             N/A   

3.Resumed the session

     
-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
dhcp35-188.lab.eng.blr.redhat.com    master        /mnt/brick2/master    testgeorep    testgeorep.35.26::slave    dhcp35-201.lab.eng.blr.redhat.com    Active     Changelog Crawl    2019-07-24 14:35:55          
dhcp35-93.lab.eng.blr.redhat.com     master        /mnt/brick2/master    testgeorep    testgeorep.35.26::slave    dhcp35-18.lab.eng.blr.redhat.com     Passive    N/A                N/A                          
dhcp35-117.lab.eng.blr.redhat.com    master        /mnt/brick2/master    testgeorep    testgeorep.35.26::slave    dhcp35-26.lab.eng.blr.redhat.com     Passive    N/A                N/A     

4.Stopped the session

[root@dhcp35-188 ~]# gluster v geo-replication master testgeorep.35.26::slave status 
 
MASTER NODE                          MASTER VOL    MASTER BRICK          SLAVE USER    SLAVE                            SLAVE NODE    STATUS     CRAWL STATUS    LAST_SYNCED          
---------------------------------------------------------------------------------------------------------------------------------------------------------------------------
dhcp35-188.lab.eng.blr.redhat.com    master        /mnt/brick2/master    testgeorep    testgeorep.35.26::slave    N/A           Stopped    N/A             N/A                  
dhcp35-117.lab.eng.blr.redhat.com    master        /mnt/brick2/master    testgeorep    testgeorep.35.26::slave    N/A           Stopped    N/A             N/A                  
dhcp35-93.lab.eng.blr.redhat.com     master        /mnt/brick2/master    testgeorep    testgeorep.35.26::slave    N/A           Stopped    N/A             N/A   

5.Deleted the session 

[root@dhcp35-188 ~]# gluster v geo-replication master testgeorep.35.26::slave status 
No active geo-replication sessions between master and testgeorep.35.26::slave
geo-replication command failed



On the basis of above output moving the bug to verified state .

Comment 28 errata-xmlrpc 2019-10-30 12:19:10 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2019:3250


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