]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
mgr/cephadm: create a "common" config per nfs service
authorMichael Fritch <mfritch@suse.com>
Fri, 27 Mar 2020 14:11:19 +0000 (08:11 -0600)
committerMichael Fritch <mfritch@suse.com>
Tue, 31 Mar 2020 19:20:46 +0000 (13:20 -0600)
instead of a per-daemon RADOS conf object

Signed-off-by: Michael Fritch <mfritch@suse.com>
src/pybind/mgr/cephadm/nfs.py

index ff748fa57463560250f6035bc51f4c6cef727f2e..067c13137fc1ce56b6cca21111c5cfbc3a5bcd31 100644 (file)
@@ -28,7 +28,7 @@ class NFSGanesha(object):
 
     def get_rados_config_name(self):
         # type: () -> str
-        return 'conf-' + self.get_rados_user()
+        return 'conf-' + self.spec.service_name()
 
     def get_rados_config_url(self):
         # type: () -> str