Hello,
I'm facing an issue with the deletion of the default VPC network (that is automatically created when a new project is created). We do not need a default network on our project.
The default network is not used by the project. When I deleted the default network from the gcloud console:
https://console.cloud.google.com/networking/networks/list
It failed with the following error:
Operation type [delete] failed with message "The network resource 'projects/rugged-abacus-218110/global/networks/default' is already being used by 'projects/rugged-abacus-218110/zones/europe-west2-b/instances/nbrt-7539272066822832128-p-europe-west2'"
I have checked compute instances, and we have none. I have checked other resources that could be using the network, but there doesn't appear to be any.
This has left the default network in an inconsistent state as it can't be deleted completely nor can it be restored.
Could you help please ?
Thank you
Hello @aatwal ,Welcome on Google Cloud Community.
Highly recommend to copy/paste this instance name at the Search field either at project or Org level. It should search through all resources and find anything related with provided name.
You can also use Asset Inventory and search resources from "RESOURCE" tab. IAM -> Asset Inventory -> RESOURCES
--
cheers,
DamianS
LinkedIn medium.com Cloudskillsboost
We are also having this issue with an instance with that naming pattern "nbrt-".
Neither the asset inventory nor the logs indicate that that VM ever existed in this project.
We are unable to delete a subnet because of this.
In my case it was a lingering VPC peering connection in my vpc. Once I deleted that I was able to delete the default VPC. "nbrt-" seem to refer to endpoints that are in the vpc for one reason or another.