github.com/1aal/kubeblocks@v0.0.0-20231107070852-e1c03e598921/docs/user_docs/handle-an-exception/handle-a-cluster-exception.md (about)

     1  ---
     2  title: Handle a cluster exception
     3  description: How to handle an exception in a cluster
     4  keywords: [cluster exception]
     5  sidebar_position: 1
     6  sidebar_label: Handle an exception
     7  ---
     8  
     9  # Handle an exception
    10  
    11  When an exception occurs during your operation, you can perform the following steps to solve it.
    12  
    13  ## Steps
    14  
    15  1. Check the cluster status.
    16  
    17      ```bash
    18      kbcli cluster list mycluster
    19      ```
    20  
    21  2. Handle the exception according to the status information.
    22  
    23      | **Status**       | **Information** |
    24      | :---             | :---            |
    25      | Abnormal         | The cluster can be accessed but exceptions occur in some pods. This might be a mediate status of the operation process and the system recovers automatically without executing any extra operation. Wait until the cluster status changes to `Running`. |
    26      | ConditionsError  | The cluster is normal but an exception occurs to the condition. It might be caused by configuration loss or exception, which further leads to operation failure. Manual recovery is required. |
    27      | Failed | The cluster cannot be accessed. Check the `status.message` string and get the exception reason. Then manually recover it according to the hints. |
    28  
    29      You can check the cluster's status for more information.
    30  
    31  ## Fallback strategies
    32  
    33  If the above operations can not solve the problem, try the following steps:
    34  
    35  - Restart this cluster. If the restart fails, you can delete the pod manually.
    36  - Roll the cluster status back to the status before changes.