Skip to content

Instantly share code, notes, and snippets.

@alvarof2
Created November 17, 2020 08:48
Show Gist options
  • Save alvarof2/fef8d710a8e90c095e349e7b244f1fbd to your computer and use it in GitHub Desktop.
Save alvarof2/fef8d710a8e90c095e349e7b244f1fbd to your computer and use it in GitHub Desktop.
SpotInst terraform provider crash log
runtime error: invalid memory address or nil pointer dereference
2020-11-17T09:46:07.444+0100 [DEBUG] plugin.terraform-provider-spotinst_v1.29.0: [signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x1c80579]
2020-11-17T09:46:07.444+0100 [DEBUG] plugin.terraform-provider-spotinst_v1.29.0:
2020-11-17T09:46:07.444+0100 [DEBUG] plugin.terraform-provider-spotinst_v1.29.0: goroutine 54 [running]:
2020-11-17T09:46:07.444+0100 [DEBUG] plugin.terraform-provider-spotinst_v1.29.0: github.com/spotinst/terraform-provider-spotinst/spotinst/elastigroup_aws_strategy.Setup.func1(0x1f2a4c0, 0xc000713340, 0xc000276000, 0x1e4c120, 0xc0000e18f0, 0x0, 0x0)
2020-11-17T09:46:07.444+0100 [DEBUG] plugin.terraform-provider-spotinst_v1.29.0: github.com/spotinst/terraform-provider-spotinst/spotinst/elastigroup_aws_strategy/fields_spotinst_elastigroup_aws_strategy.go:34 +0x79
2020-11-17T09:46:07.444+0100 [DEBUG] plugin.terraform-provider-spotinst_v1.29.0: github.com/spotinst/terraform-provider-spotinst/spotinst/commons.(*ElastigroupTerraformResource).OnRead(0xc00000d060, 0xc000a26480, 0xc000276000, 0x1e4c120, 0xc0000e18f0, 0x0, 0x0)
2020-11-17T09:46:07.444+0100 [DEBUG] plugin.terraform-provider-spotinst_v1.29.0: github.com/spotinst/terraform-provider-spotinst/spotinst/commons/common_elastigroup_aws.go:63 +0x3de
2020-11-17T09:46:07.444+0100 [DEBUG] plugin.terraform-provider-spotinst_v1.29.0: github.com/spotinst/terraform-provider-spotinst/spotinst.resourceSpotinstElastigroupAWSRead(0xc000276000, 0x1e4c120, 0xc0000e18f0, 0xc000276000, 0x0)
2020-11-17T09:46:07.444+0100 [DEBUG] plugin.terraform-provider-spotinst_v1.29.0: github.com/spotinst/terraform-provider-spotinst/spotinst/resource_spotinst_elastigroup_aws.go:159 +0x48d
2020-11-17T09:46:07.444+0100 [DEBUG] plugin.terraform-provider-spotinst_v1.29.0: github.com/hashicorp/terraform-plugin-sdk/helper/schema.(*Resource).RefreshWithoutUpgrade(0xc0001c4ab0, 0xc0003779a0, 0x1e4c120, 0xc0000e18f0, 0xc0007b4190, 0x0, 0x0)
2020-11-17T09:46:07.444+0100 [DEBUG] plugin.terraform-provider-spotinst_v1.29.0: github.com/hashicorp/terraform-plugin-sdk@v1.16.0/helper/schema/resource.go:460 +0x129
2020-11-17T09:46:07.444+0100 [DEBUG] plugin.terraform-provider-spotinst_v1.29.0: github.com/hashicorp/terraform-plugin-sdk/internal/helper/plugin.(*GRPCProviderServer).ReadResource(0xc00009ea20, 0x22ba660, 0xc0003ff290, 0xc0006fc2a0, 0xc00009ea20, 0xc0003ff290, 0xc000355ba0)
2020-11-17T09:46:07.444+0100 [DEBUG] plugin.terraform-provider-spotinst_v1.29.0: github.com/hashicorp/terraform-plugin-sdk@v1.16.0/internal/helper/plugin/grpc_provider.go:525 +0x3dd
2020-11-17T09:46:07.444+0100 [DEBUG] plugin.terraform-provider-spotinst_v1.29.0: github.com/hashicorp/terraform-plugin-sdk/internal/tfplugin5._Provider_ReadResource_Handler(0x2088f40, 0xc00009ea20, 0x22ba660, 0xc0003ff290, 0xc0006fc240, 0x0, 0x22ba660, 0xc0003ff290, 0xc0005ead80, 0xd21)
2020-11-17T09:46:07.444+0100 [DEBUG] plugin.terraform-provider-spotinst_v1.29.0: github.com/hashicorp/terraform-plugin-sdk@v1.16.0/internal/tfplugin5/tfplugin5.pb.go:3269 +0x214
2020-11-17T09:46:07.444+0100 [DEBUG] plugin.terraform-provider-spotinst_v1.29.0: google.golang.org/grpc.(*Server).processUnaryRPC(0xc0003d56c0, 0x22c5cc0, 0xc00008b080, 0xc0006c0200, 0xc0005b8510, 0x2a856b0, 0x0, 0x0, 0x0)
2020-11-17T09:46:07.444+0100 [DEBUG] plugin.terraform-provider-spotinst_v1.29.0: google.golang.org/grpc@v1.30.0/server.go:1171 +0x522
2020-11-17T09:46:07.444+0100 [DEBUG] plugin.terraform-provider-spotinst_v1.29.0: google.golang.org/grpc.(*Server).handleStream(0xc0003d56c0, 0x22c5cc0, 0xc00008b080, 0xc0006c0200, 0x0)
2020-11-17T09:46:07.445+0100 [DEBUG] plugin.terraform-provider-spotinst_v1.29.0: google.golang.org/grpc@v1.30.0/server.go:1494 +0xcc5
2020-11-17T09:46:07.445+0100 [DEBUG] plugin.terraform-provider-spotinst_v1.29.0: google.golang.org/grpc.(*Server).serveStreams.func1.2(0xc00003a350, 0xc0003d56c0, 0x22c5cc0, 0xc00008b080, 0xc0006c0200)
2020-11-17T09:46:07.445+0100 [DEBUG] plugin.terraform-provider-spotinst_v1.29.0: google.golang.org/grpc@v1.30.0/server.go:834 +0xa5
2020-11-17T09:46:07.445+0100 [DEBUG] plugin.terraform-provider-spotinst_v1.29.0: created by google.golang.org/grpc.(*Server).serveStreams.func1
2020-11-17T09:46:07.445+0100 [DEBUG] plugin.terraform-provider-spotinst_v1.29.0: google.golang.org/grpc@v1.30.0/server.go:832 +0x1fd
2020/11/17 09:46:07 [ERROR] eval: *terraform.EvalRefresh, err: rpc error: code = Unavailable desc = transport is closing
2020/11/17 09:46:07 [ERROR] eval: *terraform.EvalSequence, err: rpc error: code = Unavailable desc = transport is closing
2020-11-17T09:46:07.448+0100 [WARN] plugin.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2020/11/17 09:46:07 [ERROR] eval: *terraform.EvalRefresh, err: rpc error: code = Unavailable desc = transport is closing
2020/11/17 09:46:07 [ERROR] eval: *terraform.EvalSequence, err: rpc error: code = Unavailable desc = transport is closing
2020-11-17T09:46:07.448+0100 [DEBUG] plugin: plugin process exited: path=.terraform/plugins/registry.terraform.io/spotinst/spotinst/1.29.0/darwin_amd64/terraform-provider-spotinst_v1.29.0 pid=80527 error="exit status 2"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment