From 6dc5d6c9d87f37c80e1651f7e9224f3d5ce8dbf3 Mon Sep 17 00:00:00 2001 From: Blaine Gardner Date: Fri, 4 Apr 2025 12:41:11 -0600 Subject: [PATCH] nfs: set allow_set_io_flusher_fail=true in config NFS-Ganesha 6.1 requires this config to be set to allow it to run in a non-privileged container so it doesn't hit a permission failure. As long as the ganesha.nfsd process isn't run with the `-x` option, earlier versions of NFS-Ganesha that don't have this config won't complain. Related cephadm PR: https://github.com/ceph/ceph/pull/60077 This may be necessary for supporting future Ceph Squid versions according to discussions here: https://github.com/ceph/ceph-container/issues/2246 Signed-off-by: Blaine Gardner (cherry picked from commit 947ca8b458a493ccb15a8a872e2fa5629b3f19b3) --- pkg/operator/ceph/nfs/config.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/operator/ceph/nfs/config.go b/pkg/operator/ceph/nfs/config.go index 7d75200fa..a252b63b7 100644 --- a/pkg/operator/ceph/nfs/config.go +++ b/pkg/operator/ceph/nfs/config.go @@ -101,6 +101,7 @@ NFS_CORE_PARAM { Enable_NLM = false; Enable_RQUOTA = false; Protocols = 4; + allow_set_io_flusher_fail = true; } MDCACHE {