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:
Patch posted upstream for review https://review.gluster.org/16707
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.
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.
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