upstream patch : https://review.gluster.org/17093
Downstream 3.2 patch: https://code.engineering.redhat.com/gerrit/#/c/105181/
Validated with build: glusterfs-geo-replication-3.8.4-18.1.el7rhgs.x86_64 With Stopped and restart of glusterd: ===================================== [root@dhcp37-152 scripts]# gluster volume geo-replication master 10.70.37.155::slave status MASTER NODE MASTER VOL MASTER BRICK SLAVE USER SLAVE SLAVE NODE STATUS CRAWL STATUS LAST_SYNCED ----------------------------------------------------------------------------------------------------------------------------------------------------- 10.70.37.152 master /rhs/brick1/b1 root 10.70.37.155::slave 10.70.37.157 Active Changelog Crawl 2017-05-24 16:28:04 10.70.37.152 master /rhs/brick2/b3 root 10.70.37.155::slave 10.70.37.157 Passive N/A N/A 10.70.37.153 master /rhs/brick1/b2 root 10.70.37.155::slave 10.70.37.155 Passive N/A N/A 10.70.37.153 master /rhs/brick2/b4 root 10.70.37.155::slave 10.70.37.155 Active Changelog Crawl 2017-05-24 16:28:04 [root@dhcp37-152 scripts]# [root@dhcp37-152 scripts]# [root@dhcp37-152 scripts]# service glusterd restart Redirecting to /bin/systemctl restart glusterd.service [root@dhcp37-152 scripts]# gluster volume geo-replication master 10.70.37.155::slave stop Stopping geo-replication session between master & 10.70.37.155::slave has been successful [root@dhcp37-152 scripts]# gluster volume geo-replication master 10.70.37.155::slave status MASTER NODE MASTER VOL MASTER BRICK SLAVE USER SLAVE SLAVE NODE STATUS CRAWL STATUS LAST_SYNCED ---------------------------------------------------------------------------------------------------------------------------------------- 10.70.37.152 master /rhs/brick1/b1 root 10.70.37.155::slave N/A Stopped N/A N/A 10.70.37.152 master /rhs/brick2/b3 root 10.70.37.155::slave N/A Stopped N/A N/A 10.70.37.153 master /rhs/brick1/b2 root 10.70.37.155::slave N/A Stopped N/A N/A 10.70.37.153 master /rhs/brick2/b4 root 10.70.37.155::slave N/A Stopped N/A N/A [root@dhcp37-152 scripts]# [root@dhcp37-152 scripts]# [root@dhcp37-152 scripts]# gluster snapshot create snap1 master snapshot create: success: Snap snap1_GMT-2017.05.24-10.59.03 created successfully [root@dhcp37-152 scripts]# [root@dhcp37-152 scripts]# gluster snapshot list snap1_GMT-2017.05.24-10.59.03 [root@dhcp37-152 scripts]# [root@dhcp37-152 scripts]# gluster volume geo-replication master 10.70.37.155::slave start Starting geo-replication session between master & 10.70.37.155::slave has been successful [root@dhcp37-152 scripts]# [root@dhcp37-152 scripts]# gluster volume geo-replication master 10.70.37.155::slave status MASTER NODE MASTER VOL MASTER BRICK SLAVE USER SLAVE SLAVE NODE STATUS CRAWL STATUS LAST_SYNCED --------------------------------------------------------------------------------------------------------------------------------------------------- 10.70.37.152 master /rhs/brick1/b1 root 10.70.37.155::slave 10.70.37.157 Passive N/A N/A 10.70.37.152 master /rhs/brick2/b3 root 10.70.37.155::slave 10.70.37.157 Passive N/A N/A 10.70.37.153 master /rhs/brick1/b2 root 10.70.37.155::slave 10.70.37.155 Active History Crawl 2017-05-24 16:28:07 10.70.37.153 master /rhs/brick2/b4 root 10.70.37.155::slave 10.70.37.155 Active History Crawl 2017-05-24 16:28:07 [root@dhcp37-152 scripts]# With Pause and restart of glusterd: =================================== [root@dhcp37-152 scripts]# gluster volume geo-replication master 10.70.37.155::slave status MASTER NODE MASTER VOL MASTER BRICK SLAVE USER SLAVE SLAVE NODE STATUS CRAWL STATUS LAST_SYNCED --------------------------------------------------------------------------------------------------------------------------------------------------- 10.70.37.152 master /rhs/brick1/b1 root 10.70.37.155::slave 10.70.37.157 Passive N/A N/A 10.70.37.152 master /rhs/brick2/b3 root 10.70.37.155::slave 10.70.37.157 Passive N/A N/A 10.70.37.153 master /rhs/brick1/b2 root 10.70.37.155::slave 10.70.37.155 Active History Crawl 2017-05-24 16:28:07 10.70.37.153 master /rhs/brick2/b4 root 10.70.37.155::slave 10.70.37.155 Active History Crawl 2017-05-24 16:28:07 [root@dhcp37-152 scripts]# [root@dhcp37-152 scripts]# [root@dhcp37-152 scripts]# [root@dhcp37-152 scripts]# service glusterd restart Redirecting to /bin/systemctl restart glusterd.service [root@dhcp37-152 scripts]# gluster volume geo-replication master 10.70.37.155::slave pause Pausing geo-replication session between master & 10.70.37.155::slave has been successful [root@dhcp37-152 scripts]# [root@dhcp37-152 scripts]# [root@dhcp37-152 scripts]# gluster snapshot create snap2 master snapshot create: success: Snap snap2_GMT-2017.05.24-11.00.29 created successfully [root@dhcp37-152 scripts]# gluster volume geo-replication master 10.70.37.155::slave status MASTER NODE MASTER VOL MASTER BRICK SLAVE USER SLAVE SLAVE NODE STATUS CRAWL STATUS LAST_SYNCED --------------------------------------------------------------------------------------------------------------------------------------- 10.70.37.152 master /rhs/brick1/b1 root 10.70.37.155::slave N/A Paused N/A N/A 10.70.37.152 master /rhs/brick2/b3 root 10.70.37.155::slave N/A Paused N/A N/A 10.70.37.153 master /rhs/brick1/b2 root 10.70.37.155::slave N/A Paused N/A N/A 10.70.37.153 master /rhs/brick2/b4 root 10.70.37.155::slave N/A Paused N/A N/A [root@dhcp37-152 scripts]# gluster volume geo-replication master 10.70.37.155::slave resume Resuming geo-replication session between master & 10.70.37.155::slave has been successful [root@dhcp37-152 scripts]# gluster volume geo-replication master 10.70.37.155::slave status MASTER NODE MASTER VOL MASTER BRICK SLAVE USER SLAVE SLAVE NODE STATUS CRAWL STATUS LAST_SYNCED ----------------------------------------------------------------------------------------------------------------------------------------------------- 10.70.37.152 master /rhs/brick1/b1 root 10.70.37.155::slave 10.70.37.157 Passive N/A N/A 10.70.37.152 master /rhs/brick2/b3 root 10.70.37.155::slave 10.70.37.157 Passive N/A N/A 10.70.37.153 master /rhs/brick1/b2 root 10.70.37.155::slave 10.70.37.155 Active Changelog Crawl 2017-05-24 16:28:07 10.70.37.153 master /rhs/brick2/b4 root 10.70.37.155::slave 10.70.37.155 Active Changelog Crawl 2017-05-24 16:28:07 [root@dhcp37-152 scripts]# Validated the basic validation, it works. Moving this bug to verified state.
Kotresh, Could you review and sign-off the edited doc text?
(In reply to Divya from comment #9) > Kotresh, > > Could you review and sign-off the edited doc text? Minor comment. Snapshot was not always failing. You can add the word 'sometimes'. Rest of it looks good
(In reply to Kotresh HR from comment #10) > (In reply to Divya from comment #9) > > Kotresh, > > > > Could you review and sign-off the edited doc text? > > Minor comment. Snapshot was not always failing. You can add the word > 'sometimes'. > Rest of it looks good Added "sometimes". Thanks for the review.
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-2017:1418