Skip to content

Instantly share code, notes, and snippets.

@heytrav
Last active February 9, 2022 18:38
Show Gist options
  • Select an option

  • Save heytrav/953e7891bb30198829fc067b57866e3e to your computer and use it in GitHub Desktop.

Select an option

Save heytrav/953e7891bb30198829fc067b57866e3e to your computer and use it in GitHub Desktop.
terraform openstack provider crash stacktrace
│ Error: Plugin did not respond
│ with openstack_networking_subnet_v2.worker_private_subnet,
│ on main.tf line 58, in resource "openstack_networking_subnet_v2" "worker_private_subnet":
│ 58: resource "openstack_networking_subnet_v2" "worker_private_subnet" {
│ The plugin encountered an error, and failed to respond to the plugin.(*GRPCProvider).ApplyResourceChange call. The plugin logs m╷
│ Error: Plugin did not respond
│ with openstack_networking_subnet_v2.worker_private_subnet,
│ on main.tf line 58, in resource "openstack_networking_subnet_v2" "worker_private_subnet":
│ 58: resource "openstack_networking_subnet_v2" "worker_private_subnet" {
│ The plugin encountered an error, and failed to respond to the plugin.(*GRPCProvider).ApplyResourceChange call. The plugin logs may contain more details.
│ Error: Plugin did not respond
│ with openstack_networking_subnet_v2.elasticsearch_private_subnet,
│ on main.tf line 70, in resource "openstack_networking_subnet_v2" "elasticsearch_private_subnet":
│ 70: resource "openstack_networking_subnet_v2" "elasticsearch_private_subnet" {
│ The plugin encountered an error, and failed to respond to the plugin.(*GRPCProvider).ApplyResourceChange call. The plugin logs may contain more details.
Stack trace from the terraform-provider-openstack_v1.47.0 plugin:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x5b9aa0]
goroutine 97 [running]:
net.networkNumberAndMask(0x20)
net/ip.go:498
net.(*IPNet).String(0xc0003a5730)
net/ip.go:548 +0x2b
github.com/terraform-provider-openstack/terraform-provider-openstack/openstack.resourceNetworkingSubnetV2Create({0x10858e8, 0xc0002e54a0}, 0xc0005d76c0, {0xef1fa0, 0xc00064ab40})
github.com/terraform-provider-openstack/terraform-provider-openstack/openstack/resource_openstack_networking_subnet_v2.go:274 +0x795
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).create(0xc000460380, {0x1085878, 0xc0005a3d00}, 0x2, {0xef1fa0, 0xc00064ab40})
github.com/hashicorp/terraform-plugin-sdk/v2@v2.10.0/helper/schema/resource.go:341 +0x12e
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).Apply(0xc000460380, {0x1085878, 0xc0005a3d00}, 0xc0001b6820, 0xc00021bf00, {0xef1fa0, 0xc00064ab40})
github.com/hashicorp/terraform-plugin-sdk/v2@v2.10.0/helper/schema/resource.go:467 +0x871
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*GRPCProviderServer).ApplyResourceChange(0xc00000d4b8, {0x1085878, 0xc0005a3d00}, 0xc00059a910)
github.com/hashicorp/terraform-plugin-sdk/v2@v2.10.0/helper/schema/grpc_provider.go:977 +0xd8a
github.com/hashicorp/terraform-plugin-go/tfprotov5/tf5server.(*server).ApplyResourceChange(0xc0000f1280, {0x1085920, 0xc0002a83c0}, 0xc0005f2d90)
github.com/hashicorp/terraform-plugin-go@v0.5.0/tfprotov5/tf5server/server.go:603 +0x30e
github.com/hashicorp/terraform-plugin-go/tfprotov5/internal/tfplugin5._Provider_ApplyResourceChange_Handler({0xed3420, 0xc0000f1280}, {0x1085920, 0xc0002a83c0}, 0xc0002e4a80, 0x0)
github.com/hashicorp/terraform-plugin-go@v0.5.0/tfprotov5/internal/tfplugin5/tfplugin5_grpc.pb.go:380 +0x170
google.golang.org/grpc.(*Server).processUnaryRPC(0xc0001fb500, {0x1095978, 0xc0000eca80}, 0xc000142200, 0xc000497bc0, 0x16fc980, 0x0)
google.golang.org/grpc@v1.32.0/server.go:1194 +0xc8f
google.golang.org/grpc.(*Server).handleStream(0xc0001fb500, {0x1095978, 0xc0000eca80}, 0xc000142200, 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-openstack_v1.47.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.
@heytrav
Copy link
Author

heytrav commented Feb 9, 2022

Stack trace output by terraform openstack provider

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment