Error: googleapi: Error 400: Master version "1.15.12-gke.9" is unsupported., badRequest

When I run the command:

docker run --rm -it \
    -v $PWD/gcloud:/root/.config/gcloud \
    -v $PWD/gpinstall:/workspace \
    eu.gcr.io/gitpod-io/self-hosted/installer:latest \
    gcp

I get the error “Error: googleapi: Error 400: Master version “1.15.12-gke.9” is unsupported., badRequest”. See full traceback below…

Plan: 42 to add, 0 to change, 0 to destroy.

Do you want to perform these actions?
  Terraform will perform the actions described above.
  Only 'yes' will be accepted to approve.
Enter a value: 

yes
module.kubernetes.random_password.kubernetes: Creating...
module.network.random_id.gitpod: Creating...
module.storage.random_id.gitpod_storage: Creating...
module.kubernetes.random_password.kubernetes: Creation complete after 0s [id=none]
module.network.random_id.gitpod: Creation complete after 0s [id=IKs]
module.kubernetes.random_id.gitpod_cluster: Creating...
module.registry.random_id.gitpod_registry: Creating...
module.registry.google_project_iam_custom_role.gitpod_registry: Creating...
module.kubernetes.random_id.gitpod_cluster: Creation complete after 0s [id=M3I]
module.registry.google_project_service.gitpod_registry: Creating...
module.registry.random_id.gitpod_registry: Creation complete after 0s [id=UrU]
module.network.google_project_service.project: Creating...
module.storage.random_id.gitpod_storage: Creation complete after 0s [id=CXU]
module.storage.google_project_service.gitpod_storage[0]: Creating...
module.kubernetes.google_project_service.container: Creating...
module.storage.google_project_service.gitpod_storage[1]: Creating...
module.storage.data.template_file.gitpod_storage_values: Reading...
module.registry.google_service_account.gitpod_registry: Creating...
module.kubernetes.google_service_account.gitpod_cluster: Creating...
module.storage.data.template_file.gitpod_storage_values: Read complete after 0s [id=7667db3de656eace3fb7245dea367b3204cff91e2febcb5fe80e2ee54653cc0d]
module.storage.google_project_iam_custom_role.gitpod_storage: Creating...
module.storage.google_service_account.gitpod_storage: Creating...
module.storage.google_service_account.gitpod_storage: Creation complete after 1s [id=projects/gitpod-300322/serviceAccounts/gitpod-workspace-syncer-0975@gitpod-300322.iam.gserviceaccount.com]
module.storage.google_service_account_key.gitpod_storage: Creating...
module.storage.google_project_iam_custom_role.gitpod_storage: Creation complete after 2s [id=projects/gitpod-300322/roles/gitpod.storage.0975]
module.storage.google_project_iam_binding.gitpod_storage: Creating...
module.registry.google_project_iam_custom_role.gitpod_registry: Creation complete after 2s [id=projects/gitpod-300322/roles/gitpod.registry]
module.registry.google_service_account.gitpod_registry: Creation complete after 2s [id=projects/gitpod-300322/serviceAccounts/gitpod-registry-52b5@gitpod-300322.iam.gserviceaccount.com]
module.registry.google_project_iam_binding.gitpod_registry: Creating...
module.registry.google_service_account_key.gitpod_registry: Creating...
module.kubernetes.google_service_account.gitpod_cluster: Creation complete after 2s [id=projects/gitpod-300322/serviceAccounts/gitpod-cluster-3372@gitpod-300322.iam.gserviceaccount.com]
module.kubernetes.google_project_iam_binding.gitpod_cluster[3]: Creating...
module.storage.google_service_account_key.gitpod_storage: Creation complete after 1s [id=projects/gitpod-300322/serviceAccounts/gitpod-workspace-syncer-0975@gitpod-300322.iam.gserviceaccount.com/keys/b9ddea5e8b3d62f204bfcb78366fc98104fdd5e8]
module.kubernetes.google_project_iam_binding.gitpod_cluster[2]: Creating...
module.registry.google_service_account_key.gitpod_registry: Creation complete after 1s [id=projects/gitpod-300322/serviceAccounts/gitpod-registry-52b5@gitpod-300322.iam.gserviceaccount.com/keys/47e8b329f2c68463bb23d35c7a240b25e6fb943c]
module.kubernetes.google_project_iam_binding.gitpod_cluster[1]: Creating...
module.storage.google_project_service.gitpod_storage[1]: Creation complete after 4s [id=gitpod-300322/storage-component.googleapis.com]
module.storage.google_project_service.gitpod_storage[0]: Creation complete after 4s [id=gitpod-300322/storage-api.googleapis.com]
module.kubernetes.google_project_iam_binding.gitpod_cluster[6]: Creating...
module.kubernetes.google_project_iam_binding.gitpod_cluster[0]: Creating...
module.registry.google_project_service.gitpod_registry: Still creating... [10s elapsed]
module.network.google_project_service.project: Still creating... [10s elapsed]
module.kubernetes.google_project_iam_binding.gitpod_cluster[0]: Creation complete after 6s [id=gitpod-300322/roles/clouddebugger.agent]
module.kubernetes.google_project_service.container: Still creating... [10s elapsed]
module.kubernetes.google_project_iam_binding.gitpod_cluster[8]: Creating...
module.kubernetes.google_project_iam_binding.gitpod_cluster[1]: Creation complete after 8s [id=gitpod-300322/roles/cloudtrace.agent]
module.kubernetes.google_project_iam_binding.gitpod_cluster[5]: Creating...
module.kubernetes.google_project_iam_binding.gitpod_cluster[2]: Creation complete after 9s [id=gitpod-300322/roles/errorreporting.writer]
module.kubernetes.google_project_iam_binding.gitpod_cluster[4]: Creating...
module.kubernetes.google_project_iam_binding.gitpod_cluster[3]: Creation complete after 9s [id=gitpod-300322/roles/logging.viewer]
module.kubernetes.google_project_iam_binding.gitpod_cluster[7]: Creating...
module.kubernetes.google_project_iam_binding.gitpod_cluster[6]: Creation complete after 8s [id=gitpod-300322/roles/monitoring.viewer]
module.registry.data.template_file.gitpod_registry_auth: Reading...
module.registry.data.template_file.gitpod_registry_auth: Read complete after 0s [id=c3edb5c24208808bbc4337bf37519e55c8ef038823b1763d2587604f9587a656]
module.storage.google_project_iam_binding.gitpod_storage: Still creating... [10s elapsed]
module.registry.google_project_iam_binding.gitpod_registry: Still creating... [10s elapsed]
module.storage.google_project_iam_binding.gitpod_storage: Creation complete after 10s [id=gitpod-300322/projects/gitpod-300322/roles/gitpod.storage.0975]
module.registry.google_project_iam_binding.gitpod_registry: Creation complete after 10s [id=gitpod-300322/projects/gitpod-300322/roles/gitpod.registry]
module.kubernetes.google_project_iam_binding.gitpod_cluster[5]: Creation complete after 8s [id=gitpod-300322/roles/monitoring.metricWriter]
module.kubernetes.google_project_iam_binding.gitpod_cluster[7]: Creation complete after 8s [id=gitpod-300322/roles/storage.admin]
module.kubernetes.google_project_iam_binding.gitpod_cluster[8]: Creation complete after 9s [id=gitpod-300322/roles/storage.objectAdmin]
module.kubernetes.google_project_iam_binding.gitpod_cluster[4]: Creation complete after 9s [id=gitpod-300322/roles/logging.logWriter]
module.registry.google_project_service.gitpod_registry: Still creating... [20s elapsed]
module.network.google_project_service.project: Still creating... [20s elapsed]
module.kubernetes.google_project_service.container: Still creating... [20s elapsed]
module.registry.google_project_service.gitpod_registry: Still creating... [30s elapsed]
module.network.google_project_service.project: Still creating... [30s elapsed]
module.kubernetes.google_project_service.container: Still creating... [30s elapsed]
module.registry.google_project_service.gitpod_registry: Still creating... [40s elapsed]
module.network.google_project_service.project: Still creating... [40s elapsed]
module.kubernetes.google_project_service.container: Still creating... [40s elapsed]
module.registry.google_project_service.gitpod_registry: Still creating... [50s elapsed]
module.network.google_project_service.project: Still creating... [50s elapsed]
module.kubernetes.google_project_service.container: Still creating... [50s elapsed]
module.registry.google_project_service.gitpod_registry: Still creating... [1m0s elapsed]
module.network.google_project_service.project: Still creating... [1m0s elapsed]
module.kubernetes.google_project_service.container: Still creating... [1m0s elapsed]
module.registry.google_project_service.gitpod_registry: Still creating... [1m10s elapsed]
module.network.google_project_service.project: Still creating... [1m10s elapsed]
module.kubernetes.google_project_service.container: Still creating... [1m10s elapsed]
module.registry.google_project_service.gitpod_registry: Still creating... [1m20s elapsed]
module.network.google_project_service.project: Still creating... [1m20s elapsed]
module.kubernetes.google_project_service.container: Still creating... [1m20s elapsed]
module.registry.google_project_service.gitpod_registry: Creation complete after 1m25s [id=gitpod-300322/containerregistry.googleapis.com]
module.network.google_project_service.project: Creation complete after 1m25s [id=gitpod-300322/compute.googleapis.com]
module.kubernetes.google_project_service.container: Creation complete after 1m25s [id=gitpod-300322/container.googleapis.com]
module.network.google_compute_address.gitpod: Creating...
module.network.google_compute_network.gitpod: Creating...
module.network.google_compute_address.gitpod: Still creating... [10s elapsed]
module.network.google_compute_network.gitpod: Still creating... [10s elapsed]
module.network.google_compute_address.gitpod: Creation complete after 12s [id=projects/gitpod-300322/regions/us-east1/addresses/gitpod-static-ip]
module.network.google_compute_network.gitpod: Still creating... [20s elapsed]
module.network.google_compute_network.gitpod: Still creating... [30s elapsed]
module.network.google_compute_network.gitpod: Creation complete after 31s [id=projects/gitpod-300322/global/networks/vpc-gitpod-20ab]
module.network.null_resource.done: Creating...
module.network.null_resource.done: Creation complete after 0s [id=3216251573083618778]
module.kubernetes.data.google_compute_network.gitpod: Reading...
module.kubernetes.google_container_cluster.gitpod: Creating...
module.kubernetes.data.google_compute_network.gitpod: Read complete after 1s [id=projects/gitpod-300322/global/networks/vpc-gitpod-20ab]

Error: googleapi: Error 400: Master version "1.15.12-gke.9" is unsupported., badRequest


!! 
!! terraform failed:
!! 	"exit status 1"
!!

This issue is fixed with https://github.com/gitpod-io/gitpod/pull/2217. We will publish a new release soon.

Thanks, after making the change in main.tf I’m not getting that error anymore.

1 Like