
# 集群删除失败：共享VPC被取消
#### 问题现象
集群删除失败，信息如下：
```
delete failed after 5 retry times: wait dependencies failed: dependency failed: vpc-eni-port|***, reason: delete failed: {"code":"vpc-eni-port|***","action":"Eni:DetachPort:Error","message":"dettach port *** to server *** failed: Expected HTTP response code [200 201 202 203 204] when accessing [POST https://ecs.***.huawei.com/v1/***/cloudservers/***/nics/delete], but got 400 instead\n{\"error\":{\"message\":\"Failed to view the network: {\\\"NeutronError\\\":{\\\"message\\\":\\\"Network ***SubnetID** could not be found.\\\",\\\"type\\\":\\\"NetworkNotFound\\\",\\\"detail\\\":\\\"\\\"}}\",\"code\":\"Ecs.0310\"}}"};CloudService=CCE,Service=S-CCE
```
#### 问题根因
由于该集群创建时使用其他账号共享的VPC和子网，在共享者取消共享后，该账号权限无法查看之前共享的VPC和子网，从而导致删除集群失败。
关于使用共享VPC创建集群的说明请参考[使用共享VPC创建CCE Turbo集群](https://support.huaweicloud.com/bestpractice-cce/cce_bestpractice_10023.html)。
#### 解决方案
您可以让取消共享的账号重新共享该VPC和子网，子网ID见删除集群报错信息里的"Network \*\*\* could not be found"，如果您不确定共享者账号，可以提工单咨询。
待共享者重新共享该VPC和子网，再次尝试删除集群即可删除成功。
重新共享VPC和子网的操作步骤请参考[将VPC子网共享给其他账号](https://support.huaweicloud.com/usermanual-vpc/vpc_share_0002.html)。
