7.3. Resolving cluster alerts
There is a finite set of possible health alerts that a Red Hat Ceph Storage cluster can raise that show in the OpenShift Data Foundation user interface. These are defined as health alerts which have unique identifiers. The identifier is a terse pseudo-human-readable string that is intended to enable tools to make sense of health checks, and present them in a way that reflects their meaning. Click the health alert for more information and troubleshooting.
| Health alert | Overview |
|---|---|
| Storage cluster utilization has crossed 80%. | |
| Storage cluster is in an error state for more than 10 minutes. | |
| Storage cluster is nearing full capacity. Data deletion or cluster expansion is required. | |
| Storage cluster is read-only now and needs immediate data deletion or cluster expansion. | |
| Storage cluster is in a warning state for more than 10 mins. | |
| Data recovery has been active for too long. | |
|
Ceph metadata service (MDS) cache usage for the MDS daemon has exceeded 95% of the | |
| Ceph MDS CPU usage for the MDS daemon has exceeded the threshold for adequate performance. | |
| Minimum required replicas for storage metadata service not available. Might affect the working of the storage cluster. | |
| Ceph Manager has disappeared from Prometheus target discovery. | |
|
Ceph manager is missing replicas. This impacts health status reporting and will cause some of the information reported by the | |
| The Ceph monitor leader is being changed an unusual number of times. | |
| Storage cluster quorum is low. | |
| The number of monitor pods in the storage cluster are not enough. | |
| There are different versions of Ceph Mon components running. | |
| A storage node went down. Check the node immediately. The alert should contain the node name. | |
| Utilization of back-end Object Storage Device (OSD) has crossed 80%. Free up some space immediately or expand the storage cluster or contact support. | |
| A disk device is not responding on one of the hosts. | |
| A disk device is not accessible on one of the hosts. | |
| Ceph storage OSD flapping. | |
| One of the OSD storage devices is nearing full. | |
| OSD requests are taking too long to process. | |
| There are different versions of Ceph OSD components running. | |
| Self-healing operations are taking too long. | |
| Storage pool quota usage has crossed 90%. | |
| Storage pool quota usage has crossed 70%. | |
| CPU usage in the OSD container on a specific pod has exceeded 80%, potentially affecting the performance of the OSD. | |
| Persistent Volume Claim usage has exceeded more than 85% of its capacity. | |
| Persistent Volume Claim usage has exceeded more than 75% of its capacity. |
7.3.1. CephClusterCriticallyFull リンクのコピーリンクがクリップボードにコピーされました!
| Meaning | Storage cluster utilization has crossed 80% and will become read-only at 85%. Your Ceph cluster will become read-only once utilization crosses 85%. Free up some space or expand the storage cluster immediately. It is common to see alerts related to Object Storage Device (OSD) full or near full prior to this alert. |
| Impact | High |
Diagnosis
- Scaling storage
- Depending on the type of cluster, you need to add storage devices, nodes, or both. For more information, see the Scaling storage guide.
Mitigation
- Deleting information
- If it is not possible to scale up the cluster, you need to delete information to free up some space.
7.3.2. CephClusterErrorState リンクのコピーリンクがクリップボードにコピーされました!
| Meaning |
This alert reflects that the storage cluster is in |
| Impact | Critical |
Diagnosis
- pod status: pending
Check for resource issues, pending Persistent Volume Claims (PVCs), node assignment, and kubelet problems:
$ oc project openshift-storage$ oc get pod | grep rook-cephSet
MYPODas the variable for the pod that is identified as the problem pod:# Examine the output for a rook-ceph that is in the pending state, not running or not ready MYPOD=<pod_name><pod_name>- Specify the name of the pod that is identified as the problem pod.
Look for the resource limitations or pending PVCs. Otherwise, check for the node assignment:
$ oc get pod/${MYPOD} -o wide
- pod status: NOT pending, running, but NOT ready
Check the readiness probe:
$ oc describe pod/${MYPOD}
- pod status: NOT pending, but NOT running
Check for application or image issues:
$ oc logs pod/${MYPOD}重要- If a node was assigned, check the kubelet on the node.
- If the basic health of the running pods, node affinity and resource availability on the nodes are verified, run the Ceph tools to get the status of the storage components.
Mitigation
- Debugging log information
This step is optional. Run the following command to gather the debugging information for the Ceph cluster:
$ oc adm must-gather --image=registry.redhat.io/odf4/odf-must-gather-rhel9:v4.15
7.3.3. CephClusterNearFull リンクのコピーリンクがクリップボードにコピーされました!
| Meaning | Storage cluster utilization has crossed 75% and will become read-only at 85%. Free up some space or expand the storage cluster. |
| Impact | Critical |
Diagnosis
- Scaling storage
- Depending on the type of cluster, you need to add storage devices, nodes, or both. For more information, see the Scaling storage guide.
Mitigation
- Deleting information
- If it is not possible to scale up the cluster, you need to delete information in order to free up some space.
7.3.4. CephClusterReadOnly リンクのコピーリンクがクリップボードにコピーされました!
| Meaning | Storage cluster utilization has crossed 85% and will become read-only now. Free up some space or expand the storage cluster immediately. |
| Impact | Critical |
Diagnosis
- Scaling storage
- Depending on the type of cluster, you need to add storage devices, nodes, or both. For more information, see the Scaling storage guide.
Mitigation
- Deleting information
- If it is not possible to scale up the cluster, you need to delete information in order to free up some space.
7.3.5. CephClusterWarningState リンクのコピーリンクがクリップボードにコピーされました!
| Meaning | This alert reflects that the storage cluster has been in a warning state for an unacceptable amount of time. While the storage operations will continue to function in this state, it is recommended to fix the errors so that the cluster does not get into an error state. Check for other alerts that might have triggered prior to this one and troubleshoot those alerts first. |
| Impact | High |
Diagnosis
- pod status: pending
Check for resource issues, pending Persistent Volume Claims (PVCs), node assignment, and kubelet problems:
$ oc project openshift-storageoc get pod | grep {ceph-component}Set
MYPODas the variable for the pod that is identified as the problem pod:# Examine the output for a {ceph-component} that is in the pending state, not running or not ready MYPOD=<pod_name><pod_name>- Specify the name of the pod that is identified as the problem pod.
Look for the resource limitations or pending PVCs. Otherwise, check for the node assignment:
$ oc get pod/${MYPOD} -o wide
- pod status: NOT pending, running, but NOT ready
Check the readiness probe:
$ oc describe pod/${MYPOD}
- pod status: NOT pending, but NOT running
Check for application or image issues:
$ oc logs pod/${MYPOD}重要If a node was assigned, check the kubelet on the node.
Mitigation
- Debugging log information
- This step is optional. Run the following command to gather the debugging information for the Ceph cluster:
$ oc adm must-gather --image=registry.redhat.io/odf4/odf-must-gather-rhel9:v4.15
7.3.6. CephDataRecoveryTakingTooLong リンクのコピーリンクがクリップボードにコピーされました!
| Meaning | Data recovery is slow. Check whether all the Object Storage Devices (OSDs) are up and running. |
| Impact | High |
Diagnosis
- pod status: pending
Check for resource issues, pending Persistent Volume Claims (PVCs), node assignment, and kubelet problems:
$ oc project openshift-storageoc get pod | grep rook-ceph-osdSet
MYPODas the variable for the pod that is identified as the problem pod:# Examine the output for a {ceph-component} that is in the pending state, not running or not ready MYPOD=<pod_name><pod_name>- Specify the name of the pod that is identified as the problem pod.
Look for the resource limitations or pending PVCs. Otherwise, check for the node assignment:
$ oc get pod/${MYPOD} -o wide
- pod status: NOT pending, running, but NOT ready
Check the readiness probe:
$ oc describe pod/${MYPOD}
- pod status: NOT pending, but NOT running
Check for application or image issues:
$ oc logs pod/${MYPOD}重要If a node was assigned, check the kubelet on the node.
Mitigation
- Debugging log information
- This step is optional. Run the following command to gather the debugging information for the Ceph cluster:
$ oc adm must-gather --image=registry.redhat.io/odf4/odf-must-gather-rhel9:v4.15
7.3.7. CephMdsCacheUsageHigh リンクのコピーリンクがクリップボードにコピーされました!
| Meaning |
When the storage metadata service (MDS) cannot keep its cache usage under the target threshold specified by |
| Impact | High |
Diagnosis
The MDS tries to stay under a reservation of the mds_cache_memory_limit by trimming unused metadata in its cache and recalling cached items in the client caches. It is possible for the MDS to exceed this limit due to slow recall from clients as a result of multiple clients accesing the files.
Mitigation
Make sure you have enough memory provisioned for MDS cache. Memory resources for the MDS pods need to be updated in the ocs-storageCluster in order to increase the mds_cache_memory_limit. Run the following command to set the memory of MDS pods, for example, 16GB:
$ oc patch -n openshift-storage storagecluster ocs-storagecluster \
--type merge \
--patch '{"spec": {"resources": {"mds": {"limits": {"memory": "16Gi"},"requests": {"memory": "16Gi"}}}}}'
OpenShift Data Foundation automatically sets mds_cache_memory_limit to half of the MDS pod memory limit. If the memory is set to 8GB using the previous command, then the operator sets the MDS cache memory limit to 4GB.
7.3.8. CephMdsCpuUsageHigh リンクのコピーリンクがクリップボードにコピーされました!
| Meaning | The storage metadata service (MDS) serves filesystem metadata. The MDS is crucial for any file creation, rename, deletion, and update operations. MDS by default is allocated two or three CPUs. This does not cause issues as long as there are not too many metadata operations. When the metadata operation load increases enough to trigger this alert, it means the default CPU allocation is unable to cope with load. You need to increase the CPU allocation or run multiple active MDS servers. |
| Impact | High |
Diagnosis
Click Workloads
Mitigation
You need to either do a vertical or a horizontal scaling of CPU. For more information, see the Description and Runbook section of the alert.
Use the following command to set the number of allocated CPU for MDS, for example, 8:
oc patch -n openshift-storage storagecluster ocs-storagecluster \
--type merge \
--patch '{"spec": {"resources": {"mds": {"limits": {"cpu": "8"},
"requests": {"cpu": "8"}}}}}'
In order to run multiple active MDS servers, use the following command:
oc patch -n openshift-storage storagecluster ocs-storagecluster\
--type merge \
--patch '{"spec": {"managedResources": {"cephFilesystems":{"activeMetadataServers": 2}}}}'
Make sure you have enough CPU provisioned for MDS depending on the load.
Always increase the activeMetadataServers by 1. The scaling of activeMetadataServers works only if you have more than one PV. If there is only one PV that is causing CPU load, look at increasing the CPU resource as described above.
7.3.9. CephMdsMissingReplicas リンクのコピーリンクがクリップボードにコピーされました!
| Meaning | Minimum required replicas for the storage metadata service (MDS) are not available. MDS is responsible for filing metadata. Degradation of the MDS service can affect how the storage cluster works (related to the CephFS storage class) and should be fixed as soon as possible. |
| Impact | High |
Diagnosis
- pod status: pending
Check for resource issues, pending Persistent Volume Claims (PVCs), node assignment, and kubelet problems:
$ oc project openshift-storageoc get pod | grep rook-ceph-mdsSet
MYPODas the variable for the pod that is identified as the problem pod:# Examine the output for a {ceph-component} that is in the pending state, not running or not ready MYPOD=<pod_name><pod_name>- Specify the name of the pod that is identified as the problem pod.
Look for the resource limitations or pending PVCs. Otherwise, check for the node assignment:
$ oc get pod/${MYPOD} -o wide
- pod status: NOT pending, running, but NOT ready
Check the readiness probe:
$ oc describe pod/${MYPOD}
- pod status: NOT pending, but NOT running
Check for application or image issues:
$ oc logs pod/${MYPOD}重要If a node was assigned, check the kubelet on the node.
Mitigation
- Debugging log information
- This step is optional. Run the following command to gather the debugging information for the Ceph cluster:
$ oc adm must-gather --image=registry.redhat.io/odf4/odf-must-gather-rhel9:v4.15
7.3.10. CephMgrIsAbsent リンクのコピーリンクがクリップボードにコピーされました!
| Meaning | Not having a Ceph manager running the monitoring of the cluster. Persistent Volume Claim (PVC) creation and deletion requests should be resolved as soon as possible. |
| Impact | High |
Diagnosis
Verify that the
rook-ceph-mgrpod is failing, and restart if necessary. If the Ceph mgr pod restart fails, follow the general pod troubleshooting to resolve the issue.Verify that the Ceph mgr pod is failing:
$ oc get pods | grep mgrDescribe the Ceph mgr pod for more details:
$ oc describe pods/<pod_name><pod_name>-
Specify the
rook-ceph-mgrpod name from the previous step.
Analyze the errors related to resource issues.
Delete the pod, and wait for the pod to restart:
$ oc get pods | grep mgr
Follow these steps for general pod troubleshooting:
- pod status: pending
Check for resource issues, pending Persistent Volume Claims (PVCs), node assignment, and kubelet problems:
$ oc project openshift-storageoc get pod | grep rook-ceph-mgrSet
MYPODas the variable for the pod that is identified as the problem pod:# Examine the output for a {ceph-component} that is in the pending state, not running or not ready MYPOD=<pod_name><pod_name>- Specify the name of the pod that is identified as the problem pod.
Look for the resource limitations or pending PVCs. Otherwise, check for the node assignment:
$ oc get pod/${MYPOD} -o wide
- pod status: NOT pending, running, but NOT ready
Check the readiness probe:
$ oc describe pod/${MYPOD}
- pod status: NOT pending, but NOT running
Check for application or image issues:
$ oc logs pod/${MYPOD}重要If a node was assigned, check the kubelet on the node.
Mitigation
- Debugging log information
- This step is optional. Run the following command to gather the debugging information for the Ceph cluster:
$ oc adm must-gather --image=registry.redhat.io/odf4/odf-must-gather-rhel9:v4.15
7.3.11. CephMgrIsMissingReplicas リンクのコピーリンクがクリップボードにコピーされました!
| Meaning | To resolve this alert, you need to determine the cause of the disappearance of the Ceph manager and restart if necessary. |
| Impact | High |
Diagnosis
- pod status: pending
Check for resource issues, pending Persistent Volume Claims (PVCs), node assignment, and kubelet problems:
$ oc project openshift-storageoc get pod | grep rook-ceph-mgrSet
MYPODas the variable for the pod that is identified as the problem pod:# Examine the output for a {ceph-component} that is in the pending state, not running or not ready MYPOD=<pod_name><pod_name>- Specify the name of the pod that is identified as the problem pod.
Look for the resource limitations or pending PVCs. Otherwise, check for the node assignment:
$ oc get pod/${MYPOD} -o wide
- pod status: NOT pending, running, but NOT ready
Check the readiness probe:
$ oc describe pod/${MYPOD}
- pod status: NOT pending, but NOT running
Check for application or image issues:
$ oc logs pod/${MYPOD}重要If a node was assigned, check the kubelet on the node.
Mitigation
- Debugging log information
- This step is optional. Run the following command to gather the debugging information for the Ceph cluster:
$ oc adm must-gather --image=registry.redhat.io/odf4/odf-must-gather-rhel9:v4.15
7.3.12. CephMonHighNumberOfLeaderChanges リンクのコピーリンクがクリップボードにコピーされました!
| Meaning | In a Ceph cluster there is a redundant set of monitor pods that store critical information about the storage cluster. Monitor pods synchronize periodically to obtain information about the storage cluster. The first monitor pod to get the most updated information becomes the leader, and the other monitor pods will start their synchronization process after asking the leader. A problem in network connection or another kind of problem in one or more monitor pods produces an unusual change of the leader. This situation can negatively affect the storage cluster performance. |
| Impact | Medium |
Check for any network issues. If there is a network issue, you need to escalate to the OpenShift Data Foundation team before you proceed with any of the following troubleshooting steps.
Diagnosis
Print the logs of the affected monitor pod to gather more information about the issue:
$ oc logs <rook-ceph-mon-X-yyyy> -n openshift-storage<rook-ceph-mon-X-yyyy>- Specify the name of the affected monitor pod.
- Alternatively, use the Openshift Web console to open the logs of the affected monitor pod. More information about possible causes is reflected in the log.
Perform the general pod troubleshooting steps:
- pod status: pending
Check for resource issues, pending Persistent Volume Claims (PVCs), node assignment, and kubelet problems:
$ oc project openshift-storageoc get pod | grep {ceph-component}Set
MYPODas the variable for the pod that is identified as the problem pod:# Examine the output for a {ceph-component} that is in the pending state, not running or not ready MYPOD=<pod_name><pod_name>- Specify the name of the pod that is identified as the problem pod.
Look for the resource limitations or pending PVCs. Otherwise, check for the node assignment:
$ oc get pod/${MYPOD} -o wide- pod status: NOT pending, running, but NOT ready
- Check the readiness probe:
$ oc describe pod/${MYPOD}- pod status: NOT pending, but NOT running
- Check for application or image issues:
$ oc logs pod/${MYPOD}重要If a node was assigned, check the kubelet on the node.
Mitigation
- Debugging log information
- This step is optional. Run the following command to gather the debugging information for the Ceph cluster:
$ oc adm must-gather --image=registry.redhat.io/odf4/odf-must-gather-rhel9:v4.15
7.3.13. CephMonQuorumAtRisk リンクのコピーリンクがクリップボードにコピーされました!
| Meaning | Multiple MONs work together to provide redundancy. Each of the MONs keeps a copy of the metadata. The cluster is deployed with 3 MONs, and requires 2 or more MONs to be up and running for quorum and for the storage operations to run. If quorum is lost, access to data is at risk. |
| Impact | High |
Diagnosis
Restore the Ceph MON Quorum. For more information, see Restoring ceph-monitor quorum in OpenShift Data Foundation in the Troubleshooting guide. If the restoration of the Ceph MON Quorum fails, follow the general pod troubleshooting to resolve the issue.
Perform the following for general pod troubleshooting:
- pod status: pending
Check for resource issues, pending Persistent Volume Claims (PVCs), node assignment, and kubelet problems:
$ oc project openshift-storageoc get pod | grep rook-ceph-monSet
MYPODas the variable for the pod that is identified as the problem pod:# Examine the output for a {ceph-component} that is in the pending state, not running or not ready MYPOD=<pod_name><pod_name>- Specify the name of the pod that is identified as the problem pod.
Look for the resource limitations or pending PVCs. Otherwise, check for the node assignment:
$ oc get pod/${MYPOD} -o wide
- pod status: NOT pending, running, but NOT ready
- Check the readiness probe:
$ oc describe pod/${MYPOD}- pod status: NOT pending, but NOT running
- Check for application or image issues:
$ oc logs pod/${MYPOD}重要If a node was assigned, check the kubelet on the node.
Mitigation
- Debugging log information
- This step is optional. Run the following command to gather the debugging information for the Ceph cluster:
$ oc adm must-gather --image=registry.redhat.io/odf4/odf-must-gather-rhel9:v4.15
7.3.14. CephMonQuorumLost リンクのコピーリンクがクリップボードにコピーされました!
| Meaning | In a Ceph cluster there is a redundant set of monitor pods that store critical information about the storage cluster. Monitor pods synchronize periodically to obtain information about the storage cluster. The first monitor pod to get the most updated information becomes the leader, and the other monitor pods will start their synchronization process after asking the leader. A problem in network connection or another kind of problem in one or more monitor pods produces an unusual change of the leader. This situation can negatively affect the storage cluster performance. |
| Impact | High |
Check for any network issues. If there is a network issue, you need to escalate to the OpenShift Data Foundation team before you proceed with any of the following troubleshooting steps.
Diagnosis
Restore the Ceph MON Quorum. For more information, see Restoring ceph-monitor quorum in OpenShift Data Foundation in the Troubleshooting guide. If the restoration of the Ceph MON Quorum fails, follow the general pod troubleshooting to resolve the issue.
Alternatively, perform general pod troubleshooting:
- pod status: pending
Check for resource issues, pending Persistent Volume Claims (PVCs), node assignment, and kubelet problems:
$ oc project openshift-storageoc get pod | grep {ceph-component}Set
MYPODas the variable for the pod that is identified as the problem pod:# Examine the output for a {ceph-component} that is in the pending state, not running or not ready MYPOD=<pod_name><pod_name>- Specify the name of the pod that is identified as the problem pod.
Look for the resource limitations or pending PVCs. Otherwise, check for the node assignment:
$ oc get pod/${MYPOD} -o wide
- pod status: NOT pending, running, but NOT ready
- Check the readiness probe:
$ oc describe pod/${MYPOD}- pod status: NOT pending, but NOT running
- Check for application or image issues:
$ oc logs pod/${MYPOD}重要If a node was assigned, check the kubelet on the node.
Mitigation
- Debugging log information
- This step is optional. Run the following command to gather the debugging information for the Ceph cluster:
$ oc adm must-gather --image=registry.redhat.io/odf4/odf-must-gather-rhel9:v4.15
7.3.15. CephMonVersionMismatch リンクのコピーリンクがクリップボードにコピーされました!
| Meaning | Typically this alert triggers during an upgrade that is taking a long time. |
| Impact | Medium |
Diagnosis
Check the ocs-operator subscription status and the operator pod health to check if an operator upgrade is in progress.
Check the
ocs-operatorsubscription health.$ oc get sub $(oc get pods -n openshift-storage | grep -v ocs-operator) -n openshift-storage -o json | jq .status.conditionsThe status condition types are
CatalogSourcesUnhealthy,InstallPlanMissing,InstallPlanPending, andInstallPlanFailed. The status for each type should beFalse.Example output:
[ { "lastTransitionTime": "2021-01-26T19:21:37Z", "message": "all available catalogsources are healthy", "reason": "AllCatalogSourcesHealthy", "status": "False", "type": "CatalogSourcesUnhealthy" } ]The example output shows a
Falsestatus for typeCatalogSourcesUnHealthly, which means that the catalog sources are healthy.Check the OCS operator pod status to see if there is an OCS operator upgrading in progress.
$ oc get pod -n openshift-storage | grep ocs-operator OCSOP=$(oc get pod -n openshift-storage -o custom-columns=POD:.metadata.name --no-headers | grep ocs-operator) echo $OCSOP oc get pod/${OCSOP} -n openshift-storage oc describe pod/${OCSOP} -n openshift-storageIf you determine that the `ocs-operator`is in progress, wait for 5 mins and this alert should resolve itself. If you have waited or see a different error status condition, continue troubleshooting.
Mitigation
- Debugging log information
This step is optional. Run the following command to gather the debugging information for the Ceph cluster:
$ oc adm must-gather --image=registry.redhat.io/odf4/odf-must-gather-rhel9:v4.15
7.3.16. CephNodeDown リンクのコピーリンクがクリップボードにコピーされました!
| Meaning | A node running Ceph pods is down. While storage operations will continue to function as Ceph is designed to deal with a node failure, it is recommended to resolve the issue to minimize the risk of another node going down and affecting storage functions. |
| Impact | Medium |
Diagnosis
List all the pods that are running and failing:
oc -n openshift-storage get pods重要Ensure that you meet the OpenShift Data Foundation resource requirements so that the Object Storage Device (OSD) pods are scheduled on the new node. This may take a few minutes as the Ceph cluster recovers data for the failing but now recovering OSD. To watch this recovery in action, ensure that the OSD pods are correctly placed on the new worker node.
Check if the OSD pods that were previously failing are now running:
oc -n openshift-storage get podsIf the previously failing OSD pods have not been scheduled, use the
describecommand and check the events for reasons the pods were not rescheduled.Describe the events for the failing OSD pod:
oc -n openshift-storage get pods | grep osdFind the one or more failing OSD pods:
oc -n openshift-storage describe pods/<osd_podname_ from_the_ previous step>In the events section look for the failure reasons, such as the resources are not being met.
In addition, you can use the
rook-ceph-toolboxto watch the recovery. This step is optional, but is helpful for large Ceph clusters. To access the toolbox, run the following command:TOOLS_POD=$(oc get pods -n openshift-storage -l app=rook-ceph-tools -o name) oc rsh -n openshift-storage $TOOLS_PODFrom the rsh command prompt, run the following, and watch for "recovery" under the io section:
ceph statusDetermine if there are failed nodes.
Get the list of worker nodes, and check for the node status:
oc get nodes --selector='node-role.kubernetes.io/worker','!node-role.kubernetes.io/infra'Describe the node which is of the
NotReadystatus to get more information about the failure:oc describe node <node_name>
Mitigation
- Debugging log information
This step is optional. Run the following command to gather the debugging information for the Ceph cluster:
$ oc adm must-gather --image=registry.redhat.io/odf4/odf-must-gather-rhel9:v4.15
7.3.17. CephOSDCriticallyFull リンクのコピーリンクがクリップボードにコピーされました!
| Meaning | One of the Object Storage Devices (OSDs) is critically full. Expand the cluster immediately. |
| Impact | High |
Diagnosis
- Deleting data to free up storage space
- You can delete data, and the cluster will resolve the alert through self healing processes.
This is only applicable to OpenShift Data Foundation clusters that are near or full but not in read-only mode. Read-only mode prevents any changes that include deleting data, that is, deletion of Persistent Volume Claim (PVC), Persistent Volume (PV) or both.
- Expanding the storage capacity
- Current storage size is less than 1 TB
You must first assess the ability to expand. For every 1 TB of storage added, the cluster needs to have 3 nodes each with a minimum available 2 vCPUs and 8 GiB memory.
You can increase the storage capacity to 4 TB via the add-on and the cluster will resolve the alert through self healing processes. If the minimum vCPU and memory resource requirements are not met, you need to add 3 additional worker nodes to the cluster.
Mitigation
- If your current storage size is equal to 4 TB, contact Red Hat support.
Optional: Run the following command to gather the debugging information for the Ceph cluster:
$ oc adm must-gather --image=registry.redhat.io/odf4/odf-must-gather-rhel9:v4.15
7.3.18. CephOSDDiskNotResponding リンクのコピーリンクがクリップボードにコピーされました!
| Meaning | A disk device is not responding. Check whether all the Object Storage Devices (OSDs) are up and running. |
| Impact | Medium |
Diagnosis
- pod status: pending
Check for resource issues, pending Persistent Volume Claims (PVCs), node assignment, and kubelet problems:
$ oc project openshift-storage$ oc get pod | grep rook-cephSet
MYPODas the variable for the pod that is identified as the problem pod:# Examine the output for a rook-ceph that is in the pending state, not running or not ready MYPOD=<pod_name><pod_name>- Specify the name of the pod that is identified as the problem pod.
Look for the resource limitations or pending PVCs. Otherwise, check for the node assignment:
$ oc get pod/${MYPOD} -o wide
- pod status: NOT pending, running, but NOT ready
Check the readiness probe:
$ oc describe pod/${MYPOD}
- pod status: NOT pending, but NOT running
Check for application or image issues:
$ oc logs pod/${MYPOD}重要- If a node was assigned, check the kubelet on the node.
- If the basic health of the running pods, node affinity and resource availability on the nodes are verified, run the Ceph tools to get the status of the storage components.
Mitigation
- Debugging log information
This step is optional. Run the following command to gather the debugging information for the Ceph cluster:
$ oc adm must-gather --image=registry.redhat.io/odf4/odf-must-gather-rhel9:v4.15
7.3.20. CephOSDFlapping リンクのコピーリンクがクリップボードにコピーされました!
| Meaning | A storage daemon has restarted 5 times in the last 5 minutes. Check the pod events or Ceph status to find out the cause. |
| Impact | High |
Diagnosis
Follow the steps in the Flapping OSDs section of the Red Hat Ceph Storage Troubleshooting Guide.
Alternatively, follow the steps for general pod troubleshooting:
- pod status: pending
Check for resource issues, pending Persistent Volume Claims (PVCs), node assignment, and kubelet problems:
$ oc project openshift-storage$ oc get pod | grep rook-cephSet
MYPODas the variable for the pod that is identified as the problem pod:# Examine the output for a rook-ceph that is in the pending state, not running or not ready MYPOD=<pod_name><pod_name>- Specify the name of the pod that is identified as the problem pod.
Look for the resource limitations or pending PVCs. Otherwise, check for the node assignment:
$ oc get pod/${MYPOD} -o wide
- pod status: NOT pending, running, but NOT ready
Check the readiness probe:
$ oc describe pod/${MYPOD}
- pod status: NOT pending, but NOT running
Check for application or image issues:
$ oc logs pod/${MYPOD}重要- If a node was assigned, check the kubelet on the node.
- If the basic health of the running pods, node affinity and resource availability on the nodes are verified, run the Ceph tools to get the status of the storage components.
Mitigation
- Debugging log information
This step is optional. Run the following command to gather the debugging information for the Ceph cluster:
$ oc adm must-gather --image=registry.redhat.io/odf4/odf-must-gather-rhel9:v4.15
7.3.21. CephOSDNearFull リンクのコピーリンクがクリップボードにコピーされました!
| Meaning | Utilization of back-end storage device Object Storage Device (OSD) has crossed 75% on a host. |
| Impact | High |
Mitigation
Free up some space in the cluster, expand the storage cluster, or contact Red Hat support. For more information on scaling storage, see the Scaling storage guide.
7.3.22. CephOSDSlowOps リンクのコピーリンクがクリップボードにコピーされました!
| Meaning |
An Object Storage Device (OSD) with slow requests is every OSD that is not able to service the I/O operations per second (IOPS) in the queue within the time defined by the |
| Impact | Medium |
Diagnosis
More information about the slow requests can be obtained using the Openshift console.
Access the OSD pod terminal, and run the following commands:
$ ceph daemon osd.<id> ops$ ceph daemon osd.<id> dump_historic_ops注記The number of the OSD is seen in the pod name. For example, in
rook-ceph-osd-0-5d86d4d8d4-zlqkx,<0>is the OSD.
Mitigation
The main causes of the OSDs having slow requests are:
- Problems with the underlying hardware or infrastructure, such as, disk drives, hosts, racks, or network switches. Use the Openshift monitoring console to find the alerts or errors about cluster resources. This can give you an idea about the root cause of the slow operations in the OSD.
- Problems with the network. These problems are usually connected with flapping OSDs. See the Flapping OSDs section of the Red Hat Ceph Storage Troubleshooting Guide
- If it is a network issue, escalate to the OpenShift Data Foundation team
- System load. Use the Openshift console to review the metrics of the OSD pod and the node which is running the OSD. Adding or assigning more resources can be a possible solution.
7.3.23. CephOSDVersionMismatch リンクのコピーリンクがクリップボードにコピーされました!
| Meaning | Typically this alert triggers during an upgrade that is taking a long time. |
| Impact | Medium |
Diagnosis
Check the ocs-operator subscription status and the operator pod health to check if an operator upgrade is in progress.
Check the
ocs-operatorsubscription health.$ oc get sub $(oc get pods -n openshift-storage | grep -v ocs-operator) -n openshift-storage -o json | jq .status.conditionsThe status condition types are
CatalogSourcesUnhealthy,InstallPlanMissing,InstallPlanPending, andInstallPlanFailed. The status for each type should beFalse.Example output:
[ { "lastTransitionTime": "2021-01-26T19:21:37Z", "message": "all available catalogsources are healthy", "reason": "AllCatalogSourcesHealthy", "status": "False", "type": "CatalogSourcesUnhealthy" } ]The example output shows a
Falsestatus for typeCatalogSourcesUnHealthly, which means that the catalog sources are healthy.Check the OCS operator pod status to see if there is an OCS operator upgrading in progress.
$ oc get pod -n openshift-storage | grep ocs-operator OCSOP=$(oc get pod -n openshift-storage -o custom-columns=POD:.metadata.name --no-headers | grep ocs-operator) echo $OCSOP oc get pod/${OCSOP} -n openshift-storage oc describe pod/${OCSOP} -n openshift-storageIf you determine that the `ocs-operator`is in progress, wait for 5 mins and this alert should resolve itself. If you have waited or see a different error status condition, continue troubleshooting.
7.3.24. CephPGRepairTakingTooLong リンクのコピーリンクがクリップボードにコピーされました!
| Meaning | Self-healing operations are taking too long. |
| Impact | High |
Diagnosis
Check for inconsistent Placement Groups (PGs), and repair them. For more information, see the Red Hat Knowledgebase solution Handle Inconsistent Placement Groups in Ceph.
7.3.25. CephPoolQuotaBytesCriticallyExhausted リンクのコピーリンクがクリップボードにコピーされました!
| Meaning |
One or more pools has reached, or is very close to reaching, its quota. The threshold to trigger this error condition is controlled by the |
| Impact | High |
Mitigation
Adjust the pool quotas. Run the following commands to fully remove or adjust the pool quotas up or down:
ceph osd pool set-quota <pool> max_bytes <bytes>
ceph osd pool set-quota <pool> max_objects <objects>
Setting the quota value to 0 will disable the quota.
7.3.26. CephPoolQuotaBytesNearExhaustion リンクのコピーリンクがクリップボードにコピーされました!
| Meaning |
One or more pools is approaching a configured fullness threshold. One threshold that can trigger this warning condition is the |
| Impact | High |
Mitigation
Adjust the pool quotas. Run the following commands to fully remove or adjust the pool quotas up or down:
ceph osd pool set-quota <pool> max_bytes <bytes>
ceph osd pool set-quota <pool> max_objects <objects>
Setting the quota value to 0 will disable the quota.
7.3.27. OSDCPULoadHigh リンクのコピーリンクがクリップボードにコピーされました!
| Meaning | OSD is a critical component in Ceph storage, responsible for managing data placement and recovery. High CPU usage in the OSD container suggests increased processing demands, potentially leading to degraded storage performance. |
| Impact | High |
Diagnosis
- Navigate to the Kubernetes dashboard or equivalent.
- Access the Workloads section and select the relevant pod associated with the OSD alert.
- Click the Metrics tab to view CPU metrics for the OSD container.
- Verify that the CPU usage exceeds 80% over a significant period (as specified in the alert configuration).
Mitigation
If the OSD CPU usage is consistently high, consider taking the following steps:
- Evaluate the overall storage cluster performance and identify the OSDs contributing to high CPU usage.
- Increase the number of OSDs in the cluster by adding more new storage devices in the existing nodes or adding new nodes with new storage devices. Review the Scaling storage4 for instructions to help distribute the load and improve overall system performance.
7.3.28. PersistentVolumeUsageCritical リンクのコピーリンクがクリップボードにコピーされました!
| Meaning | A Persistent Volume Claim (PVC) is nearing its full capacity and may lead to data loss if not attended to timely. |
| Impact | High |
Mitigation
Expand the PVC size to increase the capacity.
- Log in to the OpenShift Web Console.
-
Click Storage
PersistentVolumeClaim. -
Select
openshift-storagefrom the Project drop-down list. -
On the PVC you want to expand, click Action menu (⋮)
Expand PVC. - Update the Total size to the desired size.
- Click Expand.
Alternatively, you can delete unnecessary data that may be taking up space.
7.3.29. PersistentVolumeUsageNearFull リンクのコピーリンクがクリップボードにコピーされました!
| Meaning | A Persistent Volume Claim (PVC) is nearing its full capacity and may lead to data loss if not attended to timely. |
| Impact | High |
Mitigation
Expand the PVC size to increase the capacity.
- Log in to the OpenShift Web Console.
-
Click Storage
PersistentVolumeClaim. -
Select
openshift-storagefrom the Project drop-down list. -
On the PVC you want to expand, click Action menu (⋮)
Expand PVC. - Update the Total size to the desired size.
- Click Expand.
Alternatively, you can delete unnecessary data that may be taking up space.