Bug 1370027

Summary: RFE: Support to update NFS-Ganesha export options dynamically
Product: [Red Hat Storage] Red Hat Gluster Storage Reporter: Soumya Koduri <skoduri>
Component: common-haAssignee: Soumya Koduri <skoduri>
Status: CLOSED ERRATA QA Contact: Manisha Saini <msaini>
Severity: medium Docs Contact:
Priority: unspecified    
Version: rhgs-3.3CC: amukherj, asrivast, jthottan, kkeithle, msaini, mzywusko, ndevos, rhinduja, rhs-bugs, sbhaloth, skoduri, storage-qa-internal
Target Milestone: ---Keywords: FutureFeature, Triaged
Target Release: RHGS 3.3.0   
Hardware: All   
OS: All   
Whiteboard:
Fixed In Version: glusterfs-3.8.4-19 Doc Type: Enhancement
Doc Text:
Most NFS-Ganesha export configuration options can now be updated dynamically during normal operation without needing to unexport and re-export the volume.
Story Points: ---
Clone Of:
: 1382258 (view as bug list) Environment:
Last Closed: 2017-09-21 04:28:23 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: 1382258, 1443478    
Bug Blocks: 1414410, 1417138    

Description Soumya Koduri 2016-08-25 06:03:46 UTC
Description of problem:

Like many other NFS servers, NFS-Ganesha also should be able to dynamically configure and update export options (like Access Protocols, Client Permissions etc) of an already exported share. The work-around used till now was to unexport and re-export the share with the new options configured. But with upstream NFS-Ganesha 2.4 release we now have that support. This bug is to track those changes and get the required testing done.

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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Soumya Koduri 2016-08-25 12:11:55 UTC
For our RHGS NFS-Ganesha clustered soluction, we need to make changes in 'refresh-config' functionality to use the new Dbus event provided to update exports dynamically.

Comment 3 Soumya Koduri 2016-10-06 07:14:03 UTC
Patch posted upstream for review - http://review.gluster.org/#/c/15617

Comment 8 Atin Mukherjee 2017-03-24 08:39:31 UTC
downstream patch : https://code.engineering.redhat.com/gerrit/#/c/101283/1

Comment 10 Manisha Saini 2017-04-26 12:32:46 UTC
Verified this RFE with ganesha glusterfs-ganesha-3.8.4-23.el7rhgs.x86_64

Tested following scenarios:

1.Running refresh config while IO's are running on 
2.Change permission of volume in export file from RW to RO while IO's are running and vice versa
3.Change the no_root_squash to root_squash while IO's in process
4.Change client permissions while IO's are running
5.Changing protocol V4 to V3 while IO's are running


As ACL fix is not yet there in the downstream build as updated by Dev,So haven't tested ACL functionality with dynamic refresh config.

Moving this bug to verified state.

Comment 14 errata-xmlrpc 2017-09-21 04:28:23 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/RHBA-2017:2774

Comment 15 errata-xmlrpc 2017-09-21 04:54:54 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/RHBA-2017:2774