]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/cephadm: add "Enable_UDP = false;" to ganesha conf 55693/head
authorAdam King <adking@redhat.com>
Wed, 25 Sep 2024 12:54:23 +0000 (08:54 -0400)
committerAdam King <adking@redhat.com>
Mon, 21 Oct 2024 16:08:04 +0000 (12:08 -0400)
The UDP protocol must be disabled in order for NFSv3 to work

Signed-off-by: Adam King <adking@redhat.com>
src/pybind/mgr/cephadm/templates/services/nfs/ganesha.conf.j2
src/pybind/mgr/cephadm/tests/test_services.py

index 6113bae04e62702dba91e0c0801d3b76ea68e2de..b85ccd7b7fbadd8e20efb1336f3067ce7583cd67 100644 (file)
@@ -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 %}
index 14145458877b3a7a7d6326aa2ed8ed1acf26c270..795981fd1a9979ab9990040a577cf26926073f8d 100644 (file)
@@ -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'