MCPcopy Create free account
hub / github.com/ceph/ceph / __init__

Method __init__

qa/tasks/vstart_runner.py:934–939  ·  view source on GitHub ↗
(self, ctx, cluster_name='ceph')

Source from the content-addressed store, hash-verified

932
933class LocalMDSCluster(LocalCephCluster, tasks.cephfs.filesystem.MDSClusterBase):
934 def __init__(self, ctx, cluster_name='ceph'):
935 LocalCephCluster.__init__(self, ctx, cluster_name=cluster_name)
936 # Deliberately skip calling MDSCluster constructor
937 self._mds_ids = ctx.daemons.daemons['ceph.mds'].keys()
938 log.debug("Discovered MDS IDs: {0}".format(self._mds_ids))
939 self._mds_daemons = dict([(id_, LocalDaemon("mds", id_)) for id_ in self.mds_ids])
940
941 @property
942 def mds_ids(self):

Callers

nothing calls this directly

Calls 5

LocalDaemonClass · 0.85
__init__Method · 0.45
keysMethod · 0.45
debugMethod · 0.45
formatMethod · 0.45

Tested by

no test coverage detected