Bug 1427079 - [Ganesha] : unexport fails if export configuration file is not present
Summary: [Ganesha] : unexport fails if export configuration file is not present
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: common-ha
Version: 3.10
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Jiffin
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: glusterfs-3.10.2
TreeView+ depends on / blocked
 
Reported: 2017-02-27 10:14 UTC by Jiffin
Modified: 2017-05-31 20:44 UTC (History)
2 users (show)

Fixed In Version: glusterfs-3.10.2
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-05-31 20:44:07 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Jiffin 2017-02-27 10:14:42 UTC
Description of problem:
Unexport of volume via gluster cli will fail if export configuration file is not present.

Version-Release number of selected component (if applicable):
mainline

How reproducible:
always

Steps to Reproduce:
1. export a volume via gluster v set <volname> ganesha.enable on
2. delete export configuration file
3. try to unexport gluster v set <volname> ganesha.enable off
Actual results:


Expected results:


Additional info:

Comment 1 Worker Ant 2017-02-27 10:15:17 UTC
REVIEW: https://review.gluster.org/16771 (ganesha/scripts : remove dependency over export configuration file for unexport) posted (#1) for review on release-3.10 by jiffin tony Thottan (jthottan)

Comment 2 Worker Ant 2017-05-01 21:44:25 UTC
COMMIT: https://review.gluster.org/16771 committed in release-3.10 by Kaleb KEITHLEY (kkeithle) 
------
commit 05dca214324ea252dff1403e2571f6811b91f550
Author: Jiffin Tony Thottan <jthottan>
Date:   Thu Feb 23 16:21:52 2017 +0530

    ganesha/scripts : remove dependency over export configuration file for unexport
    
    Currently unexport is performed by reading export id from volume configuration
    file. So unexport has dependency over that file. This patch will unexport with
    help of dbus command ShowExport. And it will only unexport the share which is
    added via cli.
    
    Change-Id: I6f3c9b2bb48f0328b18e9cc0e4b9356174afd596
    BUG: 1427079
    Signed-off-by: Jiffin Tony Thottan <jthottan>
    Reviewed-on: https://review.gluster.org/16771
    Smoke: Gluster Build System <jenkins.org>
    NetBSD-regression: NetBSD Build System <jenkins.org>
    CentOS-regression: Gluster Build System <jenkins.org>
    Reviewed-by: Kaleb KEITHLEY <kkeithle>
    Reviewed-by: Raghavendra Talur <rtalur>

Comment 3 Raghavendra Talur 2017-05-31 20:44:07 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.10.2, please open a new bug report.


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