Skip to content

Instantly share code, notes, and snippets.

@cova-fe
Created January 14, 2022 08:42
Show Gist options
  • Save cova-fe/5530a6406fb6e977e42f908ed8bf295a to your computer and use it in GitHub Desktop.
Save cova-fe/5530a6406fb6e977e42f908ed8bf295a to your computer and use it in GitHub Desktop.
Netbox terraform provider crash
│ Error: Plugin did not respond
│ with provider["registry.terraform.io/e-breuninger/netbox"],
│ on main.tf line 33, in provider "netbox":
│ 33: provider "netbox" {
│ The plugin encountered an error, and failed to respond to the plugin.(*GRPCProvider).ConfigureProvider call. The plugin logs may contain more details.
Stack trace from the terraform-provider-netbox_v1.1.0 plugin:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x109c2af]
goroutine 53 [running]:
github.com/fbreckle/go-netbox/netbox/client/status.(*StatusListOK).GetPayload(...)
github.com/fbreckle/go-netbox@v0.0.0-20211223172728-2da47c1929a7/netbox/client/status/status_list_responses.go:74
github.com/e-breuninger/terraform-provider-netbox/netbox.providerConfigure({0x143d5d7, 0x6}, 0xc0006232f0)
github.com/e-breuninger/terraform-provider-netbox/netbox/provider.go:95 +0x22f
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Provider).Configure(0xc00058c3c0, {0x15e7640, 0xc0006232f0}, 0xc00003b040)
github.com/hashicorp/terraform-plugin-sdk/v2@v2.10.1/helper/schema/provider.go:296 +0x23e
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*GRPCProviderServer).ConfigureProvider(0xc00000c1b0, {0x15e7598, 0xc00005cb40}, 0xc00000c4f8)
github.com/hashicorp/terraform-plugin-sdk/v2@v2.10.1/helper/schema/grpc_provider.go:523 +0x27b
github.com/hashicorp/terraform-plugin-go/tfprotov5/tf5server.(*server).Configure(0xc0003b7380, {0x15e7640, 0xc000622390}, 0xc00005c980)
github.com/hashicorp/terraform-plugin-go@v0.5.0/tfprotov5/tf5server/server.go:387 +0x2c2
github.com/hashicorp/terraform-plugin-go/tfprotov5/internal/tfplugin5._Provider_Configure_Handler({0x13b3120, 0xc0003b7380}, {0x15e7640, 0xc000622390}, 0xc00058c2a0, 0x0)
github.com/hashicorp/terraform-plugin-go@v0.5.0/tfprotov5/internal/tfplugin5/tfplugin5_grpc.pb.go:326 +0x170
google.golang.org/grpc.(*Server).processUnaryRPC(0xc00051d6c0, {0x15f6ad0, 0xc000300000}, 0xc0001b0000, 0xc0003f5a40, 0x2142eb8, 0x0)
google.golang.org/grpc@v1.32.0/server.go:1194 +0xc8f
google.golang.org/grpc.(*Server).handleStream(0xc00051d6c0, {0x15f6ad0, 0xc000300000}, 0xc0001b0000, 0x0)
google.golang.org/grpc@v1.32.0/server.go:1517 +0xa2a
google.golang.org/grpc.(*Server).serveStreams.func1.2()
google.golang.org/grpc@v1.32.0/server.go:859 +0x98
created by google.golang.org/grpc.(*Server).serveStreams.func1
google.golang.org/grpc@v1.32.0/server.go:857 +0x294
Error: The terraform-provider-netbox_v1.1.0 plugin crashed!
This is always indicative of a bug within the plugin. It would be immensely
helpful if you could report the crash with the plugin's maintainers so that it
can be fixed. The output above should help diagnose the issue.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment