From: Adam King Date: Wed, 21 Feb 2024 16:33:33 +0000 (-0500) Subject: mgr/cephadm: add "mount_path_pseudo = true;" to generated ganesha conf X-Git-Tag: v20.0.0~733^2~1 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=4d795a8ea414271e3fd0a6374943d624ee51edf3;p=ceph.git mgr/cephadm: add "mount_path_pseudo = true;" to generated ganesha conf 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 --- 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 ebe9ae0b7f6..6113bae04e6 100644 --- a/src/pybind/mgr/cephadm/templates/services/nfs/ganesha.conf.j2 +++ b/src/pybind/mgr/cephadm/templates/services/nfs/ganesha.conf.j2 @@ -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 %} diff --git a/src/pybind/mgr/cephadm/tests/test_services.py b/src/pybind/mgr/cephadm/tests/test_services.py index 2f448e0b522..14145458877 100644 --- a/src/pybind/mgr/cephadm/tests/test_services.py +++ b/src/pybind/mgr/cephadm/tests/test_services.py @@ -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'