Bug 2351003 - [NFS-Ganesha] CONFIG :WARN :Syntax error in statement at line 17 of /etc/ganesha/ganesha.conf for Server_Scope = 4da66c06-fd28-11ef-8341-fa163e07d392-nfsganesha
Summary: [NFS-Ganesha] CONFIG :WARN :Syntax error in statement at line 17 of /etc/gane...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Cephadm
Version: 8.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 8.0z3
Assignee: Adam King
QA Contact: Manisha Saini
Rivka Pollack
URL:
Whiteboard:
Depends On:
Blocks: 2352585
TreeView+ depends on / blocked
 
Reported: 2025-03-09 21:38 UTC by Manisha Saini
Modified: 2025-04-07 15:27 UTC (History)
5 users (show)

Fixed In Version: ceph-19.2.0-113.el9cp
Doc Type: No Doc Update
Doc Text:
Clone Of:
: 2352585 (view as bug list)
Environment:
Last Closed: 2025-04-07 15:27:10 UTC
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHCEPH-10791 0 None None None 2025-03-09 21:39:49 UTC
Red Hat Product Errata RHSA-2025:3635 0 None None None 2025-04-07 15:27:15 UTC

Description Manisha Saini 2025-03-09 21:38:31 UTC
Description of problem:
======================

The NFS-Ganesha configuration file (/etc/ganesha/ganesha.conf) is generating a syntax warning due to an error on line 17. The statement in question is:

Server_Scope = 4da66c06-fd28-11ef-8341-fa163e07d392-nfsganesha

This line is intended to set the Server_Scope parameter, but it causes a syntax error when the NFS-Ganesha service is started or the configuration is validated. The error may be due to improper formatting or invalid characters in the Server_Scope value.


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

# rpm -qa | grep nfs
libnfsidmap-2.5.4-27.el9.x86_64
nfs-utils-2.5.4-27.el9.x86_64
nfs-ganesha-selinux-6.5-4.el9cp.noarch
nfs-ganesha-6.5-4.el9cp.x86_64
nfs-ganesha-ceph-6.5-4.el9cp.x86_64
nfs-ganesha-rados-grace-6.5-4.el9cp.x86_64
nfs-ganesha-rados-urls-6.5-4.el9cp.x86_64
nfs-ganesha-rgw-6.5-4.el9cp.x86_64
nfs-ganesha-utils-6.5-4.el9cp.x86_64

# ceph --version
ceph version 19.2.0-103.el9cp (4327a2ffce2321e11239a4b0b6f6f96221864b61) squid (stable)


How reproducible:
============
Everytime


Steps to Reproduce:
===============
1. Create nfs ganesha cluster on ceph


Actual results:
===============
A syntax error is observed in the configuration file for "Server_Scope" which is newly added in ganesha.conf file

Expected results:
==============
The Server_Scope directive should be correctly parsed without any errors


Additional info:
===============

# cat ganesha.conf
# This file is generated by cephadm.
NFS_CORE_PARAM {
        Enable_NLM = false;
        Enable_RQUOTA = false;
        Protocols = 3, 4;
        mount_path_pseudo = true;
        Enable_UDP = false;
        NFS_Port = 2049;
        allow_set_io_flusher_fail = true;
        Monitoring_Port = 9587;
}

NFSv4 {
        Delegations = false;
        RecoveryBackend = 'rados_cluster';
        Minor_Versions = 1, 2;
        Server_Scope = 4da66c06-fd28-11ef-8341-fa163e07d392-nfsganesha
        IdmapConf = "/etc/ganesha/idmap.conf";
}

RADOS_KV {
        UserId = "nfs.nfsganesha.0.0.ceph-manisaini-8gsrsz-node2.avnnav";
        nodeid = 0;
        pool = ".nfs";
        namespace = "nfsganesha";
}

RADOS_URLS {
        UserId = "nfs.nfsganesha.0.0.ceph-manisaini-8gsrsz-node2.avnnav";
        watch_url = "rados://.nfs/nfsganesha/conf-nfs.nfsganesha";
}

RGW {
        cluster = "ceph";
        name = "client.nfs.nfsganesha.0.0.ceph-manisaini-8gsrsz-node2.avnnav-rgw";
}

%url    rados://.nfs/nfsganesha/conf-nfs.nfsganesha

Comment 13 errata-xmlrpc 2025-04-07 15:27:10 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 (Important: Red Hat Ceph Storage 8.0 security, bug fix, and enhancement updates), 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/RHSA-2025:3635


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