core icon indicating copy to clipboard operation
core copied to clipboard

Error 400: Project "xxxx-xxx-xxxxxx" has no network named "default".

Open eastflag opened this issue 1 year ago • 1 comments

The following error occurred while running the ./run-install.sh $PROJECT-ID in google cloud shell.

Error: googleapi: Error 400: Project "xxxx-xxx-xxxxxx" has no network named "default".
Details:

[
  {
    "@type": "type.googleapis.com/google.rpc.RequestInfo",
    "requestId": "0xddec4f552739326d"
  }
]

, badRequest

  on cluster.tf line 13, in resource "google_container_cluster" "cloud-robotics":
  13: resource "google_container_cluster" "cloud-robotics" {


terraform apply failed

eastflag avatar Feb 21 '24 01:02 eastflag

Looks like some GC default changed. Googling for the error lead me to: https://cloud.google.com/anthos-config-management/docs/how-to/troubleshoot-config-controller

If you run:

gcloud compute networks create default --subnet-mode=auto

and then retry, does that help?

ensonic avatar Feb 21 '24 13:02 ensonic