Bug 1348949

Summary: ganesha/scripts : [RFE] store volume related configuration in shared storage
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Jiffin <jthottan>
Component: common-haAssignee: Jiffin <jthottan>
Status: CLOSED ERRATA QA Contact: surabhi <sbhaloth>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rhgs-3.1CC: aloganat, amukherj, jthottan, kkeithle, mzywusko, ndevos, rcyriac, rhinduja, rhs-bugs, skoduri
Target Milestone: ---Keywords: FutureFeature
Target Release: RHGS 3.2.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: glusterfs-3.8.4-1 Doc Type: Enhancement
Doc Text:
NFS-Ganesha now places ganesha.conf, ganesha-ha.conf, and export configuration files in a shared storage directory to make it easier to manage export configuration details.
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-03-23 05:37:45 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:    
Bug Blocks: 1344675, 1348962, 1351503, 1351530    

Description Jiffin 2016-06-22 11:52:23 UTC
Description of problem:

All the export related configuration is stored in /etc/ganesha/export directory seperately in each node. It become very difficult to manage and sync in those files in every node within ganesha cluster. So if move those file into shared storage /<sharedstorage mount point>/export all the issues which currently facing can be solved   

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


Additional info:

Comment 3 Atin Mukherjee 2016-09-16 09:36:57 UTC
Upstream patch : http://review.gluster.org/#/c/14871/
Downstream patch : https://code.engineering.redhat.com/gerrit/#/c/84774

Comment 5 Atin Mukherjee 2016-09-17 10:46:59 UTC
Upstream mainline patch : http://review.gluster.org/15355
Upstream 3.9 patch : http://review.gluster.org/#/c/15521

downstream patch : https://code.engineering.redhat.com/gerrit/#/c/84840/ is merged now.

Comment 8 Arthy Loganathan 2016-11-07 06:36:20 UTC
Verified this bug on RHGS 3.2, nfs-ganesha-2.4.1-1.el7rhgs.x86_64 build.

Volume export files are moved under /run/gluster/shared_storage/nfs-ganesha/exports/ directory.

Comment 14 errata-xmlrpc 2017-03-23 05:37:45 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://rhn.redhat.com/errata/RHSA-2017-0486.html