Bug 1472445 - packaging: save ganesha config files in (/var)/run/gluster/shared_storage/nfs-ganesha
Summary: packaging: save ganesha config files in (/var)/run/gluster/shared_storage/nfs...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: nfs-ganesha
Version: rhgs-3.3
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
: RHGS 3.4.0
Assignee: Kaleb KEITHLEY
QA Contact: Manisha Saini
URL:
Whiteboard:
Depends On:
Blocks: 1472446 1503134
TreeView+ depends on / blocked
 
Reported: 2017-07-18 18:29 UTC by Kaleb KEITHLEY
Modified: 2018-09-20 15:41 UTC (History)
11 users (show)

Fixed In Version: glusterfs-3.12.2-5
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1472446 (view as bug list)
Environment:
Last Closed: 2018-09-04 06:53:35 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2018:2610 0 None None None 2018-09-04 06:55:06 UTC

Description Kaleb KEITHLEY 2017-07-18 18:29:13 UTC
Description of problem:

ganesha config files in (/var)/run/gluster/shared_storage/nfs-ganesha need to be marked with %config(noreplace) in the glusterfs-ganesha subpackage.

They probably need to be "ghosted" (with %ghost) too

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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 3 Kaleb KEITHLEY 2017-10-05 11:28:01 UTC
POST with rebase to nfs-ganesha-2.5.x

Comment 7 Manisha Saini 2018-02-21 11:04:04 UTC
Kaleb,


Can you please provide the steps to verify this BZ? What this fix will do?

I tested this with 3.4,I could see the ganesha-ha.conf.sample files which is been installed as part of glusterfs-ganesha is present at /etc/ganesha/.

Are we expecting these files to be present at shared storage directly as part of package installation? But then again..shared_storage is created post package installation.

What is the difference in behaviour from 3.3.1  to RHGS 3.4 wrt to this BZ?

Thanks..

Comment 8 Kaleb KEITHLEY 2018-02-21 12:14:26 UTC
After an upgrade from rhgs-3.3.x to 3.4 the ganesha config files in /run/gluster/shared-storage/nfs-ganesha  should be saved to, e.g. ganesha.conf.rpmsave.

Prior to 3.4 the files could have been over-written.

And I don't see that that any change was actually made, so this will likely not pass. ;-)

Comment 11 Manisha Saini 2018-02-22 14:15:35 UTC
Thanks Kaleb and Jiffin.

Based on comment #8 and comment #10 ..Since the fix for this BZ is not available with the current RHGS 3.4 ganesha build.

In order to track this BZ and to get the patch with next ganesha build ...Moving this BZ to assigned state.

Comment 17 errata-xmlrpc 2018-09-04 06:53:35 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/RHEA-2018:2610


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