]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
cephadm: disable UDP in samples/nfs.json for test_cephadm Ganesha 68976/head
authorKobi Ginon <kginon@redhat.com>
Mon, 18 May 2026 13:45:32 +0000 (16:45 +0300)
committerKobi Ginon <kginon@redhat.com>
Mon, 18 May 2026 13:47:50 +0000 (16:47 +0300)
test_cephadm.sh deploys NFS through cephadm _orch deploy using
src/cephadm/samples/nfs.json. That sample is separate from the mgr
ganesha.conf.j2 template, which already sets Enable_UDP = false.
Without that setting, Ganesha on Rocky 10 (ceph-ci image) fails during
startup with "Cannot register NFS V3 on UDP", so test_cephadm.sh never
sees ganesha.nfsd listening on port 2049.
Add Protocols = 3, 4 and Enable_UDP = false to NFS_CORE_PARAM so the
sample matches the orchestrator defaults.
Fixes: https://tracker.ceph.com/issues/76295
Signed-off-by: Kobi Ginon <kginon@redhat.com>
src/cephadm/samples/nfs.json

index 4c52dfa52195381aaf49c84242371f2ae32cf51c..fee16c05ce693d7e3bbd22b62885a61f3f132d0c 100644 (file)
@@ -4,6 +4,8 @@
     "files": {
         "ganesha.conf": [
             "NFS_CORE_PARAM {",
+            "        Protocols = 3, 4;",
+            "        Enable_UDP = false;",
             "        allow_set_io_flusher_fail = true;",
             "}",
             "",