Searching for results...

No results

Your search did not match anything from Mirantis documentation.
Check your spelling or try different keywords.

An error occurred

An error occurred while using the search.
Try your search again or contact us to let us know about it.

Newer documentation is now live.You are currently reading an older version.

Verify Ceph cluster state

Warning

This procedure is valid for MOSK clusters that use the MiraCeph custom resource (CR), which is available since MOSK 25.2 to replace the unsupported KaaSCephCluster resource. And MiraCeph will be automatically migrated to CephDeployment in MOSK 26.1. For details, see Deprecation Notes: KaaSCephCluster API on management clusters.

For the equivalent procedure with the unsupported KaaSCephCluster CR, refer to the following section:

Verify Ceph cluster state

To verify the state of a Ceph cluster, Ceph Controller provides statuses to MiraCeph and MiraCephHealth objects. These resources contain information about the state of the Ceph cluster components, their health, and potentially problematic components.

To verify the Ceph cluster state from a MOSK cluster:

  1. Obtain kubeconfig of a MOSK cluster and provide it as an environment variable:

    export KUBECONFIG=<pathToMOSKKubeconfig>
    
  2. Obtain the MiraCeph resource in the YAML format:

    kubectl -n ceph-lcm-mirantis get miraceph -o yaml
    

    Information from MiraCeph.status reflects the spec handling state and validation result. For description of status fields, see MiraCeph status parameters.

  3. Obtain the MiraCephHealth resource in the YAML format:

    kubectl -n ceph-lcm-mirantis get mchealth -o yaml
    

    Information from MiraCephHealth.status contains extensive details about Ceph cluster and a shortened version with status summary. For description of status fields, see MiraCephHealth status high-level parameters.