From: Varsha Rao Date: Tue, 3 Mar 2020 13:42:58 +0000 (+0530) Subject: mgr/volumes/fs: Update default ganesha conf options X-Git-Tag: v15.2.5~166^2~84 X-Git-Url: http://git-server-git.apps.pok.os.sepia.ceph.com/?a=commitdiff_plain;h=e8048a68febc061916258024142fccc41812afa4;p=ceph.git mgr/volumes/fs: Update default ganesha conf options Signed-off-by: Varsha Rao (cherry picked from commit 05dade8f768629a3a02a4399374be255e8461349) --- diff --git a/src/pybind/mgr/volumes/fs/nfs.py b/src/pybind/mgr/volumes/fs/nfs.py index 121b8b8790e6..78eaf935efa1 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()