How Do I Rectify the Fault When the Cluster Status Is Unavailable?
If the cluster is Unavailable, perform the following operations to rectify the fault:
Fault Locating
Troubleshooting methods are sorted based on the occurrence probability of the possible causes. You are advised to check the possible causes from high probability to low probability to quickly locate the cause of the problem.
If the fault persists after a possible cause is rectified, check other possible causes.
- Check Item 1: Whether the Security Group Is Modified
- Check Item 2: Whether There Are Residual Listeners and Backend Server Groups on the Load Balancer
Check Item 1: Whether the Security Group Is Modified
- Log in to the HUAWEI CLOUD management console, choose Service List > Network > Virtual Private Cloud. In the navigation pane, choose Access Control > Security Groups to find the security group of the master node in the cluster. The name of this security group is in the format of Cluster name-cce-control-ID, as shown in Figure 2.
- Click the security group. On the details page that is displayed, ensure that the security group rules of the master node are the same as those marked by the red frames in the following figure. Figure 3 Viewing inbound rules of the security group
Inbound rule parameter description:
- 4789: used for network access between containers.
- 5443-5444: used by kubelet of the node to listen to kube-api of the master node.
- 9443: used by canal of the node to listen to canal-api of the master node.
- 8445: used by storage_driver of the node to access csms-storagemgr of the master node.
Figure 4 Viewing outbound rules of the security group
Check Item 2: Whether There Are Residual Listeners and Backend Server Groups on the Load Balancer
Reproducing the Problem
A cluster exception occurs when a LoadBalancer Service is being created or deleted. After the fault is rectified, the Service is deleted successfully, but there are residual listeners and backend server group.
- Pre-create a CCE cluster. In the cluster, use the official Nginx image to create workloads, preset load balancers, Services, and ingresses.
- Ensure that the cluster is running properly and the Nginx workload is stable.
- Create and delete 10 LoadBalancer Services every 20 seconds.
- An injection exception occurs in the cluster. For example, the etcd pod is unavailable or the cluster is hibernated.
Possible Cause
There are residual listeners and backend server groups on the load balancer.
Solution
Manually clear residual listeners and backend server groups.
- Log in to the management console and choose Network > Elastic Load Balance from the service list.
- In the load balancer list, click the name of the target load balancer to go to the details page. On the Listeners tab page, locate the target listener and delete it.
- On the Backend Server Groups tab page, locate the target backend server group and delete it.

Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.