Bug 1233033 - nfs-ganesha: ganesha-ha.sh --refresh-config not working
Summary: nfs-ganesha: ganesha-ha.sh --refresh-config not working
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat Storage
Component: nfs-ganesha
Version: rhgs-3.1
Hardware: x86_64
OS: Linux
high
urgent
Target Milestone: ---
: RHGS 3.1.0
Assignee: Meghana
QA Contact: Saurabh
URL:
Whiteboard:
: 1233582 (view as bug list)
Depends On:
Blocks: 1202842 1233624 1235258
TreeView+ depends on / blocked
 
Reported: 2015-06-18 06:02 UTC by Saurabh
Modified: 2016-01-19 06:14 UTC (History)
6 users (show)

Fixed In Version: glusterfs-3.7.1-6
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1233624 (view as bug list)
Environment:
Last Closed: 2015-07-29 05:05:49 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2015:1495 0 normal SHIPPED_LIVE Important: Red Hat Gluster Storage 3.1 update 2015-07-29 08:26:26 UTC

Description Saurabh 2015-06-18 06:02:42 UTC
Description of problem:
As part of ganesha-ha setup we have a script called ganesha-ha.sh. This script is used to setting up the cluster and update the running nfs-ganesha process if any modifications are done in the configuration files.
Command used for updating the nfs-ganesha process is ganesha-ha.sh --refresh-config and this is not working.

Version-Release number of selected component (if applicable):
glusterfs-3.7.1-3.el6rhs.x86_64
nfs-ganesha-2.2.0-3.el6rhs.x86_64

How reproducible:
always

Actual results:
refresh-config is not working as desired,

Expected results:
refresh config should be able to update the nfs-ganesha about the modifications done and nfs-ganesha therefore should work based on the modifications done in config files

Additional info:

Comment 2 Meghana 2015-06-19 09:39:51 UTC
*** Bug 1233582 has been marked as a duplicate of this bug. ***

Comment 5 Saurabh 2015-07-05 11:11:00 UTC
based on the test that I did to check the functionality I found that all the export files were modified on all nodes post execution of this command. The ganesha process was updated and mount worked accordingly.

[root@rhsauto009 ~]# mount -t nfs -o vers=3 10.70.44.96:/vol2 /mnt

[root@rhsauto009 ~]# touch  /mnt/lock_test
touch: cannot touch `/mnt/lock_test': Read-only file system

[root@rhsauto009 ~]# umount /mnt

[root@rhsauto009 ~]# mount -t nfs -o vers=4 10.70.44.96:/vol2 /mnt

[root@rhsauto009 ~]# touch  /mnt/lock_test
touch: cannot touch `/mnt/lock_test': Read-only file system

[root@rhsauto009 ~]# cat  /mnt/locks_test
======================st écrite par le maitre dans le fichier[root@rhsauto009 ~]# 

[root@rhsauto009 ~]#

Comment 6 errata-xmlrpc 2015-07-29 05:05:49 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-2015-1495.html


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