Bug 1218854 - Clean up should not empty the contents of the global config file
Summary: Clean up should not empty the contents of the global config file
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: GlusterFS
Classification: Community
Component: ganesha-nfs
Version: mainline
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Kaleb KEITHLEY
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: 1218857
TreeView+ depends on / blocked
 
Reported: 2015-05-06 04:13 UTC by Meghana
Modified: 2016-06-16 12:59 UTC (History)
2 users (show)

Fixed In Version: glusterfs-3.8rc2
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1218857 (view as bug list)
Environment:
Last Closed: 2016-06-16 12:59:05 UTC
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Embargoed:


Attachments (Terms of Use)

Description Meghana 2015-05-06 04:13:23 UTC
Description of problem:
The global config file will need new blocks to support client lock recovery.
Current cleanup function empties the entire file. Deleting only "include"
lines in the config file.


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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Anand Avati 2015-05-06 04:30:47 UTC
REVIEW: http://review.gluster.org/10592 (NFS-Ganesha : Do not empty global config file when cluster is torn) posted (#1) for review on master by Meghana M (mmadhusu)

Comment 2 Anand Avati 2015-05-06 12:35:19 UTC
COMMIT: http://review.gluster.org/10592 committed in master by Kaleb KEITHLEY (kkeithle) 
------
commit e79edf35178f2558d6afb262444294380b76d740
Author: Meghana Madhusudhan <mmadhusu>
Date:   Wed May 6 09:58:11 2015 +0530

    NFS-Ganesha : Do not empty global config file when cluster is torn
    
    The global config file will need new blocks to support client lock recovery.
    Current cleanup function empties the entire file. Deleting only "include"
    lines in the config file.
    
    Change-Id: I21f09e30a738d2ba01861ce480ecf906667d887b
    BUG: 1218854
    Signed-off-by: Meghana Madhusudhan <mmadhusu>
    Reviewed-on: http://review.gluster.org/10592
    Tested-by: Gluster Build System <jenkins.com>
    Reviewed-by: soumya k <skoduri>
    Reviewed-by: jiffin tony Thottan <jthottan>
    Reviewed-by: Kaleb KEITHLEY <kkeithle>

Comment 3 Anand Avati 2015-05-07 15:37:58 UTC
COMMIT: http://review.gluster.org/10630 committed in master by Niels de Vos (ndevos) 
------
commit 7f950ed3ae4f99542ba4bbabec5fc1a86850a528
Author: Meghana Madhusudhan <mmadhusu>
Date:   Thu May 7 15:34:06 2015 +0530

    NFS-Ganesha : Improved sed expression in cleanup
    
    The global config file should not be emptied when
    tear down is called. Improving the sed expression
    to delete the ".conf" files only
    Signed-off-by: Meghana Madhusudhan <mmadhusu>
    
    Change-Id: Ida3d303f629cb512c02dadacce1ec7e5f07db018
    BUG: 1218854
    Reviewed-on: http://review.gluster.org/10630
    Reviewed-by: Kaleb KEITHLEY <kkeithle>
    Reviewed-by: Niels de Vos <ndevos>
    Reviewed-by: soumya k <skoduri>
    Tested-by: Gluster Build System <jenkins.com>

Comment 6 Nagaprasad Sathyanarayana 2015-10-25 15:06:55 UTC
Fix for this BZ is already present in a GlusterFS release. You can find clone of this BZ, fixed in a GlusterFS release and closed. Hence closing this mainline BZ as well.

Comment 7 Niels de Vos 2016-06-16 12:59:05 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.8.0, please open a new bug report.

glusterfs-3.8.0 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://blog.gluster.org/2016/06/glusterfs-3-8-released/
[2] http://thread.gmane.org/gmane.comp.file-systems.gluster.user


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