Bug 1239057
Summary: | ganesha volume export fails in rhel7.1 | |||
---|---|---|---|---|
Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Apeksha <akhakhar> | |
Component: | nfs-ganesha | Assignee: | Meghana <mmadhusu> | |
Status: | CLOSED ERRATA | QA Contact: | Apeksha <akhakhar> | |
Severity: | high | Docs Contact: | ||
Priority: | high | |||
Version: | rhgs-3.1 | CC: | asrivast, kkeithle, kramdoss, mmadhusu, ndevos, nlevinki, nsathyan, pprakash, saujain, skoduri, vagarwal | |
Target Milestone: | --- | |||
Target Release: | RHGS 3.1.0 | |||
Hardware: | All | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | glusterfs-3.7.1-9 | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 1241480 (view as bug list) | Environment: | ||
Last Closed: | 2015-07-29 05:09:17 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: | 1202842, 1241480, 1241885 |
Description
Apeksha
2015-07-03 11:48:30 UTC
A file that is used to identify the ganesha config file, "/etc/sysconfig/ganesha" is written differently on RHEL 7.1. This leads to exports failing all the time on RHEL 7.1. One of the scripts that ceates the export config file needs modification. (In reply to Meghana from comment #3) > A file that is used to identify the ganesha config file, > "/etc/sysconfig/ganesha" is written > differently on RHEL 7.1. This leads to exports failing all the time on RHEL > 7.1. > One of the scripts that ceates the export config file needs modification. Could you explain a little more details? /etc/sysconfig/ganesha is only(?) used for the parameters for the ganesha.nfsd process. This file is in a simple KEY=VALUE format and is part of the nfs-ganesha RPM. What causes the problem and would need changing? Note that upstream NFS-Ganesha did make some relatively recent changes to this file, not sure if they are in the V2.2-stable branch. We grep for CONFFILE parameter in "/etc/syconfig/ganesha" file to find out the path of the ganesha config file. In RHEL 7.1, this parameter does not exist in the file and we can't find out the ganesha config file. Export fails invariably due to this. Changing this pattern to a more generic one and default it to "/etc/ganesha/ganesha.conf" This patch is up for review in upstream, http://review.gluster.org/#/c/11594/ Able to export ganesha volume on rhel7.1 with the workaround mentioned in: 1. comment 4 of bug -> https://bugzilla.redhat.com/show_bug.cgi?id=1242487#c4 2. comment 2 of bug -> https://bugzilla.redhat.com/show_bug.cgi?id=1241400#c2 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 |