]> git.apps.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/cephadm: add "mount_path_pseudo = true;" to generated ganesha conf
authorAdam King <adking@redhat.com>
Wed, 21 Feb 2024 16:33:33 +0000 (11:33 -0500)
committerAdam King <adking@redhat.com>
Mon, 21 Oct 2024 16:08:04 +0000 (12:08 -0400)
This seems to be necessary in order to mount exports
wit NFSv3, evne with protocol 3 present in the ganesha
conf and the export

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 ebe9ae0b7f692c9d0553311fded902b8c6c94eac..6113bae04e62702dba91e0c0801d3b76ea68e2de 100644 (file)
@@ -3,6 +3,7 @@ NFS_CORE_PARAM {
         Enable_NLM = {{ enable_nlm }};
         Enable_RQUOTA = false;
         Protocols = 3, 4;
+        mount_path_pseudo = true;
         NFS_Port = {{ port }};
         allow_set_io_flusher_fail = true;
 {% if bind_addr %}
index 2f448e0b522e955a3d366d70f3c980c9562066d3..14145458877b3a7a7d6326aa2ed8ed1acf26c270 100644 (file)
@@ -3188,6 +3188,7 @@ class TestIngressService:
             '        Enable_NLM = true;\n'
             '        Enable_RQUOTA = false;\n'
             '        Protocols = 3, 4;\n'
+            '        mount_path_pseudo = true;\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'