Skip to content

Instantly share code, notes, and snippets.

@axdotl
Created January 21, 2021 13:03
Show Gist options
  • Save axdotl/3dba6cdebbab3d5eff3b51628c7e7041 to your computer and use it in GitHub Desktop.
Save axdotl/3dba6cdebbab3d5eff3b51628c7e7041 to your computer and use it in GitHub Desktop.
panic: interface conversion: interface {} is map[string]interface {}, not *schema.Set
2021-01-21T11:57:16.440Z [DEBUG] plugin.terraform-provider-opsgenie_v0.6.0:
2021-01-21T11:57:16.440Z [DEBUG] plugin.terraform-provider-opsgenie_v0.6.0: goroutine 543 [running]:
2021-01-21T11:57:16.440Z [DEBUG] plugin.terraform-provider-opsgenie_v0.6.0: github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*MapFieldWriter).setSet(0xc00015f480, 0xc00023c0c0, 0x3, 0x3, 0xc13140, 0xc00023c030, 0xc00039c000, 0xc00046f260, 0x40ef04)
2021-01-21T11:57:16.440Z [DEBUG] plugin.terraform-provider-opsgenie_v0.6.0: github.com/hashicorp/terraform-plugin-sdk/v2@v2.4.0/helper/schema/field_writer_map.go:344 +0xbce
2021-01-21T11:57:16.440Z [DEBUG] plugin.terraform-provider-opsgenie_v0.6.0: github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*MapFieldWriter).set(0xc00015f480, 0xc00023c0c0, 0x3, 0x3, 0xc13140, 0xc00023c030, 0x2, 0x2)
2021-01-21T11:57:16.440Z [DEBUG] plugin.terraform-provider-opsgenie_v0.6.0: github.com/hashicorp/terraform-plugin-sdk/v2@v2.4.0/helper/schema/field_writer_map.go:107 +0x24a
2021-01-21T11:57:16.440Z [DEBUG] plugin.terraform-provider-opsgenie_v0.6.0: github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*MapFieldWriter).setObject(0xc00015f480, 0xc0001d4ac0, 0x2, 0x2, 0xc13140, 0xc00023c000, 0xc0002db900, 0x20, 0xbd15c0)
2021-01-21T11:57:16.440Z [DEBUG] plugin.terraform-provider-opsgenie_v0.6.0: github.com/hashicorp/terraform-plugin-sdk/v2@v2.4.0/helper/schema/field_writer_map.go:225 +0x227
2021-01-21T11:57:16.440Z [DEBUG] plugin.terraform-provider-opsgenie_v0.6.0: github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*MapFieldWriter).set(0xc00015f480, 0xc0001d4ac0, 0x2, 0x2, 0xc13140, 0xc00023c000, 0x1, 0x1)
2021-01-21T11:57:16.440Z [DEBUG] plugin.terraform-provider-opsgenie_v0.6.0: github.com/hashicorp/terraform-plugin-sdk/v2@v2.4.0/helper/schema/field_writer_map.go:109 +0x1d8
2021-01-21T11:57:16.440Z [DEBUG] plugin.terraform-provider-opsgenie_v0.6.0: github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*MapFieldWriter).setList.func1(...)
2021-01-21T11:57:16.440Z [DEBUG] plugin.terraform-provider-opsgenie_v0.6.0: github.com/hashicorp/terraform-plugin-sdk/v2@v2.4.0/helper/schema/field_writer_map.go:123
2021-01-21T11:57:16.440Z [DEBUG] plugin.terraform-provider-opsgenie_v0.6.0: github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*MapFieldWriter).setList(0xc00015f480, 0xc000848fd0, 0x1, 0x1, 0xbc20c0, 0xc0001d4a60, 0xc00039c780, 0x8, 0xc000af26c0)
2021-01-21T11:57:16.440Z [DEBUG] plugin.terraform-provider-opsgenie_v0.6.0: github.com/hashicorp/terraform-plugin-sdk/v2@v2.4.0/helper/schema/field_writer_map.go:143 +0x2b0
2021-01-21T11:57:16.440Z [DEBUG] plugin.terraform-provider-opsgenie_v0.6.0: github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*MapFieldWriter).set(0xc00015f480, 0xc000848fd0, 0x1, 0x1, 0xbc20c0, 0xc0001d4a60, 0x1, 0x1)
2021-01-21T11:57:16.440Z [DEBUG] plugin.terraform-provider-opsgenie_v0.6.0: github.com/hashicorp/terraform-plugin-sdk/v2@v2.4.0/helper/schema/field_writer_map.go:103 +0xda
2021-01-21T11:57:16.440Z [DEBUG] plugin.terraform-provider-opsgenie_v0.6.0: github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*MapFieldWriter).WriteField(0xc00015f480, 0xc000848fd0, 0x1, 0x1, 0xbc20c0, 0xc0001d4a60, 0x0, 0x0)
2021-01-21T11:57:16.440Z [DEBUG] plugin.terraform-provider-opsgenie_v0.6.0: github.com/hashicorp/terraform-plugin-sdk/v2@v2.4.0/helper/schema/field_writer_map.go:89 +0x3ef
2021-01-21T11:57:16.440Z [DEBUG] plugin.terraform-provider-opsgenie_v0.6.0: github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*ResourceData).Set(0xc00028c680, 0xd202bd, 0x10, 0xbc20c0, 0xc0001d4a60, 0x0, 0x0)
2021-01-21T11:57:16.440Z [DEBUG] plugin.terraform-provider-opsgenie_v0.6.0: github.com/hashicorp/terraform-plugin-sdk/v2@v2.4.0/helper/schema/resource_data.go:227 +0x1e6
2021-01-21T11:57:16.441Z [DEBUG] plugin.terraform-provider-opsgenie_v0.6.0: github.com/opsgenie/terraform-provider-opsgenie/opsgenie.resourceOpsGenieTeamRoutingRuleRead(0xc00028c680, 0xbab000, 0xc0000a2370, 0xc00028c680, 0xc00007a600)
2021-01-21T11:57:16.441Z [DEBUG] plugin.terraform-provider-opsgenie_v0.6.0: github.com/opsgenie/terraform-provider-opsgenie/opsgenie/resource_opsgenie_team_routing_rule.go:254 +0x303
2021-01-21T11:57:16.441Z [DEBUG] plugin.terraform-provider-opsgenie_v0.6.0: github.com/opsgenie/terraform-provider-opsgenie/opsgenie.handleNonExistentResource.func1(0xc00028c680, 0xbab000, 0xc0000a2370, 0x1421030, 0xd4fe10)
2021-01-21T11:57:16.441Z [DEBUG] plugin.terraform-provider-opsgenie_v0.6.0: github.com/opsgenie/terraform-provider-opsgenie/opsgenie/util.go:16 +0x47
2021-01-21T11:57:16.441Z [DEBUG] plugin.terraform-provider-opsgenie_v0.6.0: github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).read(0xc000316b40, 0xe4ae00, 0xc0004a6440, 0xc00028c680, 0xbab000, 0xc0000a2370, 0x0, 0x0, 0x0)
2021-01-21T11:57:16.441Z [DEBUG] plugin.terraform-provider-opsgenie_v0.6.0: github.com/hashicorp/terraform-plugin-sdk/v2@v2.4.0/helper/schema/resource.go:290 +0x88
2021-01-21T11:57:16.441Z [DEBUG] plugin.terraform-provider-opsgenie_v0.6.0: github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).RefreshWithoutUpgrade(0xc000316b40, 0xe4ae00, 0xc0004a6440, 0xc0000b0070, 0xbab000, 0xc0000a2370, 0xc000286270, 0x0, 0x0, 0x0)
2021-01-21T11:57:16.441Z [DEBUG] plugin.terraform-provider-opsgenie_v0.6.0: github.com/hashicorp/terraform-plugin-sdk/v2@v2.4.0/helper/schema/resource.go:564 +0x1c2
2021-01-21T11:57:16.441Z [DEBUG] plugin.terraform-provider-opsgenie_v0.6.0: github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*GRPCProviderServer).ReadResource(0xc00009eb60, 0xe4ae00, 0xc0004a6440, 0xc0004a6480, 0xc0004a6440, 0xca7be0, 0xcdaf00)
2021-01-21T11:57:16.441Z [DEBUG] plugin.terraform-provider-opsgenie_v0.6.0: github.com/hashicorp/terraform-plugin-sdk/v2@v2.4.0/helper/schema/grpc_provider.go:575 +0x42f
2021-01-21T11:57:16.441Z [DEBUG] plugin.terraform-provider-opsgenie_v0.6.0: github.com/hashicorp/terraform-plugin-go/tfprotov5/server.(*server).ReadResource(0xc00044e080, 0xe4ae00, 0xc0004a6440, 0xc000861ce0, 0xc00044e080, 0xc00046b6e0, 0xc0005e0ba0)
2021-01-21T11:57:16.441Z [DEBUG] plugin.terraform-provider-opsgenie_v0.6.0: github.com/hashicorp/terraform-plugin-go@v0.1.0/tfprotov5/server/server.go:297 +0x101
2021-01-21T11:57:16.441Z [DEBUG] plugin.terraform-provider-opsgenie_v0.6.0: github.com/hashicorp/terraform-plugin-go/tfprotov5/internal/tfplugin5._Provider_ReadResource_Handler(0xcdaf00, 0xc00044e080, 0xe4aec0, 0xc00046b6e0, 0xc000861c80, 0x0, 0xe4aec0, 0xc00046b6e0, 0xc0007f8000, 0x16c)
2021-01-21T11:57:16.441Z [DEBUG] plugin.terraform-provider-opsgenie_v0.6.0: github.com/hashicorp/terraform-plugin-go@v0.1.0/tfprotov5/internal/tfplugin5/tfplugin5_grpc.pb.go:344 +0x217
2021-01-21T11:57:16.442Z [DEBUG] plugin.terraform-provider-opsgenie_v0.6.0: google.golang.org/grpc.(*Server).processUnaryRPC(0xc000314380, 0xe56180, 0xc000083500, 0xc000268900, 0xc000399f20, 0x13e9210, 0x0, 0x0, 0x0)
2021-01-21T11:57:16.442Z [DEBUG] plugin.terraform-provider-opsgenie_v0.6.0: google.golang.org/grpc@v1.32.0/server.go:1194 +0x50a
2021-01-21T11:57:16.442Z [DEBUG] plugin.terraform-provider-opsgenie_v0.6.0: google.golang.org/grpc.(*Server).handleStream(0xc000314380, 0xe56180, 0xc000083500, 0xc000268900, 0x0)
2021-01-21T11:57:16.442Z [DEBUG] plugin.terraform-provider-opsgenie_v0.6.0: google.golang.org/grpc@v1.32.0/server.go:1517 +0xcfd
2021-01-21T11:57:16.442Z [DEBUG] plugin.terraform-provider-opsgenie_v0.6.0: google.golang.org/grpc.(*Server).serveStreams.func1.2(0xc0000a01a0, 0xc000314380, 0xe56180, 0xc000083500, 0xc000268900)
2021-01-21T11:57:16.442Z [DEBUG] plugin.terraform-provider-opsgenie_v0.6.0: google.golang.org/grpc@v1.32.0/server.go:859 +0xa1
2021-01-21T11:57:16.442Z [DEBUG] plugin.terraform-provider-opsgenie_v0.6.0: created by google.golang.org/grpc.(*Server).serveStreams.func1
2021-01-21T11:57:16.442Z [DEBUG] plugin.terraform-provider-opsgenie_v0.6.0: google.golang.org/grpc@v1.32.0/server.go:857 +0x204
2021-01-21T11:57:16.445Z [DEBUG] plugin: plugin process exited: path=.terraform/providers/registry.terraform.io/terraform-providers/opsgenie/0.6.0/linux_amd64/terraform-provider-opsgenie_v0.6.0 pid=155 error="exit status 2"
2021/01/21 11:57:16 [TRACE] vertex "opsgenie_service.search": visit complete
2021/01/21 11:57:16 [TRACE] vertex "opsgenie_service.search": dynamic subgraph encountered errors
2021/01/21 11:57:16 [TRACE] vertex "opsgenie_service.search": visit complete
2021/01/21 11:57:16 [TRACE] vertex "opsgenie_service.search (expand)": dynamic subgraph encountered errors
2021/01/21 11:57:16 [TRACE] vertex "opsgenie_service.search (expand)": visit complete
...
2021-01-21T11:57:16.446Z [WARN] plugin.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
...
2021/01/21 11:57:16 [TRACE] dag/walk: upstream of "provider[\"registry.terraform.io/terraform-providers/opsgenie\"] (close)" errored, so skipping
2021/01/21 11:57:16 [TRACE] dag/walk: upstream of "meta.count-boundary (EachMode fixup)" errored, so skipping
2021/01/21 11:57:16 [TRACE] dag/walk: upstream of "root" errored, so skipping
2021/01/21 11:57:16 [INFO] backend/local: plan operation completed
2021-01-21T11:57:16.453Z [DEBUG] plugin: plugin exited
!!!!!!!!!!!!!!!!!!!!!!!!!!! TERRAFORM CRASH !!!!!!!!!!!!!!!!!!!!!!!!!!!!
Terraform crashed! This is always indicative of a bug within Terraform.
A crash log has been placed at "crash.log" relative to your current
working directory. It would be immensely helpful if you could please
report the crash with Terraform[1] so that we can fix this.
When reporting bugs, please include your terraform version. That
information is available on the first line of crash.log. You can also
get it by running 'terraform --version' on the command line.
SECURITY WARNING: the "crash.log" file that was created may contain
sensitive information that must be redacted before it is safe to share
on the issue tracker.
[1]: https://github.com/hashicorp/terraform/issues
!!!!!!!!!!!!!!!!!!!!!!!!!!! TERRAFORM CRASH !!!!!!!!!!!!!!!!!!!!!!!!!!!!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment