Bug 1377198
Summary: | Volume restart couldn't re-export the volume exported via ganesha. | |||
---|---|---|---|---|
Product: | [Community] GlusterFS | Reporter: | Shashank Raj <sraj> | |
Component: | ganesha-nfs | Assignee: | Jiffin <jthottan> | |
Status: | CLOSED EOL | QA Contact: | ||
Severity: | high | Docs Contact: | ||
Priority: | unspecified | |||
Version: | 3.8 | CC: | bugs, jthottan, kkeithle, mzywusko, ndevos, skoduri, storage-qa-internal | |
Target Milestone: | --- | |||
Target Release: | --- | |||
Hardware: | All | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | Doc Type: | If docs needed, set a value | ||
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1377607 1379966 (view as bug list) | Environment: | ||
Last Closed: | 2017-11-07 10:37:11 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: | 1377607, 1379996 | |||
Bug Blocks: | 1379966 |
Description
Shashank Raj
2016-09-19 07:35:40 UTC
Volume restart creates an export entry (/etc/ganesha/exports/export.v3.conf) for the same volume inside /etc/ganesha/ganesha.conf As below: #in the global part. Or create a separate file with the export block #and include in the following block. NFS_Core_Param { #Use supplied name other tha IP In NSM operations NSM_Use_Caller_Name = true; #Copy lock states into "/var/lib/nfs/ganesha" dir Clustered = false; #By default port number '2049' is used for NFS service. #Configure ports for MNT, NLM, RQuota services. #The ports chosen here are from '/etc/sysconfig/nfs' MNT_Port = 20048; NLM_Port = 32803; Rquota_Port = 875; } CACHEINODE { Entries_HWMark = 25000; } %include "/etc/ganesha/exports/export.v3.conf" is this expected? Trying this particular scenario also removes the symlink created between /etc/ganesha/ganesha.conf and /var/run/gluster/shared_storage/nfs-ganesha/ganesha.conf: [root@dhcp43-116 ganesha]# ls -ltr total 12 -rw-r--r--. 1 root root 776 Aug 29 17:04 ganesha-ha.conf.sample -rw-r--r--. 1 root root 1054 Aug 29 23:12 ganesha-ha.conf -rw-r--r--. 1 root root 1403 Sep 16 02:20 ganesha.conf.rpmsave lrwxrwxrwx. 1 root root 56 Sep 19 22:12 ganesha.conf -> /var/run/gluster/shared_storage/nfs-ganesha/ganesha.conf [root@dhcp43-116 ganesha]# gluster vol set v1 ganesha.enable on volume set: success [root@dhcp43-116 ganesha]# ls -ltr total 12 -rw-r--r--. 1 root root 776 Aug 29 17:04 ganesha-ha.conf.sample -rw-r--r--. 1 root root 1054 Aug 29 23:12 ganesha-ha.conf -rw-r--r--. 1 root root 1403 Sep 16 02:20 ganesha.conf.rpmsave lrwxrwxrwx. 1 root root 56 Sep 19 22:12 ganesha.conf -> /var/run/gluster/shared_storage/nfs-ganesha/ganesha.conf [root@dhcp43-116 ganesha]# showmount -e localhost Export list for localhost: /v1 (everyone) [root@dhcp43-116 ganesha]# ls -ltr total 12 -rw-r--r--. 1 root root 776 Aug 29 17:04 ganesha-ha.conf.sample -rw-r--r--. 1 root root 1054 Aug 29 23:12 ganesha-ha.conf -rw-r--r--. 1 root root 1403 Sep 16 02:20 ganesha.conf.rpmsave lrwxrwxrwx. 1 root root 56 Sep 19 22:12 ganesha.conf -> /var/run/gluster/shared_storage/nfs-ganesha/ganesha.conf [root@dhcp43-116 ganesha]# gluster vol stop v1 Stopping volume will make its data inaccessible. Do you want to continue? (y/n) y volume stop: v1: success [root@dhcp43-116 ganesha]# ls -ltr total 12 -rw-r--r--. 1 root root 776 Aug 29 17:04 ganesha-ha.conf.sample -rw-r--r--. 1 root root 1054 Aug 29 23:12 ganesha-ha.conf -rw-r--r--. 1 root root 1403 Sep 16 02:20 ganesha.conf.rpmsave lrwxrwxrwx. 1 root root 56 Sep 19 22:12 ganesha.conf -> /var/run/gluster/shared_storage/nfs-ganesha/ganesha.conf [root@dhcp43-116 ganesha]# showmount -e localhost Export list for localhost: [root@dhcp43-116 ganesha]# gluster vol start v1 volume start: v1: success [root@dhcp43-116 ganesha]# showmount -e localhost Export list for localhost: [root@dhcp43-116 ganesha]# ls -ltr total 16 -rw-r--r--. 1 root root 776 Aug 29 17:04 ganesha-ha.conf.sample -rw-r--r--. 1 root root 1054 Aug 29 23:12 ganesha-ha.conf -rw-r--r--. 1 root root 1403 Sep 16 02:20 ganesha.conf.rpmsave -rw-r--r--. 1 root root 1450 Sep 19 22:23 ganesha.conf The issue is related to hook script used by ganesha during start. Patch[1] has posted upstream to address this issue [1] http://review.gluster.org/#/c/15535/1 This bug is getting closed because the 3.8 version is marked End-Of-Life. There will be no further updates to this version. Please open a new bug against a version that still receives bugfixes if you are still facing this issue in a more current release. |