From: Adam King Date: Wed, 25 Sep 2024 12:54:23 +0000 (-0400) Subject: mgr/cephadm: add "Enable_UDP = false;" to ganesha conf X-Git-Tag: v20.0.0~733^2 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=18b8277e86e2043b7091cc28ca919e6091e7b90f;p=ceph.git 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 --- 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 6113bae04e62..b85ccd7b7fba 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 14145458877b..795981fd1a99 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'