]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
pybind/mgr/cephadm: remove mds auth cap for nfs recovery db cred 35159/head
authorPatrick Donnelly <pdonnell@redhat.com>
Wed, 20 May 2020 23:15:29 +0000 (16:15 -0700)
committerPatrick Donnelly <pdonnell@redhat.com>
Wed, 20 May 2020 23:15:55 +0000 (16:15 -0700)
There's no reason for this cap to be used for talking to the MDS. The
individual exports have their own caps for talking to the file system.

Fixes: https://tracker.ceph.com/issues/45632
Signed-off-by: Patrick Donnelly <pdonnell@redhat.com>
src/pybind/mgr/cephadm/services/nfs.py

index ee847c3e131dc6f97a9ed86aa0852613a392d0a3..cc786d33ed6a00f6dbbcd6ba0720566d62c50cf3 100644 (file)
@@ -124,8 +124,7 @@ class NFSGanesha(object):
             'prefix': 'auth caps',
             'entity': entity,
             'caps': ['mon', 'allow r',
-                     'osd', osd_caps,
-                     'mds', 'allow rw'],
+                     'osd', osd_caps],
         })
 
         if ret != 0: