forked from docs/doc-exports
Reviewed-by: Eotvos, Oliver <oliver.eotvos@t-systems.com> Co-authored-by: Dong, Qiu Jian <qiujiandong1@huawei.com> Co-committed-by: Dong, Qiu Jian <qiujiandong1@huawei.com>
26 lines
3.2 KiB
HTML
26 lines
3.2 KiB
HTML
<a name="cce_faq_00394"></a><a name="cce_faq_00394"></a>
|
|
|
|
<h1 class="topictitle1">What Can I Do If a Cluster Deletion Fails Due to Residual Resources in the Security Group?</h1>
|
|
<div id="body0000001121777590"><p id="cce_faq_00394__p199829119495">When deleting a cluster, CCE obtains the cluster's resources 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.</p>
|
|
<div class="section" id="cce_faq_00394__section1087514110482"><h4 class="sectiontitle">Symptom</h4><p id="cce_faq_00394__p1857582975020">The cluster cannot be deleted, and the following error information is displayed:</p>
|
|
<pre class="screen" id="cce_faq_00394__screen17100121313177">Expected HTTP response code [200 202 204 404] when accessing [DELETE https://vpc.xxx.com/v2.0/security-groups/46311976-7743-4c7c-8249-ccd293bcae91], but got 409 instead {"code":"VPC.0602","message":"{\"NeutronError\":{\"message\": \"<strong id="cce_faq_00394__b5873039205010">Security Group <i><span class="varname" id="cce_faq_00394__varname193721508507">46311976-7743-4c7c-8249-ccd293bcae91</span></i> in use.</strong>\",\"type\":\"<strong id="cce_faq_00394__b181251931175019">SecurityGroupInUse</strong>\",\"detail\":\"\"}}"}</pre>
|
|
</div>
|
|
<div class="section" id="cce_faq_00394__section4123858154820"><h4 class="sectiontitle">Possible Causes</h4><p id="cce_faq_00394__p112151516511">The cluster's security group has undeleted resources, preventing its deletion and causing the creation of the cluster to fail.</p>
|
|
</div>
|
|
<div class="section" id="cce_faq_00394__section2175452497"><h4 class="sectiontitle">Procedure</h4><ol id="cce_faq_00394__ol188214012520"><li id="cce_faq_00394__li18821140105218"><span>Copy the resource ID in the error information, go to the <strong id="cce_faq_00394__b159867442610">Security Groups</strong> page of the VPC console, and obtain security groups by ID.</span><p><p id="cce_faq_00394__p19906445175213"></p>
|
|
<p id="cce_faq_00394__p338211421502"></p>
|
|
<p id="cce_faq_00394__p052412540460"></p>
|
|
</p></li><li id="cce_faq_00394__li98217403521"><span>Click the security group to view its details, and click the <strong id="cce_faq_00394__b2112558162411">Associated Instances</strong> tab.</span><p><p id="cce_faq_00394__p8757203319544"></p>
|
|
<p id="cce_faq_00394__p88295416591">Obtain other resources associated with the security group, such as servers, ENIs, and sub-ENIs. You can delete residual resources. The sub ENIs will be automatically deleted.</p>
|
|
<p id="cce_faq_00394__p2439153514558"></p>
|
|
</p></li><li id="cce_faq_00394__li2784027583"><span>For a residual ENI, go to the <strong id="cce_faq_00394__b0978491047">Network Interfaces</strong> page and delete the ENI obtained in the previous step.</span><p><p id="cce_faq_00394__p175285619554"></p>
|
|
</p></li><li id="cce_faq_00394__li91001954185512"><span>Go to the <strong id="cce_faq_00394__b528604385317">Security Groups</strong> page to confirm that the security group is not associated with any instance. Then, go to the CCE console to delete the cluster.</span></li></ol>
|
|
</div>
|
|
</div>
|
|
<div>
|
|
<div class="familylinks">
|
|
<div class="parentlink"><strong>Parent topic:</strong> <a href="cce_faq_00309.html">Cluster Deletion</a></div>
|
|
</div>
|
|
</div>
|
|
|