Skip to content

Instantly share code, notes, and snippets.

@dhrp
Created November 4, 2021 10:16
Show Gist options
  • Save dhrp/cdc99d16a5ce6c2dcb3d2b5bd0a72234 to your computer and use it in GitHub Desktop.
Save dhrp/cdc99d16a5ce6c2dcb3d2b5bd0a72234 to your computer and use it in GitHub Desktop.
tf error output
openstack_containerinfra_cluster_v1.X: Refreshing state... [id=4fdf4729-ef30-4e1f-b155-26c27d75c40e]
│ Error: Plugin did not respond
│ with openstack_containerinfra_cluster_v1.X,
│ on cluster1.tf line 1, in resource "openstack_containerinfra_cluster_v1" "X":
│ 1: resource "openstack_containerinfra_cluster_v1" "X" {
│ The plugin encountered an error, and failed to respond to the plugin.(*GRPCProvider).ReadResource call. The plugin
│ logs may contain more details.
Stack trace from the terraform-provider-openstack_v1.44.0 plugin:
panic: interface conversion: interface {} is map[string]interface {}, not map[string]string
goroutine 12 [running]:
github.com/terraform-provider-openstack/terraform-provider-openstack/openstack.flattenContainerInfraV1Kubeconfig(0xc0003e2e80, 0x1cf678c)
github.com/terraform-provider-openstack/terraform-provider-openstack/openstack/containerinfra_shared_v1.go:175 +0xcd4
github.com/terraform-provider-openstack/terraform-provider-openstack/openstack.resourceContainerInfraClusterV1Read({0x1edb2e8, 0xc0003ccd40}, 0xc0003e2e80, {0x1cbd820, 0xc000826240})
github.com/terraform-provider-openstack/terraform-provider-openstack/openstack/resource_openstack_containerinfra_cluster_v1.go:351 +0x937
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).read(0xc00002fc00, {0x1edb2e8, 0xc0003ccd40}, 0x24, {0x1cbd820, 0xc000826240})
github.com/hashicorp/terraform-plugin-sdk/v2@v2.7.1/helper/schema/resource.go:347 +0x12e
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).RefreshWithoutUpgrade(0xc00002fc00, {0x1edb2e8, 0xc0003ccd40}, 0xc0008ce3f0, {0x1cbd820, 0xc000826240})
github.com/hashicorp/terraform-plugin-sdk/v2@v2.7.1/helper/schema/resource.go:624 +0x35b
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*GRPCProviderServer).ReadResource(0xc00000c498, {0x1edb2e8, 0xc0003ccd40}, 0xc0003ccd80)
github.com/hashicorp/terraform-plugin-sdk/v2@v2.7.1/helper/schema/grpc_provider.go:575 +0x4bd
github.com/hashicorp/terraform-plugin-go/tfprotov5/server.(*server).ReadResource(0xc00004df40, {0x1edb390, 0xc0003c8090}, 0xc000793680)
github.com/hashicorp/terraform-plugin-go@v0.3.0/tfprotov5/server/server.go:298 +0x1fb
github.com/hashicorp/terraform-plugin-go/tfprotov5/internal/tfplugin5._Provider_ReadResource_Handler({0x1c95780, 0xc00004df40}, {0x1edb390, 0xc0003c8090}, 0xc000793620, 0x0)
github.com/hashicorp/terraform-plugin-go@v0.3.0/tfprotov5/internal/tfplugin5/tfplugin5_grpc.pb.go:344 +0x170
google.golang.org/grpc.(*Server).processUnaryRPC(0xc0001ff340, {0x1eed360, 0xc00016ea80}, 0xc00027e200, 0xc0002106f0, 0x26246f0, 0x0)
google.golang.org/grpc@v1.32.0/server.go:1194 +0xc8f
google.golang.org/grpc.(*Server).handleStream(0xc0001ff340, {0x1eed360, 0xc00016ea80}, 0xc00027e200, 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.44.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