Skip to content

Commit 18b8277

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

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
@@ -4,6 +4,7 @@ NFS_CORE_PARAM {
44
Enable_RQUOTA = false;
55
Protocols = 3, 4;
66
mount_path_pseudo = true;
7+
Enable_UDP = false;
78
NFS_Port = {{ port }};
89
allow_set_io_flusher_fail = true;
910
{% 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
@@ -3189,6 +3189,7 @@ def fake_keys():
31893189
' Enable_RQUOTA = false;\n'
31903190
' Protocols = 3, 4;\n'
31913191
' mount_path_pseudo = true;\n'
3192+
' Enable_UDP = false;\n'
31923193
' NFS_Port = 2049;\n'
31933194
' allow_set_io_flusher_fail = true;\n'
31943195
' HAProxy_Hosts = 192.168.122.111, 10.10.2.20, 192.168.122.222;\n'

0 commit comments

Comments
 (0)