From: Redouane Kachach Date: Fri, 10 Apr 2026 09:34:12 +0000 (+0200) Subject: qa/cephadm: fix NFS ganesha startup failure in containers X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=refs%2Fpull%2F68305%2Fhead;p=ceph.git qa/cephadm: fix NFS ganesha startup failure in containers The test_cephadm.sh workunit deploys NFS using cephadm _orch deploy with config_blobs sourced from src/cephadm/samples/nfs.json. The ganesha.conf section in that sample has no NFS_CORE_PARAM block, so allow_set_io_flusher_fail defaults to false. On Rocky Linux 10 (the current base for ceph:main images), ganesha 7.0 calls prctl(PR_SET_IO_FLUSHER) at startup. Containers lack the required capabilities (CAP_SYS_ADMIN/CAP_SYS_RAWIO) for this syscall, so it returns EPERM. With allow_set_io_flusher_fail unset, ganesha treats this as a fatal error and aborts immediately, before even fetching the %url RADOS config. The orchestrator path (ganesha.conf.j2) already has allow_set_io_flusher_fail = true in its NFS_CORE_PARAM block. This fix brings the sample config used by the standalone test path in line with it. Fixes: workunits/{agent/on mon_election/connectivity task/test_cephadm} failures Signed-off-by: Redouane Kachach --- diff --git a/src/cephadm/samples/nfs.json b/src/cephadm/samples/nfs.json index 876c8e69ef1d..4c52dfa52195 100644 --- a/src/cephadm/samples/nfs.json +++ b/src/cephadm/samples/nfs.json @@ -3,6 +3,10 @@ "namespace" : "nfs-ns", "files": { "ganesha.conf": [ + "NFS_CORE_PARAM {", + " allow_set_io_flusher_fail = true;", + "}", + "", "RADOS_URLS {", " userid = admin;", "}",