Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

gke creation terraform crash #4023

Closed
ghost opened this issue Jul 14, 2019 · 2 comments
Closed

gke creation terraform crash #4023

ghost opened this issue Jul 14, 2019 · 2 comments

Comments

@ghost
Copy link

ghost commented Jul 14, 2019

This issue was originally opened by @idiot4 as hashicorp/terraform#22060. It was migrated here as a result of the provider split. The original body of the issue is below.


Terraform Version

Terraform v0.12.2
+ provider.google v2.9.1

Your version of Terraform is out of date! The latest version
is 0.12.4. You can update by downloading from www.terraform.io/downloads.html

Terraform Configuration Files


# Enable Kubernetes Engine API for the project.
resource "google_project_service" "kubernetes" {
  project = "${var.gcp_project}"
  service = "container.googleapis.com"
}

# Manages a Google Kubernetes Engine (GKE) cluster.
resource "google_container_cluster" "kubernetes" {
  name = "${var.cluster1}"
  location    = "${var.region}-a"
  network     = "${var.name}-vpc"
  subnetwork  = "${google_compute_subnetwork.subnet1.name}"

  # Waits for Kubernetes Engine API to be enabled
  depends_on = ["google_project_service.kubernetes"]

  # Disable basic auth
  remove_default_node_pool = true
  initial_node_count = 3

  master_auth {
    username = ""
    password = ""

    client_certificate_config {
      issue_client_certificate = false
    }
  }
}
resource "google_container_node_pool" "primary_nodes" {
  name       = "my-first-node-pool"
  location   = "${var.region}-a"
  cluster    = "${google_container_cluster.kubernetes.name}"
  node_count = 3

  node_config {
    preemptible  = false
    machine_type = "n1-standard-1"

    metadata = {
      disable-legacy-endpoints = "true"
    }

    oauth_scopes = [
      "https://www.googleapis.com/auth/logging.write",
      "https://www.googleapis.com/auth/monitoring",
    ]
  
  # Tags are used to identify valid sources or targets for network firewalls.
    tags = ["firstcluster"]

  }
}
   

Debug Output

Crash Output

2019/07/13 11:12:13 [TRACE] dag/walk: vertex "root" is waiting for "meta.count-boundary (EachMode fixup)"
2019-07-13T11:12:14.508+0100 [DEBUG] plugin.terraform-provider-google_v2.9.1_x4: 2019/07/13 11:12:14 [DEBUG] Waiting for state to become: [success]
2019-07-13T11:12:14.538+0100 [DEBUG] plugin.terraform-provider-google_v2.9.1_x4: 2019/07/13 11:12:14 [DEBUG] Got DONE while polling for operation operation-1563012539817-38401318's status
2019-07-13T11:12:14.538+0100 [DEBUG] plugin.terraform-provider-google_v2.9.1_x4: 2019/07/13 11:12:14 [INFO] GKE cluster firstgke has been created
2019-07-13T11:12:14.538+0100 [DEBUG] plugin.terraform-provider-google_v2.9.1_x4: 2019/07/13 11:12:14 [DEBUG] Waiting for state to become: [success]
2019-07-13T11:12:14.584+0100 [DEBUG] plugin.terraform-provider-google_v2.9.1_x4: 2019/07/13 11:12:14 [DEBUG] Waiting for state to become: [DONE]
2019-07-13T11:12:14.584+0100 [DEBUG] plugin.terraform-provider-google_v2.9.1_x4: 2019/07/13 11:12:14 [DEBUG] Waiting for state to become: [success]
2019-07-13T11:12:14.615+0100 [DEBUG] plugin.terraform-provider-google_v2.9.1_x4: 2019/07/13 11:12:14 [DEBUG] Got RUNNING while polling for operation operation-1563012734567-2c5ea989's status
2019-07-13T11:12:14.615+0100 [DEBUG] plugin.terraform-provider-google_v2.9.1_x4: 2019/07/13 11:12:14 [TRACE] Waiting 2s before next try
2019-07-13T11:12:16.615+0100 [DEBUG] plugin.terraform-provider-google_v2.9.1_x4: 2019/07/13 11:12:16 [DEBUG] Waiting for state to become: [success]
2019-07-13T11:12:16.647+0100 [DEBUG] plugin.terraform-provider-google_v2.9.1_x4: 2019/07/13 11:12:16 [DEBUG] Got RUNNING while polling for operation operation-1563012734567-2c5ea989's status
2019-07-13T11:12:16.647+0100 [DEBUG] plugin.terraform-provider-google_v2.9.1_x4: 2019/07/13 11:12:16 [TRACE] Waiting 4s before next try
2019/07/13 11:12:17 [TRACE] dag/walk: vertex "provider.google (close)" is waiting for "google_container_node_pool.primary_nodes"
2019/07/13 11:12:17 [TRACE] dag/walk: vertex "meta.count-boundary (EachMode fixup)" is waiting for "google_container_node_pool.primary_nodes"
2019/07/13 11:12:18 [TRACE] dag/walk: vertex "root" is waiting for "meta.count-boundary (EachMode fixup)"
2019/07/13 11:12:18 [TRACE] dag/walk: vertex "google_container_node_pool.primary_nodes" is waiting for "google_container_cluster.kubernetes"
2019-07-13T11:12:20.647+0100 [DEBUG] plugin.terraform-provider-google_v2.9.1_x4: 2019/07/13 11:12:20 [DEBUG] Waiting for state to become: [success]
2019-07-13T11:12:20.675+0100 [DEBUG] plugin.terraform-provider-google_v2.9.1_x4: 2019/07/13 11:12:20 [DEBUG] Got RUNNING while polling for operation operation-1563012734567-2c5ea989's status
2019-07-13T11:12:20.675+0100 [DEBUG] plugin.terraform-provider-google_v2.9.1_x4: 2019/07/13 11:12:20 [TRACE] Waiting 8s before next try
2019/07/13 11:12:22 [TRACE] dag/walk: vertex "meta.count-boundary (EachMode fixup)" is waiting for "google_container_node_pool.primary_nodes"
2019/07/13 11:12:22 [TRACE] dag/walk: vertex "provider.google (close)" is waiting for "google_container_node_pool.primary_nodes"
2019/07/13 11:12:23 [TRACE] dag/walk: vertex "google_container_node_pool.primary_nodes" is waiting for "google_container_cluster.kubernetes"
2019/07/13 11:12:23 [TRACE] dag/walk: vertex "root" is waiting for "meta.count-boundary (EachMode fixup)"
2019/07/13 11:12:27 [TRACE] dag/walk: vertex "provider.google (close)" is waiting for "google_container_node_pool.primary_nodes"
2019/07/13 11:12:27 [TRACE] dag/walk: vertex "meta.count-boundary (EachMode fixup)" is waiting for "google_container_node_pool.primary_nodes"
2019/07/13 11:12:28 [TRACE] dag/walk: vertex "root" is waiting for "meta.count-boundary (EachMode fixup)"
2019/07/13 11:12:28 [TRACE] dag/walk: vertex "google_container_node_pool.primary_nodes" is waiting for "google_container_cluster.kubernetes"
2019-07-13T11:12:28.675+0100 [DEBUG] plugin.terraform-provider-google_v2.9.1_x4: 2019/07/13 11:12:28 [DEBUG] Waiting for state to become: [success]
2019-07-13T11:12:28.709+0100 [DEBUG] plugin.terraform-provider-google_v2.9.1_x4: 2019/07/13 11:12:28 [DEBUG] Got RUNNING while polling for operation operation-1563012734567-2c5ea989's status
2019-07-13T11:12:28.709+0100 [DEBUG] plugin.terraform-provider-google_v2.9.1_x4: 2019/07/13 11:12:28 [TRACE] Waiting 10s before next try
2019/07/13 11:12:32 [TRACE] dag/walk: vertex "meta.count-boundary (EachMode fixup)" is waiting for "google_container_node_pool.primary_nodes"
2019/07/13 11:12:32 [TRACE] dag/walk: vertex "provider.google (close)" is waiting for "google_container_node_pool.primary_nodes"
2019/07/13 11:12:33 [TRACE] dag/walk: vertex "google_container_node_pool.primary_nodes" is waiting for "google_container_cluster.kubernetes"
2019/07/13 11:12:33 [TRACE] dag/walk: vertex "root" is waiting for "meta.count-boundary (EachMode fixup)"
2019/07/13 11:12:37 [TRACE] dag/walk: vertex "provider.google (close)" is waiting for "google_container_node_pool.primary_nodes"
2019/07/13 11:12:37 [TRACE] dag/walk: vertex "meta.count-boundary (EachMode fixup)" is waiting for "google_container_node_pool.primary_nodes"
2019/07/13 11:12:38 [TRACE] dag/walk: vertex "root" is waiting for "meta.count-boundary (EachMode fixup)"
2019/07/13 11:12:38 [TRACE] dag/walk: vertex "google_container_node_pool.primary_nodes" is waiting for "google_container_cluster.kubernetes"
2019-07-13T11:12:38.709+0100 [DEBUG] plugin.terraform-provider-google_v2.9.1_x4: 2019/07/13 11:12:38 [DEBUG] Waiting for state to become: [success]
2019-07-13T11:12:38.748+0100 [DEBUG] plugin.terraform-provider-google_v2.9.1_x4: 2019/07/13 11:12:38 [DEBUG] Got RUNNING while polling for operation operation-1563012734567-2c5ea989's status
2019-07-13T11:12:38.748+0100 [DEBUG] plugin.terraform-provider-google_v2.9.1_x4: 2019/07/13 11:12:38 [TRACE] Waiting 10s before next try
2019/07/13 11:12:42 [TRACE] dag/walk: vertex "meta.count-boundary (EachMode fixup)" is waiting for "google_container_node_pool.primary_nodes"
2019/07/13 11:12:42 [TRACE] dag/walk: vertex "provider.google (close)" is waiting for "google_container_node_pool.primary_nodes"
2019/07/13 11:12:43 [TRACE] dag/walk: vertex "google_container_node_pool.primary_nodes" is waiting for "google_container_cluster.kubernetes"
2019/07/13 11:12:43 [TRACE] dag/walk: vertex "root" is waiting for "meta.count-boundary (EachMode fixup)"
2019/07/13 11:12:47 [TRACE] dag/walk: vertex "provider.google (close)" is waiting for "google_container_node_pool.primary_nodes"
2019/07/13 11:12:47 [TRACE] dag/walk: vertex "meta.count-boundary (EachMode fixup)" is waiting for "google_container_node_pool.primary_nodes"
2019/07/13 11:12:48 [TRACE] dag/walk: vertex "root" is waiting for "meta.count-boundary (EachMode fixup)"
2019/07/13 11:12:48 [TRACE] dag/walk: vertex "google_container_node_pool.primary_nodes" is waiting for "google_container_cluster.kubernetes"
2019-07-13T11:12:48.748+0100 [DEBUG] plugin.terraform-provider-google_v2.9.1_x4: 2019/07/13 11:12:48 [DEBUG] Waiting for state to become: [success]
2019-07-13T11:12:48.778+0100 [DEBUG] plugin.terraform-provider-google_v2.9.1_x4: 2019/07/13 11:12:48 [DEBUG] Got RUNNING while polling for operation operation-1563012734567-2c5ea989's status
2019-07-13T11:12:48.778+0100 [DEBUG] plugin.terraform-provider-google_v2.9.1_x4: 2019/07/13 11:12:48 [TRACE] Waiting 10s before next try
2019/07/13 11:12:52 [TRACE] dag/walk: vertex "meta.count-boundary (EachMode fixup)" is waiting for "google_container_node_pool.primary_nodes"
2019/07/13 11:12:52 [TRACE] dag/walk: vertex "provider.google (close)" is waiting for "google_container_node_pool.primary_nodes"
2019/07/13 11:12:53 [TRACE] dag/walk: vertex "google_container_node_pool.primary_nodes" is waiting for "google_container_cluster.kubernetes"
2019/07/13 11:12:53 [TRACE] dag/walk: vertex "root" is waiting for "meta.count-boundary (EachMode fixup)"
2019/07/13 11:12:57 [TRACE] dag/walk: vertex "provider.google (close)" is waiting for "google_container_node_pool.primary_nodes"
2019/07/13 11:12:57 [TRACE] dag/walk: vertex "meta.count-boundary (EachMode fixup)" is waiting for "google_container_node_pool.primary_nodes"
2019/07/13 11:12:58 [TRACE] dag/walk: vertex "root" is waiting for "meta.count-boundary (EachMode fixup)"
2019/07/13 11:12:58 [TRACE] dag/walk: vertex "google_container_node_pool.primary_nodes" is waiting for "google_container_cluster.kubernetes"
2019-07-13T11:12:58.779+0100 [DEBUG] plugin.terraform-provider-google_v2.9.1_x4: 2019/07/13 11:12:58 [DEBUG] Waiting for state to become: [success]
2019-07-13T11:12:58.813+0100 [DEBUG] plugin.terraform-provider-google_v2.9.1_x4: 2019/07/13 11:12:58 [DEBUG] Got RUNNING while polling for operation operation-1563012734567-2c5ea989's status
2019-07-13T11:12:58.813+0100 [DEBUG] plugin.terraform-provider-google_v2.9.1_x4: 2019/07/13 11:12:58 [TRACE] Waiting 10s before next try
2019/07/13 11:13:02 [TRACE] dag/walk: vertex "meta.count-boundary (EachMode fixup)" is waiting for "google_container_node_pool.primary_nodes"
2019/07/13 11:13:02 [TRACE] dag/walk: vertex "provider.google (close)" is waiting for "google_container_node_pool.primary_nodes"
2019/07/13 11:13:03 [TRACE] dag/walk: vertex "google_container_node_pool.primary_nodes" is waiting for "google_container_cluster.kubernetes"
2019/07/13 11:13:03 [TRACE] dag/walk: vertex "root" is waiting for "meta.count-boundary (EachMode fixup)"
2019/07/13 11:13:07 [TRACE] dag/walk: vertex "provider.google (close)" is waiting for "google_container_node_pool.primary_nodes"
2019/07/13 11:13:07 [TRACE] dag/walk: vertex "meta.count-boundary (EachMode fixup)" is waiting for "google_container_node_pool.primary_nodes"
2019/07/13 11:13:08 [TRACE] dag/walk: vertex "root" is waiting for "meta.count-boundary (EachMode fixup)"
2019/07/13 11:13:08 [TRACE] dag/walk: vertex "google_container_node_pool.primary_nodes" is waiting for "google_container_cluster.kubernetes"
2019-07-13T11:13:08.815+0100 [DEBUG] plugin.terraform-provider-google_v2.9.1_x4: 2019/07/13 11:13:08 [DEBUG] Waiting for state to become: [success]
2019-07-13T11:13:08.846+0100 [DEBUG] plugin.terraform-provider-google_v2.9.1_x4: 2019/07/13 11:13:08 [DEBUG] Got RUNNING while polling for operation operation-1563012734567-2c5ea989's status
2019-07-13T11:13:08.846+0100 [DEBUG] plugin.terraform-provider-google_v2.9.1_x4: 2019/07/13 11:13:08 [TRACE] Waiting 10s before next try
2019/07/13 11:13:12 [TRACE] dag/walk: vertex "meta.count-boundary (EachMode fixup)" is waiting for "google_container_node_pool.primary_nodes"
2019/07/13 11:13:12 [TRACE] dag/walk: vertex "provider.google (close)" is waiting for "google_container_node_pool.primary_nodes"
2019/07/13 11:13:13 [TRACE] dag/walk: vertex "google_container_node_pool.primary_nodes" is waiting for "google_container_cluster.kubernetes"
2019/07/13 11:13:13 [TRACE] dag/walk: vertex "root" is waiting for "meta.count-boundary (EachMode fixup)"
2019/07/13 11:13:17 [TRACE] dag/walk: vertex "provider.google (close)" is waiting for "google_container_node_pool.primary_nodes"
2019/07/13 11:13:17 [TRACE] dag/walk: vertex "meta.count-boundary (EachMode fixup)" is waiting for "google_container_node_pool.primary_nodes"
2019/07/13 11:13:18 [TRACE] dag/walk: vertex "root" is waiting for "meta.count-boundary (EachMode fixup)"
2019/07/13 11:13:18 [TRACE] dag/walk: vertex "google_container_node_pool.primary_nodes" is waiting for "google_container_cluster.kubernetes"
2019-07-13T11:13:18.846+0100 [DEBUG] plugin.terraform-provider-google_v2.9.1_x4: 2019/07/13 11:13:18 [DEBUG] Waiting for state to become: [success]
2019-07-13T11:13:18.875+0100 [DEBUG] plugin.terraform-provider-google_v2.9.1_x4: 2019/07/13 11:13:18 [DEBUG] Got DONE while polling for operation operation-1563012734567-2c5ea989's status
2019-07-13T11:13:18.875+0100 [DEBUG] plugin.terraform-provider-google_v2.9.1_x4: 2019/07/13 11:13:18 [DEBUG] Waiting for state to become: [success]
2019-07-13T11:13:18.906+0100 [DEBUG] plugin.terraform-provider-google_v2.9.1_x4: 2019/07/13 11:13:18 [DEBUG] Unlocking "google-container-cluster/gifted-object-243908/europe-west2-a/firstgke"
2019-07-13T11:13:18.906+0100 [DEBUG] plugin.terraform-provider-google_v2.9.1_x4: 2019/07/13 11:13:18 [DEBUG] Unlocked "google-container-cluster/gifted-object-243908/europe-west2-a/firstgke"
2019-07-13T11:13:18.909+0100 [DEBUG] plugin.terraform-provider-google_v2.9.1_x4: panic: runtime error: invalid memory address or nil pointer dereference
2019-07-13T11:13:18.909+0100 [DEBUG] plugin.terraform-provider-google_v2.9.1_x4: [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x17a10ea]
2019-07-13T11:13:18.909+0100 [DEBUG] plugin.terraform-provider-google_v2.9.1_x4:
2019-07-13T11:13:18.909+0100 [DEBUG] plugin.terraform-provider-google_v2.9.1_x4: goroutine 156 [running]:
2019-07-13T11:13:18.909+0100 [DEBUG] plugin.terraform-provider-google_v2.9.1_x4: github.com/terraform-providers/terraform-provider-google/google.flattenMaintenancePolicy(...)
2019-07-13T11:13:18.910+0100 [DEBUG] plugin.terraform-provider-google_v2.9.1_x4: /opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/terraform-providers/terraform-provider-google/google/resource_container_cluster.go:1941
2019-07-13T11:13:18.910+0100 [DEBUG] plugin.terraform-provider-google_v2.9.1_x4: github.com/terraform-providers/terraform-provider-google/google.resourceContainerClusterRead(0xc000546620, 0x1bf21a0, 0xc000111b00, 0x14, 0xc00046e0e0)
2019-07-13T11:13:18.910+0100 [DEBUG] plugin.terraform-provider-google_v2.9.1_x4: /opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/terraform-providers/terraform-provider-google/google/resource_container_cluster.go:964 +0x1f9a
2019-07-13T11:13:18.910+0100 [DEBUG] plugin.terraform-provider-google_v2.9.1_x4: github.com/terraform-providers/terraform-provider-google/google.resourceContainerClusterCreate(0xc000546620, 0x1bf21a0, 0xc000111b00, 0x0, 0x0)
2019-07-13T11:13:18.910+0100 [DEBUG] plugin.terraform-provider-google_v2.9.1_x4: /opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/terraform-providers/terraform-provider-google/google/resource_container_cluster.go:914 +0x1994
2019-07-13T11:13:18.910+0100 [DEBUG] plugin.terraform-provider-google_v2.9.1_x4: github.com/terraform-providers/terraform-provider-google/vendor/github.com/hashicorp/terraform/helper/schema.(*Resource).Apply(0xc0004a1a80, 0xc000b442d0, 0xc00054c280, 0x1bf21a0, 0xc000111b00, 0x1b62101, 0xc0000838d8, 0xc000587380)
2019-07-13T11:13:18.910+0100 [DEBUG] plugin.terraform-provider-google_v2.9.1_x4: /opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/terraform-providers/terraform-provider-google/vendor/github.com/hashicorp/terraform/helper/schema/resource.go:286 +0x363
2019-07-13T11:13:18.910+0100 [DEBUG] plugin.terraform-provider-google_v2.9.1_x4: github.com/terraform-providers/terraform-provider-google/vendor/github.com/hashicorp/terraform/helper/schema.(*Provider).Apply(0xc000317f80, 0xc00063b9b8, 0xc000b442d0, 0xc00054c280, 0xc000231708, 0xc000154650, 0x1b65ca0)
2019-07-13T11:13:18.910+0100 [DEBUG] plugin.terraform-provider-google_v2.9.1_x4: /opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/terraform-providers/terraform-provider-google/vendor/github.com/hashicorp/terraform/helper/schema/provider.go:285 +0x9c
2019-07-13T11:13:18.910+0100 [DEBUG] plugin.terraform-provider-google_v2.9.1_x4: github.com/terraform-providers/terraform-provider-google/vendor/github.com/hashicorp/terraform/helper/plugin.(*GRPCProviderServer).ApplyResourceChange(0xc00000cf10, 0x220b7e0, 0xc000ad21b0, 0xc0000703c0, 0xc00000cf10, 0xc000ad2120, 0x1be69e0)
2019-07-13T11:13:18.910+0100 [DEBUG] plugin.terraform-provider-google_v2.9.1_x4: /opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/terraform-providers/terraform-provider-google/vendor/github.com/hashicorp/terraform/helper/plugin/grpc_provider.go:851 +0x87a
2019-07-13T11:13:18.910+0100 [DEBUG] plugin.terraform-provider-google_v2.9.1_x4: github.com/terraform-providers/terraform-provider-google/vendor/github.com/hashicorp/terraform/internal/tfplugin5._Provider_ApplyResourceChange_Handler(0x1f194e0, 0xc00000cf10, 0x220b7e0, 0xc000ad21b0, 0xc000b440a0, 0x0, 0x0, 0x0, 0xc000bbd000, 0x786)
2019-07-13T11:13:18.910+0100 [DEBUG] plugin.terraform-provider-google_v2.9.1_x4: /opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/terraform-providers/terraform-provider-google/vendor/github.com/hashicorp/terraform/internal/tfplugin5/tfplugin5.pb.go:3217 +0x23e
2019-07-13T11:13:18.910+0100 [DEBUG] plugin.terraform-provider-google_v2.9.1_x4: github.com/terraform-providers/terraform-provider-google/vendor/google.golang.org/grpc.(*Server).processUnaryRPC(0xc000556180, 0x2213960, 0xc000557080, 0xc00042c000, 0xc00007b200, 0x33e35e0, 0x0, 0x0, 0x0)
2019-07-13T11:13:18.910+0100 [DEBUG] plugin.terraform-provider-google_v2.9.1_x4: /opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/terraform-providers/terraform-provider-google/vendor/google.golang.org/grpc/server.go:972 +0x4a2
2019-07-13T11:13:18.910+0100 [DEBUG] plugin.terraform-provider-google_v2.9.1_x4: github.com/terraform-providers/terraform-provider-google/vendor/google.golang.org/grpc.(*Server).handleStream(0xc000556180, 0x2213960, 0xc000557080, 0xc00042c000, 0x0)
2019-07-13T11:13:18.910+0100 [DEBUG] plugin.terraform-provider-google_v2.9.1_x4: /opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/terraform-providers/terraform-provider-google/vendor/google.golang.org/grpc/server.go:1252 +0xe02
2019-07-13T11:13:18.910+0100 [DEBUG] plugin.terraform-provider-google_v2.9.1_x4: github.com/terraform-providers/terraform-provider-google/vendor/google.golang.org/grpc.(*Server).serveStreams.func1.1(0xc00045e360, 0xc000556180, 0x2213960, 0xc000557080, 0xc00042c000)
2019-07-13T11:13:18.910+0100 [DEBUG] plugin.terraform-provider-google_v2.9.1_x4: /opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/terraform-providers/terraform-provider-google/vendor/google.golang.org/grpc/server.go:691 +0x9f
2019-07-13T11:13:18.910+0100 [DEBUG] plugin.terraform-provider-google_v2.9.1_x4: created by github.com/terraform-providers/terraform-provider-google/vendor/google.golang.org/grpc.(*Server).serveStreams.func1
2019-07-13T11:13:18.910+0100 [DEBUG] plugin.terraform-provider-google_v2.9.1_x4: /opt/teamcity-agent/work/5d79fe75d4460a2f/src/github.com/terraform-providers/terraform-provider-google/vendor/google.golang.org/grpc/server.go:689 +0xa1
2019/07/13 11:13:18 [DEBUG] google_container_cluster.kubernetes: apply errored, but we're indicating that via the Error pointer rather than returning it: rpc error: code = Unavailable desc = transport is closing
2019/07/13 11:13:18 [TRACE] : eval: *terraform.EvalMaybeTainted
2019/07/13 11:13:18 [TRACE] EvalMaybeTainted: google_container_cluster.kubernetes encountered an error during creation, so it is now marked as tainted
2019/07/13 11:13:18 [TRACE] : eval: *terraform.EvalWriteState
2019/07/13 11:13:18 [TRACE] EvalWriteState: removing state object for google_container_cluster.kubernetes
2019/07/13 11:13:18 [TRACE] : eval: *terraform.EvalApplyProvisioners
2019/07/13 11:13:18 [TRACE] EvalApplyProvisioners: google_container_cluster.kubernetes has no state, so skipping provisioners
2019/07/13 11:13:18 [TRACE] : eval: *terraform.EvalMaybeTainted
2019/07/13 11:13:18 [TRACE] EvalMaybeTainted: google_container_cluster.kubernetes encountered an error during creation, so it is now marked as tainted
2019/07/13 11:13:18 [TRACE] : eval: *terraform.EvalWriteState
2019/07/13 11:13:18 [TRACE] EvalWriteState: removing state object for google_container_cluster.kubernetes
2019/07/13 11:13:18 [TRACE] : eval: *terraform.EvalIf
2019/07/13 11:13:18 [TRACE] : eval: *terraform.EvalIf
2019/07/13 11:13:18 [TRACE] : eval: *terraform.EvalWriteDiff
2019/07/13 11:13:18 [TRACE] : eval: *terraform.EvalApplyPost
2019/07/13 11:13:18 [ERROR] : eval: *terraform.EvalApplyPost, err: rpc error: code = Unavailable desc = transport is closing
2019/07/13 11:13:18 [ERROR] : eval: *terraform.EvalSequence, err: rpc error: code = Unavailable desc = transport is closing
2019/07/13 11:13:18 [TRACE] [walkApply] Exiting eval tree: google_container_cluster.kubernetes
2019/07/13 11:13:18 [TRACE] vertex "google_container_cluster.kubernetes": visit complete
2019/07/13 11:13:18 [TRACE] dag/walk: upstream of "google_container_node_pool.primary_nodes" errored, so skipping
2019/07/13 11:13:18 [TRACE] dag/walk: upstream of "provider.google (close)" errored, so skipping
2019/07/13 11:13:18 [TRACE] dag/walk: upstream of "meta.count-boundary (EachMode fixup)" errored, so skipping
2019/07/13 11:13:18 [TRACE] dag/walk: upstream of "root" errored, so skipping
2019/07/13 11:13:18 [TRACE] statemgr.Filesystem: have already backed up original terraform.tfstate to terraform.tfstate.backup on a previous write
2019/07/13 11:13:18 [TRACE] statemgr.Filesystem: state has changed since last snapshot, so incrementing serial to 94
2019/07/13 11:13:18 [TRACE] statemgr.Filesystem: writing snapshot at terraform.tfstate
2019-07-13T11:13:18.918+0100 [DEBUG] plugin: plugin process exited: path=/home/mahesh_sun22/gcp_gke/.terraform/plugins/linux_amd64/terraform-provider-google_v2.9.1_x4 pid=4990 error="exit status 2"
2019/07/13 11:13:18 [TRACE] statemgr.Filesystem: removing lock metadata file .terraform.tfstate.lock.info
2019/07/13 11:13:18 [TRACE] statemgr.Filesystem: unlocking terraform.tfstate using fcntl flock
2019-07-13T11:13:18.993+0100 [DEBUG] plugin: plugin exited

Expected Behavior

Actual Behavior

Steps to Reproduce

Additional Context

References

@slevenick
Copy link
Collaborator

Duplicate of #4010

The next release of the terraform google provider will fix this issue, release expected tomorrow. Until then specifying a maintenance window should be a workaround

@ghost
Copy link
Author

ghost commented Aug 15, 2019

I'm going to lock this issue because it has been closed for 30 days ⏳. This helps our maintainers find and focus on the active issues.

If you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. If you feel I made an error 🤖 🙉 , please reach out to my human friends 👉 [email protected]. Thanks!

@ghost ghost locked and limited conversation to collaborators Aug 15, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant