distrax.utils.ceph.mds_status#

distrax.utils.ceph.mds_status(timeout='5')[source]#

Get the status of the MDS.

Parameters:

timeout (str) – The length of time to try and connect to the cluster.

Return type:

bool

Returns:

True when it is up and running False otherwise

Examples

>>> import distrax.utils.ceph as ceph
>>> ceph.mds_status()
    True