From e8048a68febc061916258024142fccc41812afa4 Mon Sep 17 00:00:00 2001 From: Varsha Rao Date: Tue, 3 Mar 2020 19:12:58 +0530 Subject: [PATCH] mgr/volumes/fs: Update default ganesha conf options Signed-off-by: Varsha Rao (cherry picked from commit 05dade8f768629a3a02a4399374be255e8461349) --- src/pybind/mgr/volumes/fs/nfs.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/pybind/mgr/volumes/fs/nfs.py b/src/pybind/mgr/volumes/fs/nfs.py index 121b8b8790e..78eaf935efa 100644 --- a/src/pybind/mgr/volumes/fs/nfs.py +++ b/src/pybind/mgr/volumes/fs/nfs.py @@ -94,8 +94,8 @@ class GaneshaConf(object): """ return { 'access_type': export_defaults.get('access_type', 'NONE'), - 'protocols': export_defaults.get('protocols', [3, 4]), - 'transports': export_defaults.get('transports', ['TCP', 'UDP']), + 'protocols': export_defaults.get('protocols', [4]), + 'transports': export_defaults.get('transports', ['TCP']), 'squash': export_defaults.get('squash', 'root_squash') } @@ -227,7 +227,6 @@ class NFSConfig(object): 'fsal': {"name": "CEPH", "user_id":self.cluster_id, "fs_name": "a", "sec_label_xattr": ""}, 'clients': [] }) - log.info("Export ID is {}".format(ex_id)) NFSConfig.exp_num += 1 #self.update_user_caps() -- 2.47.3