无法终止Oracle Cloud上的子网

发布于 2025-01-30 03:11:24 字数 450 浏览 4 评论 0 原文

I am trying to terminate a subnet on oracle cloud but I get this issue:

The Subnet ocid1.subnet.oc1.iad.aaaaaaaaxzhssdvwh4pc2pk7uwpyokeluklqkdqcjnsib7idmdp7wkh7o5iq references the VNIC ocid1.vnic.oc1.iad.abuwcljs2ggk7yk4fpvvytdt74ya7wolg3xwoz4nauryrifd3dl4t4cfbonq.您必须删除参考以进行此操作。

我找不到如何删除VNIC参考。 thx

oracle cloud vcn vcn essue

I am trying to terminate a subnet on oracle cloud but I get this issue:

The Subnet ocid1.subnet.oc1.iad.aaaaaaaaxzhssdvwh4pc2pk7uwpyokeluklqkdqcjnsib7idmdp7wkh7o5iq references the VNIC ocid1.vnic.oc1.iad.abuwcljs2ggk7yk4fpvvytdt74ya7wolg3xwoz4nauryrifd3dl4t4cfbonq. You must remove the reference to proceed with this operation.

I haven't been able to find out how to remove the VNIC reference.
Thx

oracle cloud vcn issue

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

黯淡〆 2025-02-06 03:11:24

终于弄清楚了,

我已经弄清楚了。使用我所使用的Oracle云的免费层的缺点是,您不会从Oracle获得任何支持。

解决问题的步骤:

  1. 删除/终止与虚拟云网络关联的Internet网关
  2. 还删除/终止与VCN/虚拟云网络关联的服务网关
  3. 终止NAT网关
  4. 删除安全列表)
  5. 删除路由表(默认路由表可以保留)
  6. 终止与子网关联的负载平衡器,
  7. 您可以最终终止子网
  8. ,终止VCN

有用的链接:您的设置与文档中显示的方式不同。

FINALLY FIGURED IT OUT

I have figured it out. The disadvantage of using the free tier of Oracle Cloud that I am on is that you don't get any support from Oracle.

steps taken to solve the issue:

  1. delete/terminate the internet gateway associated with the Virtual Cloud Network
  2. also delete/terminate the service gateway associated with the VCN/Virtual Cloud Network
  3. terminate the NAT Gateway
  4. remove security lists (you can leave the default security list on)
  5. remove route tables (default route table can stay on)
  6. terminate the load balancer associated with the subnet
  7. NOW you can terminate the subnet
  8. finally, terminate the VCN

helpful links: (these links will help but you might have to figure some of it out if you set up your VCN differently than how it is shown in the docs.
https://docs.oracle.com/en-us/iaas/Content/Network/Troubleshoot/subnetdelete.htm
https://docs.oracle.com/en-us/iaas/Content/File/Troubleshooting/orphanedmounttarget.htm#Cannot_Delete_VCN_Mount_Target_VNIC_Still_Attached

倾`听者〃 2025-02-06 03:11:24

我遇到了同样的问题,并手动删除了VNC下的所有资源,对我没有帮助。无法找到参考和vnic在哪里。然后我想起,我一直在VNC的子网之一下使用Cloudshell的私人网络。一旦我停止将该网络用于Cloudshell,就可以删除VNC。

I had the same issue and removing all resources under the VNC manually, did not help me. No way to find the reference and where the VNIC is. Then I remembered that I had been using cloudshell's private network under the one of subnets of VNC. Once I stopped using that network for cloudshell, then I can delete the VNC.

回忆追雨的时光 2025-02-06 03:11:24

顺便说一句,我也有这个错误。经历了尝试终止路线表的行动,但无法做到。发现VNIC和路由表与VM基本相关。一旦我终止VM并清理了任何路由规则,就没有终止VCN的问题。

BTW I too got this error. Went through the exercise of trying to Terminate the route tables and wasn't able to. Figured out that the VNIC and route tables were essentially related to a VM. Once I terminated the VM and cleaned up any routing rules there was no issue terminating the VCN.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文