Bug 2338126 - [NFS-Ganesha] On the freshly installed NFS cluster, configuration error warnings were observed in the ganesha.log file
Summary: [NFS-Ganesha] On the freshly installed NFS cluster, configuration error warni...
Keywords:
Status: VERIFIED
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat Storage
Component: Cephadm
Version: 8.0
Hardware: Unspecified
OS: Unspecified
unspecified
urgent
Target Milestone: ---
: 8.1
Assignee: Adam King
QA Contact: Manisha Saini
URL:
Whiteboard:
Depends On:
Blocks: 2348701
TreeView+ depends on / blocked
 
Reported: 2025-01-15 07:23 UTC by Manisha Saini
Modified: 2025-04-01 21:08 UTC (History)
8 users (show)

Fixed In Version: ceph-19.2.1-33.el9cp
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 2348701 (view as bug list)
Environment:
Last Closed:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHCEPH-10458 0 None None None 2025-01-15 07:24:40 UTC

Description Manisha Saini 2025-01-15 07:23:48 UTC
Description of problem:
======================

Deploy NFS-Ganesha on Ceph, configure exports, and review the ganesha.log file. Configuration errors were noted in the log; however, the Ganesha functionality is operating as expected.

Ganesha.log output
======
2[main] nfs_lift_grace_locked :STATE :EVENT :NFS Server Now NOT IN GRACE
Jan 14 21:58:42 cali021 ceph-2edf8cd4-d28b-11ef-b7c0-ac1f6b0a1842-nfs-nfsganesha-0-0-cali021-ocaliz[218297]: 14/01/2025 21:58:42 : epoch 6786de12 : cali021 : ganesha.nfsd-2[main] main :NFS STARTUP :WARN :No export entries found in configuration file !!!
Jan 14 21:58:42 cali021 ceph-2edf8cd4-d28b-11ef-b7c0-ac1f6b0a1842-nfs-nfsganesha-0-0-cali021-ocaliz[218297]: 14/01/2025 21:58:42 : epoch 6786de12 : cali021 : ganesha.nfsd-2[main] config_errs_to_log :CONFIG :WARN :Config File (/etc/ganesha/ganesha.conf:13): Unknown token ('rados_cluster')
Jan 14 21:58:42 cali021 ceph-2edf8cd4-d28b-11ef-b7c0-ac1f6b0a1842-nfs-nfsganesha-0-0-cali021-ocaliz[218297]: 14/01/2025 21:58:42 : epoch 6786de12 : cali021 : ganesha.nfsd-2[main] config_errs_to_log :CONFIG :WARN :Config File (/etc/ganesha/ganesha.conf:30): 1 (unknown param) errors found block NFSv4
Jan 14 21:58:42 cali021 ceph-2edf8cd4-d28b-11ef-b7c0-ac1f6b0a1842-nfs-nfsganesha-0-0-cali021-ocaliz[218297]: 14/01/2025 21:58:42 : epoch 6786de12 : cali021 : ganesha.nfsd-2[main] config_errs_to_log :CONFIG :WARN :Config File (/etc/ganesha/ganesha.conf:18): Unknown block (RADOS_KV)
Jan 14 21:58:42 cali021 ceph-2edf8cd4-d28b-11ef-b7c0-ac1f6b0a1842-nfs-nfsganesha-0-0-cali021-ocaliz[218297]: 14/01/2025 21:58:42 : epoch 6786de12 : cali021 : ganesha.nfsd-2[main] config_errs_to_log :CONFIG :WARN :Config File (/etc/ganesha/ganesha.conf:25): Unknown block (RADOS_URLS)
Jan 14 21:58:42 cali021 ceph-2edf8cd4-d28b-11ef-b7c0-ac1f6b0a1842-nfs-nfsganesha-0-0-cali021-ocaliz[218297]: 14/01/2025 21:58:42 : epoch 6786de12 : cali021 : ganesha.nfsd-2[main] config_errs_to_log :CONFIG :WARN :Config File (/etc/ganesha/ganesha.conf:30): Unknown block (RGW)
Jan 14 21:58:42 cali021 ceph-2edf8cd4-d28b-11ef-b7c0-ac1f6b0a1842-nfs-nfsganesha-0-0-cali021-ocaliz[218297]: 14/01/2025 21:58:42 : epoch 6786de12 : cali021 : ganesha.nfsd-2[main] lower_my_caps :NFS STARTUP :EVENT :CAP_SYS_RESOURCE was successfully removed for proper quota management in FSAL
Jan 14 21:58:42 cali021 ceph-2edf8cd4-d28b-11ef-b7c0-ac1f6b0a1842-nfs-nfsganesha-0-0-cali021-ocaliz[218297]: 14/01/2025 21:58:42 : epoch 6786de12 : cali021 : ganesha.nfsd-2[main] lower_my_caps :NFS STARTUP :EVENT :currently set capabilities are: cap_chown,cap_dac_override,cap_fowner,cap_fsetid,cap_kill,cap_setgid,cap_setuid,cap_setpcap,cap_net_bind_service,cap_sys_chroot,cap_setfcap=ep
==================



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

# ceph --version
ceph version 19.2.0-58.el9cp (d4780295dda9ca9810286810bd5254843dbd55e5) squid (stable)

# 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.0-8.el9cp.noarch
nfs-ganesha-6.0-8.el9cp.x86_64
nfs-ganesha-rgw-6.0-8.el9cp.x86_64
nfs-ganesha-ceph-6.0-8.el9cp.x86_64
nfs-ganesha-rados-grace-6.0-8.el9cp.x86_64
nfs-ganesha-rados-urls-6.0-8.el9cp.x86_64

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


Steps to Reproduce:
1. Deploy NFS-Ganesha cluster

# ceph nfs cluster info nfsganesha
{
  "nfsganesha": {
    "backend": [
      {
        "hostname": "cali021",
        "ip": "10.8.130.21",
        "port": 12049
      }
    ],
    "monitor_port": 9049,
    "port": 2049,
    "virtual_ip": "10.8.130.31"
  }
}

2. Create NFS exports

# ceph nfs export ls nfsganesha
[
  "/ganesha1",
  "/ganesha2"
]


Actual results:
==============
Configuration error warnings were observed in ganesha.log


Expected results:
==============
No warnings should be observed


Additional info:


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