Help Center/ Cloud Container Engine/ FAQs/ Cluster/ Cluster Deletion/ What Can I Do If a Cluster Deletion Fails Due to Residual Resources in the Security Group?
Updated on 2026-05-25 GMT+08:00

What Can I Do If a Cluster Deletion Fails Due to Residual Resources in the Security Group?

When deleting a cluster, CCE obtains the cluster's resources, such as the network interfaces or supplementary network interfaces bound to a CCE Turbo cluster through kube-apiserver of the cluster. If the cluster is unavailable, frozen, or hibernated, the resources may fail to be obtained, and the cluster may not be deleted.

Symptom

The cluster cannot be deleted, and the following error information is displayed:

Expected HTTP response code [200 202 204 404] when accessing [DELETE https://vpc.***.com/v2.0/security-groups/46311976-7743-4c7c-8249-ccd293bcae91], but got 409 instead {"code":"VPC.0602","message":"{\"NeutronError\":{\"message\": \"Security Group 46311976-7743-4c7c-8249-ccd293bcae91 in use.\",\"type\":\"SecurityGroupInUse\",\"detail\":\"\"}}"}

Possible Cause

The cluster's security group has undeleted resources, preventing its deletion and causing a cluster deletion failure.

Procedure

  1. Copy the resource ID in the error information, go to the Security Groups page of the VPC console, and obtain security groups by ID.

  2. Click the security group to view its details, and click the Associated Instances tab.

    Obtain other resources associated with the security group, such as network interfaces, supplementary network interfaces, and servers. You can delete the residual resources. The supplementary network interfaces will be automatically deleted.

  3. For a residual network interface, go to the Network Interfaces page and delete the network interface obtained in the previous step.

    You can search for the network interfaces to be deleted by IDs or names.

  4. Go to the Security Groups page and confirm that the security group is not associated with any instance. Then, go to the CCE console to delete the cluster.