Bug 1317482

Summary: Different epoch values for each of NFS-Ganesha heads
Product: [Community] GlusterFS Reporter: Soumya Koduri <skoduri>
Component: ganesha-nfsAssignee: Soumya Koduri <skoduri>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.7.9CC: bugs, kkeithle, mmadhusu, ndevos, nlevinki, sankarshan, skoduri, storage-qa-internal
Target Milestone: ---Keywords: Triaged, ZStream
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.7.10 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1242358
: 1317902 (view as bug list) Environment:
Last Closed: 2016-04-19 06:59:50 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: 1242358    
Bug Blocks: 1188184, 1317902    

Comment 1 Vijay Bellur 2016-03-14 11:16:22 UTC
REVIEW: http://review.gluster.org/13716 (ganesha: Include a script to generate epoch value) posted (#1) for review on release-3.7 by soumya k (skoduri)

Comment 2 Vijay Bellur 2016-03-15 06:59:25 UTC
REVIEW: http://review.gluster.org/13716 (ganesha: Include a script to generate epoch value) posted (#2) for review on release-3.7 by soumya k (skoduri)

Comment 3 Vijay Bellur 2016-03-21 10:51:35 UTC
COMMIT: http://review.gluster.org/13716 committed in release-3.7 by Kaleb KEITHLEY (kkeithle) 
------
commit 3e5445ae7d1dbbcc138374b6d2e5f95ffc556f4b
Author: Soumya Koduri <skoduri>
Date:   Mon Mar 14 16:36:33 2016 +0530

    ganesha: Include a script to generate epoch value
    
    In a NFS-Ganesha HA cluster setup, for NFS clients to recover state
    succesfully post failover, the NFS-servers should start with a unique
    epoch value.
    
    With NFS-Ganesha 2.3, the service accepts an option "EPOCH_EXEC" which
    takes path of the script, generating epoch value. This script is executed before
    starting nfs-ganesha service so that the generated epoch value is used
    while bringing up the service.
    
    This patch includes the script to be used by nfs-ganesha+gluster setup.
    
    The epoch value is computed as follows -
           - first 32-bit contains the now() time
           - rest 32-bit value contains the local glusterd node uuid
    
    Change-Id: I876ea5a3730d7c6b40503e0fec16a4a142c54a36
    BUG: 1317482
    Signed-off-by: Soumya Koduri <skoduri>
    Reviewed-on: http://review.gluster.org/13716
    Smoke: Gluster Build System <jenkins.com>
    Reviewed-by: jiffin tony Thottan <jthottan>
    Reviewed-by: Kaleb KEITHLEY <kkeithle>
    CentOS-regression: Gluster Build System <jenkins.com>
    NetBSD-regression: NetBSD Build System <jenkins.org>

Comment 4 Mike McCune 2016-03-28 23:35:19 UTC
This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions

Comment 5 Kaushal 2016-04-19 06:59:50 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.10, please open a new bug report.

glusterfs-3.7.10 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] https://www.gluster.org/pipermail/gluster-users/2016-April/026164.html
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user