Bug 1232335

Summary: nfs-ganesha: volume is not in list of exports in case of volume stop followed by volume start
Product: [Community] GlusterFS Reporter: Meghana <mmadhusu>
Component: ganesha-nfsAssignee: Meghana <mmadhusu>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: urgent Docs Contact:
Priority: high    
Version: 3.7.1CC: asrivast, kkeithle, mmadhusu, nlevinki, saujain, storage-qa-internal, vagarwal
Target Milestone: ---Keywords: Reopened, Triaged
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: glusterfs-3.7.3 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: 1231738 Environment:
Last Closed: 2015-07-30 09:50: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: 1226863, 1231738    
Bug Blocks: 1202842    

Comment 1 Anand Avati 2015-06-16 14:02:52 UTC
REVIEW: http://review.gluster.org/11259 (NFS-Ganesha: Automatically export vol that was exported before vol restart) posted (#1) for review on release-3.7 by Meghana M (mmadhusu)

Comment 2 Anand Avati 2015-06-18 17:24:45 UTC
COMMIT: http://review.gluster.org/11259 committed in release-3.7 by Kaleb KEITHLEY (kkeithle) 
------
commit 0e358fa5f7190f84574824b5629835abf32823a3
Author: Meghana M <mmadhusu>
Date:   Mon Jun 15 08:43:44 2015 +0000

    NFS-Ganesha: Automatically export vol that was exported before vol restart
    
    Consider a volume that is exported via NFS-Ganesha. Stopping this
    volume will automatically unexport the volume. Starting this volume
    should automatically export it. Although the logic was already there,
    there was a bug in it. Fixing the same by introducing a hook script.
    
    Also with the new CLI options, the hook script S31ganesha-set.sh
    is no longer required. Hence, removing the same.
    Adding a comment to tell the user that one of the CLI
    commands will take a few minutes to complete.
    
    This is a backport of the patch merged on master,
    http://review.gluster.org/#/c/11247/
    
    Change-Id: I1c16a978b9e2093a4298ea3024d031fd1a5bb577
    BUG: 1232335
    Signed-off-by: Meghana Madhusudhan <mmadhusu>
    Reviewed-on: http://review.gluster.org/11259
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: Kaleb KEITHLEY <kkeithle>
    Reviewed-by: soumya k <skoduri>
    Reviewed-by: Niels de Vos <ndevos>

Comment 3 Niels de Vos 2015-06-20 09:51:30 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.2, please reopen this bug report.

glusterfs-3.7.2 has been announced on the Gluster Packaging mailinglist [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://www.gluster.org/pipermail/packaging/2015-June/000006.html
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user

Comment 4 Anand Avati 2015-06-27 05:24:57 UTC
REVIEW: http://review.gluster.org/11435 (NFS-Ganesha : Automatically export volume after volume restart) posted (#1) for review on release-3.7 by Meghana M (mmadhusu)

Comment 5 Anand Avati 2015-06-27 09:58:17 UTC
COMMIT: http://review.gluster.org/11435 committed in release-3.7 by Kaleb KEITHLEY (kkeithle) 
------
commit e2cd9baabaf0ddd3b709e4fd2a9391a66b50422a
Author: Meghana M <mmadhusu>
Date:   Fri Jun 26 11:27:18 2015 +0530

    NFS-Ganesha : Automatically export volume after volume restart
    
    The export file was not getting created in the correct
    path. Fixing the path in this patch.
    
    This is the backport of the fix merged on master,
    http://review.gluster.org/#/c/11432/
    
    Change-Id: I812f9d97252ee83a239f05ad683d2d727f3f5f59
    BUG: 1232335
    Signed-off-by: meghana <mmadhusu>
    Reviewed-on: http://review.gluster.org/11435
    Tested-by: NetBSD Build System <jenkins.org>
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: soumya k <skoduri>
    Reviewed-by: Kaleb KEITHLEY <kkeithle>

Comment 6 Kaushal 2015-07-30 09:50:21 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.3, please open a new bug report.

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