Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
This project is now read‑only. Starting Monday, February 2, please use https://ibm-ceph.atlassian.net/ for all bug tracking management.

Bug 2351003

Summary: [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
Product: [Red Hat Storage] Red Hat Ceph Storage Reporter: Manisha Saini <msaini>
Component: CephadmAssignee: Adam King <adking>
Status: CLOSED ERRATA QA Contact: Manisha Saini <msaini>
Severity: high Docs Contact: Rivka Pollack <rpollack>
Priority: unspecified    
Version: 8.0CC: adking, cephqe-warriors, kkeithle, rpollack, tserlin
Target Milestone: ---   
Target Release: 8.0z3   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: ceph-19.2.0-113.el9cp Doc Type: No Doc Update
Doc Text:
Story Points: ---
Clone Of:
: 2352585 (view as bug list) Environment:
Last Closed: 2025-04-07 15:27:10 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: 2352585    

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