Thursday, November 12, 2020

[google-cloud-sql-discuss] Unable to delete instance group

I tried to delete and instance group from console and it stuck and shows that i have a backend service still using that.
I have then removed the backend service from loadbalancer but the delete of instance group keep spinning there forever.

i tried to do the following from gcloud

 gcloud compute instance-groups managed delete group-xxxxx

and i got this 
- The resource 'projects/xxxxx/zones/asia-east1-a/instanceGroupManagers/group-xxxxx' was not found

when i do gcloud compute instance-groups list, the group is still there

then i tried
gcloud compute instance-groups managed create group-xxxxx --zone asia-east1-a --template web-e2-standard-4 --size 1

i got 
- The resource 'projects/xxxxx/zones/asia-east1-a/instanceGroupManagers/group-xxxxx' already exists

Any idea how i can get rid of this instance group?


--
You received this message because you are subscribed to the Google Groups "Google Cloud SQL discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to google-cloud-sql-discuss+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/google-cloud-sql-discuss/9c175156-931e-4103-8c50-2dced5d3d574n%40googlegroups.com.

No comments:

Post a Comment