Bug 1476863

Summary: packaging: /var/lib/glusterd/options should be %config(noreplace)
Product: [Community] GlusterFS Reporter: Kaleb KEITHLEY <kkeithle>
Component: packagingAssignee: Kaleb KEITHLEY <kkeithle>
Status: CLOSED CURRENTRELEASE QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.12CC: bugs
Target Milestone: ---Keywords: Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.12.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1476861 Environment:
Last Closed: 2017-09-05 17:38:10 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: 1476861, 1476867, 1476873, 1478499    
Bug Blocks: 1473826    

Description Kaleb KEITHLEY 2017-07-31 16:15:10 UTC
+++ This bug was initially created as a clone of Bug #1476861 +++

Description of problem:

/var/lib/glusterd/options is erased when glusterfs-server is removed or updated.

This is where cluster.enable-shared-storage, among other things, is persisted.

When /var/lib/glusterd/options is erased then shared storage may not be enabled after an upgrade.

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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Worker Ant 2017-07-31 16:26:31 UTC
REVIEW: https://review.gluster.org/17931 (packaging: /var/lib/glusterd/options should be %config(noreplace)) posted (#1) for review on release-3.12 by Kaleb KEITHLEY (kkeithle)

Comment 2 Worker Ant 2017-08-02 15:38:47 UTC
COMMIT: https://review.gluster.org/17931 committed in release-3.12 by Shyamsundar Ranganathan (srangana) 
------
commit 10da7c37b30f7995bf65dbb4babbbb5216bcc925
Author: Kaleb S. KEITHLEY <kkeithle>
Date:   Mon Jul 31 12:25:26 2017 -0400

    packaging: /var/lib/glusterd/options should be %config(noreplace)
    
    /var/lib/glusterd/options is where cluster.enabled-shared-storage is
    persisted. If the file is removed as part of an uninstall/reinstall
    or update then the state of shared storage could be lost.
    
    Change-Id: Ie18c3d883df71c1857fd6996d9c03ab247580b70
    BUG: 1476863
    Signed-off-by: Kaleb S. KEITHLEY <kkeithle>
    Reviewed-on: https://review.gluster.org/17931
    Smoke: Gluster Build System <jenkins.org>
    CentOS-regression: Gluster Build System <jenkins.org>
    Reviewed-by: Shyamsundar Ranganathan <srangana>

Comment 3 Shyamsundar 2017-09-05 17:38:10 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.12.0, please open a new bug report.

glusterfs-3.12.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://lists.gluster.org/pipermail/announce/2017-September/000082.html
[2] https://www.gluster.org/pipermail/gluster-users/