Bug 1101407

Summary: [RFE] Dist-geo-rep : geo-rep pause won't retain state after the reboot or restart of the worker process.
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Vijaykumar Koppad <vkoppad>
Component: geo-replicationAssignee: Kotresh HR <khiremat>
Status: CLOSED ERRATA QA Contact: Bhaskar Bandari <bbandari>
Severity: high Docs Contact:
Priority: high    
Version: rhgs-3.0CC: aavati, avishwan, bbandari, csaba, david.macdonald, khiremat, nlevinki, nsathyan, sdharane, ssamanta, vagarwal
Target Milestone: ---Keywords: FutureFeature
Target Release: RHGS 3.0.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: glusterfs-3.6.0.21-1 Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of:
: 1101410 (view as bug list) Environment:
Last Closed: 2014-09-22 19:39:21 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: 1101410    

Description Vijaykumar Koppad 2014-05-27 06:48:44 UTC
Description of problem:  geo-rep pause won't retain state after the reboot or restart of the worker process.


Version-Release number of selected component (if applicable): glusterfs-api-3.6.0.7-1

How reproducible: Happens always.


Steps to Reproduce:
1. create and start a geo-rep relationship between master and slave.
2. pause the geo-rep.
3. Then reboot one of the node

Actual results: gsyncd won't retain state after the reboot.


Expected results: gsyncd should retain state after the reboot.


Additional info:

Comment 2 Kotresh HR 2014-06-06 06:16:40 UTC
Downstream patch sent:
https://code.engineering.redhat.com/gerrit/#/c/26424/

Upstream patch for the same is reviewed and merged in the master:
http://review.gluster.org/7885

Comment 3 Vijaykumar Koppad 2014-06-11 12:26:49 UTC
Can you please update fixed-in-version ?

Comment 4 Kotresh HR 2014-06-12 06:51:46 UTC
Changing to modified state, as the patch is merged and build is not available yet.

Comment 5 Vijaykumar Koppad 2014-06-17 11:11:07 UTC
tried on the build glusterfs-3.6.0.18-1.el6rhs. It fails to retain the state after reboot.

Comment 6 Kotresh HR 2014-06-18 12:34:16 UTC
It was working with hard reboot. But fails with soft reboot.
Here is the patch for this issue:

Upstream:
http://review.gluster.org/#/c/8097/

Downstream:
https://code.engineering.redhat.com/gerrit/#/c/27233/

Comment 7 Kotresh HR 2014-06-19 10:51:55 UTC
Not merged yet.

Comment 9 Vijaykumar Koppad 2014-06-24 06:12:08 UTC
verified on the build glusterfs-3.6.0.22-1.el6rhs.

Comment 13 errata-xmlrpc 2014-09-22 19:39:21 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.

http://rhn.redhat.com/errata/RHEA-2014-1278.html