Skip to content

Commit 4d795a8

Browse files
committed
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 <[email protected]>
1 parent 1e69ebc commit 4d795a8

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

src/pybind/mgr/cephadm/templates/services/nfs/ganesha.conf.j2

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@ NFS_CORE_PARAM {
33
Enable_NLM = {{ enable_nlm }};
44
Enable_RQUOTA = false;
55
Protocols = 3, 4;
6+
mount_path_pseudo = true;
67
NFS_Port = {{ port }};
78
allow_set_io_flusher_fail = true;
89
{% if bind_addr %}

src/pybind/mgr/cephadm/tests/test_services.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3188,6 +3188,7 @@ def fake_keys():
31883188
' Enable_NLM = true;\n'
31893189
' Enable_RQUOTA = false;\n'
31903190
' Protocols = 3, 4;\n'
3191+
' mount_path_pseudo = true;\n'
31913192
' NFS_Port = 2049;\n'
31923193
' allow_set_io_flusher_fail = true;\n'
31933194
' HAProxy_Hosts = 192.168.122.111, 10.10.2.20, 192.168.122.222;\n'

0 commit comments

Comments
 (0)