Hello,
I’m trying to delete a subnet (ocid1.subnet.oc1.iad.aaaaaaaaltbskupdcch4i7oa6nv342z5nji3ndy7rk6hitishly47b2nacwa
), but I'm receiving the following error:
The subnet ocid1.subnet.oc1.iad.aaaaaaaaltbskupdcch4i7oa6nv342z5nji3ndy7rk6hitishly47b2nacwa references the service VNIC ocid1.vnic.oc1.iad.abuwcljrc7vjyxkipz37g3wm624ohnwr5t4yxpbf4nl7mtmixdxkdspq3izq. You must remove the reference to proceed with this operation.
However, this VNIC (ocid1.vnic.oc1.iad.abuwcljrc7vjyxkipz37g3wm624ohnwr5t4yxpbf4nl7mtmixdxkdspq3izq
) belongs to a Kubernetes cluster (ocid1.cluster.oc1.iad.aaaaaaaai5duyo3bq4rqevdqhgcjbdujqsix3vuwtpsswyoubc7ha2veosiq
) that has already been deleted.
I’ve confirmed that:
- The cluster no longer exists.
- There are no active node pools or load balancers referencing the subnet.
- The VNIC is still in
AVAILABLE
state and blocking subnet deletion.
- The VNIC is not attached to any instance or LB I can delete manually.
There is no way to delete the VNIC directly via CLI, and I can’t disassociate it from the subnet.
Can someone from the Oracle team please help disassociate or delete this orphaned service VNIC, or suggest a way to resolve this so I can delete the subnet?
Thanks in advance.