Bug 1395989

Summary: nfs-ganesha volume export file remains stale in shared_storage_volume when volume is deleted
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Arthy Loganathan <aloganat>
Component: glusterdAssignee: Jiffin <jthottan>
Status: CLOSED ERRATA QA Contact: Manisha Saini <msaini>
Severity: high Docs Contact:
Priority: unspecified    
Version: rhgs-3.2CC: amukherj, asrivast, bmohanra, jthottan, nchilaka, rhinduja, rhs-bugs, rtalur, skoduri, storage-qa-internal, vbellur
Target Milestone: ---   
Target Release: RHGS 3.3.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: glusterfs-3.8.4-24 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1425723 (view as bug list) Environment:
Last Closed: 2017-09-21 04:28:23 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: 1425723    
Bug Blocks: 1417147    

Description Arthy Loganathan 2016-11-17 07:33:49 UTC
Description of problem:
nfs-ganesha volume export file remains stale in shared_storage_volume when volume is deleted. 

If the export file is not removed, next time when the volume is created with same name the older export file is getting honoured.

Version-Release number of selected component (if applicable):
nfs-ganesha-gluster-2.4.1-1.el7rhgs.x86_64
glusterfs-ganesha-3.8.4-5.el7rhgs.x86_64

How reproducible:
Always

Steps to Reproduce:
1. Create nfs-ganehsa cluster and create volume.
2. Set ganesha.enable to on for that volume.
3. Ensure the volume is exported.
4. Stop and delete the volume.

Actual results:
nfs-ganesha volume export file remains stale in shared_storage_volume when volume is deleted

Expected results:
nfs-ganesha volume export file should get removed when volume is deleted. 

Additional info:

Comment 4 Jiffin 2017-02-22 09:28:46 UTC
Patch posted upstream for review https://review.gluster.org/16707

Comment 9 Manisha Saini 2017-05-02 10:11:56 UTC
While verifying this bug ,hit another bug in which glusterd is getting crashed on volume deletion.

https://bugzilla.redhat.com/show_bug.cgi?id=%201446645

I can proceed for verification of this bug only once the fix for Bug 1446645  is available.

Comment 10 Manisha Saini 2017-05-26 12:38:03 UTC
Verified thsi bug on  

# rpm -qa | grep ganesha
glusterfs-ganesha-3.8.4-25.el7rhgs.x86_64
nfs-ganesha-2.4.4-6.el7rhgs.x86_64
nfs-ganesha-gluster-2.4.4-6.el7rhgs.x86_64


After deletion of volume having ganesha enable on it,volume entry is removed from export folder.
Moving this bug to verified state.

Comment 12 errata-xmlrpc 2017-09-21 04:28:23 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.

https://access.redhat.com/errata/RHBA-2017:2774

Comment 13 errata-xmlrpc 2017-09-21 04:54:54 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.

https://access.redhat.com/errata/RHBA-2017:2774