From 18b8277e86e2043b7091cc28ca919e6091e7b90f Mon Sep 17 00:00:00 2001 From: Adam King Date: Wed, 25 Sep 2024 08:54:23 -0400 Subject: [PATCH] mgr/cephadm: add "Enable_UDP = false;" to ganesha conf The UDP protocol must be disabled in order for NFSv3 to work Signed-off-by: Adam King --- src/pybind/mgr/cephadm/templates/services/nfs/ganesha.conf.j2 | 1 + src/pybind/mgr/cephadm/tests/test_services.py | 1 + 2 files changed, 2 insertions(+) diff --git a/src/pybind/mgr/cephadm/templates/services/nfs/ganesha.conf.j2 b/src/pybind/mgr/cephadm/templates/services/nfs/ganesha.conf.j2 index 6113bae04e627..b85ccd7b7fbad 100644 --- a/src/pybind/mgr/cephadm/templates/services/nfs/ganesha.conf.j2 +++ b/src/pybind/mgr/cephadm/templates/services/nfs/ganesha.conf.j2 @@ -4,6 +4,7 @@ NFS_CORE_PARAM { Enable_RQUOTA = false; Protocols = 3, 4; mount_path_pseudo = true; + Enable_UDP = false; NFS_Port = {{ port }}; allow_set_io_flusher_fail = true; {% if bind_addr %} diff --git a/src/pybind/mgr/cephadm/tests/test_services.py b/src/pybind/mgr/cephadm/tests/test_services.py index 14145458877b3..795981fd1a997 100644 --- a/src/pybind/mgr/cephadm/tests/test_services.py +++ b/src/pybind/mgr/cephadm/tests/test_services.py @@ -3189,6 +3189,7 @@ class TestIngressService: ' Enable_RQUOTA = false;\n' ' Protocols = 3, 4;\n' ' mount_path_pseudo = true;\n' + ' Enable_UDP = false;\n' ' NFS_Port = 2049;\n' ' allow_set_io_flusher_fail = true;\n' ' HAProxy_Hosts = 192.168.122.111, 10.10.2.20, 192.168.122.222;\n' -- 2.39.5