distrax.utils.ceph module#

Ceph Utility functions.

This holds all utility function for Ceph

To read more about Ceph please see: https://docs.ceph.com/en/latest/

Functions relevant to ceph operations

PoolStatus

PoolStatus Type.

generate_auth_key()

Generate Ceph Auth Key.

create_keyring(folder, name, permissions)

Creates a Ceph Keyring file and writes the keyring with the permissions passed.

create_admin_key(folder)

Helper function for creating admin_keyring.

create_mon_key(folder)

Helper function for creating mon_keyring.

create_osd_key(folder)

Helper function for creating osd_keyring.

osd_status()

Get the status of the OSDs.

pool_status([timeout])

Get the status of the Pools.

lspools([timeout])

Get the current pools.

get_current_pg()

Get the current pg count of the cluster.

rgw_status([timeout])

Get the status of the RGW.

mds_status([timeout])

Get the status of the MDS.