Skip to content
This repository was archived by the owner on Jan 4, 2023. It is now read-only.

Build Issue when try to execute a ./_helpers/build-infra.sh  #125

@sganesanmuth

Description

@sganesanmuth

@jmound
Its failing when try to create a GKE clusters. Appreciate help on this issue.

Here is the detailed error message

Error: timeout while waiting for state to become 'success' (timeout: 1m0s)

│ with google_container_cluster.in_scope,
│ on clusters.tf line 19, in resource "google_container_cluster" "in_scope":
│ 19: resource "google_container_cluster" "in_scope" {



│ Error: timeout while waiting for state to become 'success' (timeout: 1m0s)

│ with google_container_cluster.out_of_scope,
│ on clusters.tf line 95, in resource "google_container_cluster" "out_of_scope":
│ 95: resource "google_container_cluster" "out_of_scope" {


---[ REQUEST ]---------------------------------------
POST /v1beta1/projects/prjoutscope/locations/us-central1/clusters?alt=json&prettyPrint=false HTTP/1.1
Host: container.googleapis.com
User-Agent: google-api-go-client/0.5 Terraform/1.0.5 (+https://www.terraform.io) Terraform-Plugin-SDK/2.5.0 terraform-provider-google-beta/3.81.0
Content-Length: 1438
Content-Type: application/json
X-Goog-Api-Client: gl-go/1.16.2 gdcl/20210606
Accept-Encoding: gzip

{
"cluster": {
"addonsConfig": {
"istioConfig": {
"disabled": true
}
},
"authenticatorGroupsConfig": {
"enabled": true,
"securityGroup": "gke-security-groups@mydomain.com"
},
"autopilot": {
"enabled": false
},
"autoscaling": {
"enableNodeAutoprovisioning": false
},
"binaryAuthorization": {
"enabled": false
},
"initialNodeCount": 1,
"ipAllocationPolicy": {
"clusterSecondaryRangeName": "out-of-scope-pod-cidr",
"servicesSecondaryRangeName": "out-of-scope-services-cidr",
"useIpAliases": true
},
"legacyAbac": {
"enabled": false
},
"maintenancePolicy": {
"window": {}
},
"masterAuthorizedNetworksConfig": {
"cidrBlocks": [
{
"cidrBlock": "0.0.0.0/0",
"displayName": "all"
}
],
"enabled": true
},
"name": "out-of-scope",
"network": "projects/prjnet/global/networks/shared-vpc",
"networkConfig": {},
"nodeConfig": {
"oauthScopes": [
"https://www.googleapis.com/auth/devstorage.read_only",
"https://www.googleapis.com/auth/logging.write",
"https://www.googleapis.com/auth/monitoring",
"https://www.googleapis.com/auth/service.management.readonly",
"https://www.googleapis.com/auth/servicecontrol",
"https://www.googleapis.com/auth/trace.append"
]
},
"notificationConfig": {
"pubsub": {}
},
"privateClusterConfig": {
"enablePrivateEndpoint": false,
"enablePrivateNodes": true,
"masterIpv4CidrBlock": "10.10.12.0/28"
},
"releaseChannel": {
"channel": "REGULAR"
},
"shieldedNodes": {
"enabled": true
},
"subnetwork": "projects/prjnet/regions/us-central1/subnetworks/out-of-scope",
"workloadIdentityConfig": {
"identityNamespace": "prjoutscope.svc.id.goog"
}
}
}

-----------------------------------------------------: timestamp=2021-08-31T10:50:35.531Z
2021-08-31T10:50:35.706Z [INFO] provider.terraform-provider-google-beta_v3.81.0_x5: 2021/08/31 10:50:35 [DEBUG] Google API Response Details:
---[ RESPONSE ]--------------------------------------
HTTP/2.0 500 Internal Server Error
Cache-Control: private
Content-Type: application/json; charset=UTF-8
Date: Tue, 31 Aug 2021 10:50:35 GMT
Server: ESF
Vary: Origin
Vary: X-Origin
Vary: Referer
X-Content-Type-Options: nosniff
X-Frame-Options: SAMEORIGIN
X-Xss-Protection: 0

{
"error": {
"code": 500,
"message": "Internal error encountered.",
"errors": [
{
"message": "Internal error encountered.",
"domain": "global",
"reason": "backendError"
}
],
"status": "INTERNAL"
}
}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions