Skip to content

Instantly share code, notes, and snippets.

@aemneina
Created January 26, 2018 08:32
Show Gist options
  • Save aemneina/531a51d395fc6b9ae54408903231e686 to your computer and use it in GitHub Desktop.
Save aemneina/531a51d395fc6b9ae54408903231e686 to your computer and use it in GitHub Desktop.
terraform panic
2018-01-08T14:26:22.852-0700 [DEBUG] plugin.terraform-provider-rancher_v1.2.0_x4: 2018/01/08 14:26:22 [INFO] Rancher Client configured for url: http://<some.host>:8080/v2-beta
2018-01-08T14:26:22.872-0700 [DEBUG] plugin.terraform-provider-rancher_v1.2.0_x4: panic: runtime error: invalid memory address or nil pointer dereference
2018-01-08T14:26:22.872-0700 [DEBUG] plugin.terraform-provider-rancher_v1.2.0_x4: [signal SIGSEGV: segmentation violation code=0x1 addr=0x20 pc=0x165f234]
2018-01-08T14:26:22.872-0700 [DEBUG] plugin.terraform-provider-rancher_v1.2.0_x4:
2018-01-08T14:26:22.872-0700 [DEBUG] plugin.terraform-provider-rancher_v1.2.0_x4: goroutine 97 [running]:
2018-01-08T14:26:22.872-0700 [DEBUG] plugin.terraform-provider-rancher_v1.2.0_x4: github.com/terraform-providers/terraform-provider-rancher/rancher.(*Config).EnvironmentClient(0xc4203ba1b0, 0xc420574014, 0x4, 0x170e620, 0xc4201b2aa0, 0x70)
2018-01-08T14:26:22.872-0700 [DEBUG] plugin.terraform-provider-rancher_v1.2.0_x4: /opt/teamcity-agent/work/222ea50a1b4f75f4/src/github.com/terraform-providers/terraform-provider-rancher/rancher/config.go:45 +0x94
2018-01-08T14:26:22.872-0700 [DEBUG] plugin.terraform-provider-rancher_v1.2.0_x4: github.com/terraform-providers/terraform-provider-rancher/rancher.resourceRancherRegistrationTokenRead(0xc420166070, 0x17afa20, 0xc4203ba1b0, 0x0, 0x1d73de0)
2018-01-08T14:26:22.872-0700 [DEBUG] plugin.terraform-provider-rancher_v1.2.0_x4: /opt/teamcity-agent/work/222ea50a1b4f75f4/src/github.com/terraform-providers/terraform-provider-rancher/rancher/resource_rancher_registration_token.go:113 +0x170
2018-01-08T14:26:22.872-0700 [DEBUG] plugin.terraform-provider-rancher_v1.2.0_x4: github.com/terraform-providers/terraform-provider-rancher/vendor/github.com/hashicorp/terraform/helper/schema.(*Resource).Refresh(0xc42029b380, 0xc420302190, 0x17afa20, 0xc4203ba1b0, 0xc4202f4710, 0x1, 0x8000000000d)
2018-01-08T14:26:22.872-0700 [DEBUG] plugin.terraform-provider-rancher_v1.2.0_x4: /opt/teamcity-agent/work/222ea50a1b4f75f4/src/github.com/terraform-providers/terraform-provider-rancher/vendor/github.com/hashicorp/terraform/helper/schema/resource.go:321 +0x199
2018-01-08T14:26:22.872-0700 [DEBUG] plugin.terraform-provider-rancher_v1.2.0_x4: github.com/terraform-providers/terraform-provider-rancher/vendor/github.com/hashicorp/terraform/helper/schema.(*Provider).Refresh(0xc4202a0380, 0xc420302140, 0xc420302190, 0x1f40000, 0x0, 0x2)
2018-01-08T14:26:22.872-0700 [DEBUG] plugin.terraform-provider-rancher_v1.2.0_x4: /opt/teamcity-agent/work/222ea50a1b4f75f4/src/github.com/terraform-providers/terraform-provider-rancher/vendor/github.com/hashicorp/terraform/helper/schema/provider.go:284 +0x9a
2018-01-08T14:26:22.872-0700 [DEBUG] plugin.terraform-provider-rancher_v1.2.0_x4: github.com/terraform-providers/terraform-provider-rancher/vendor/github.com/hashicorp/terraform/plugin.(*ResourceProviderServer).Refresh(0xc4202a2660, 0xc4201b2040, 0xc4201b2190, 0x0, 0x0)
2018-01-08T14:26:22.872-0700 [DEBUG] plugin.terraform-provider-rancher_v1.2.0_x4: /opt/teamcity-agent/work/222ea50a1b4f75f4/src/github.com/terraform-providers/terraform-provider-rancher/vendor/github.com/hashicorp/terraform/plugin/resource_provider.go:510 +0x4e
2018-01-08T14:26:22.873-0700 [DEBUG] plugin.terraform-provider-rancher_v1.2.0_x4: reflect.Value.call(0xc4202da000, 0xc42000cdd8, 0x13, 0x187b93f, 0x4, 0xc4203dcf20, 0x3, 0x3, 0xc4200d3780, 0xc4200d37a0, ...)
2018-01-08T14:26:22.873-0700 [DEBUG] plugin.terraform-provider-rancher_v1.2.0_x4: /usr/local/go/src/reflect/value.go:434 +0x906
2018-01-08T14:26:22.873-0700 [DEBUG] plugin.terraform-provider-rancher_v1.2.0_x4: reflect.Value.Call(0xc4202da000, 0xc42000cdd8, 0x13, 0xc420452f20, 0x3, 0x3, 0xc4200d4380, 0xc4200d43a0, 0xc4200d43c0)
2018-01-08T14:26:22.873-0700 [DEBUG] plugin.terraform-provider-rancher_v1.2.0_x4: /usr/local/go/src/reflect/value.go:302 +0xa4
2018-01-08T14:26:22.873-0700 [DEBUG] plugin.terraform-provider-rancher_v1.2.0_x4: net/rpc.(*service).call(0xc4201c5f80, 0xc420085180, 0xc42021ae90, 0xc420123600, 0xc4202c7180, 0x16e29e0, 0xc4201b2040, 0x16, 0x16e2a20, 0xc4201b2190, ...)
2018-01-08T14:26:22.873-0700 [DEBUG] plugin.terraform-provider-rancher_v1.2.0_x4: /usr/local/go/src/net/rpc/server.go:381 +0x142
2018-01-08T14:26:22.873-0700 [DEBUG] plugin.terraform-provider-rancher_v1.2.0_x4: created by net/rpc.(*Server).ServeCodec
2018-01-08T14:26:22.873-0700 [DEBUG] plugin.terraform-provider-rancher_v1.2.0_x4: /usr/local/go/src/net/rpc/server.go:475 +0x36b
2018/01/08 14:26:22 [ERROR] root.rancher_env: eval: *terraform.EvalRefresh, err: rancher_registration_token.k8s: unexpected EOF
2018/01/08 14:26:22 [ERROR] root.rancher_env: eval: *terraform.EvalSequence, err: rancher_registration_token.k8s: unexpected EOF
2018/01/08 14:26:22 [TRACE] [walkRefresh] Exiting eval tree: module.rancher_env.rancher_registration_token.k8s
2018/01/08 14:26:22 [TRACE] dag/walk: upstream errored, not walking "module.rancher_env.output.rancher_registration_token"
2018/01/08 14:26:22 [TRACE] dag/walk: upstream errored, not walking "output.rancher_registration_token"
2018/01/08 14:26:22 [TRACE] dag/walk: upstream errored, not walking "provider.rancher (close)"
2018/01/08 14:26:22 [TRACE] dag/walk: upstream errored, not walking "root"
2018-01-08T14:26:22.876-0700 [DEBUG] plugin: plugin process exited: path=/Users/<myuser>/repos/cloud/terraform/vmware/envs/alpha/k8s_env/.terraform/plugins/darwin_amd64/terraform-provider-rancher_v1.2.0_x4
2018/01/08 14:26:22 [DEBUG] plugin: waiting for all plugin processes to complete...
2018-01-08T14:26:22.943-0700 [WARN ] plugin: error closing client during Kill: err="connection is shut down"
2018-01-08T14:26:22.943-0700 [DEBUG] plugin.terraform: local-exec-provisioner (internal) 2018/01/08 14:26:22 [DEBUG] plugin: waiting for all plugin processes to complete...
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment