terraform-provider-oci 6.22.0 crashed #2285
Labels
awaiting-affected-resources
Please Provide the affected resource name in description. ex. Affected resource - oci_core_instance
bug
Team,
I am seeing oci terraform provider crash issue when trying to create a resource
Below is the error i am getting
Error: Plugin did not respond
│
│ with oci_load_balancer.testy8-8-prov-vm-lbaas,
│ on testy8-8_tf.tf line 1, in resource "oci_load_balancer" "testy8-8-prov-vm-lbaas":
│ 1: resource "oci_load_balancer" "testy8-8-prov-vm-lbaas" {
│
│ 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-oci_v6.22.0 plugin:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x472c7c2]
goroutine 33 [running]:
github.com/oracle/terraform-provider-oci/internal/service/load_balancer.(*LoadBalancerLoadBalancerResourceCrud).SetData(0xc0036d76e0)
github.com/oracle/terraform-provider-oci/internal/service/load_balancer/load_balancer_load_balancer_resource.go:613 +0x262
github.com/oracle/terraform-provider-oci/internal/tfresource.ReadResource({0x8a4f768, 0xc0036d76e0})
github.com/oracle/terraform-provider-oci/internal/tfresource/crud_helpers.go:325 +0x128
github.com/oracle/terraform-provider-oci/internal/service/load_balancer.readLoadBalancerLoadBalancer(0xc003639880, {0x80d7f40, 0xc00207e978})
github.com/oracle/terraform-provider-oci/internal/service/load_balancer/load_balancer_load_balancer_resource.go:223 +0xd7
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).read(0x8ac08e8?, {0x8ac08e8?, 0xc0036d60f0?}, 0xd?, {0x80d7f40?, 0xc00207e978?})
github.com/hashicorp/terraform-plugin-sdk/v2@v2.33.0/helper/schema/resource.go:783 +0x15f
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).RefreshWithoutUpgrade(0xc002cb2b60, {0x8ac08e8, 0xc0036d60f0}, 0xc0036a6820, {0x80d7f40, 0xc00207e978})
github.com/hashicorp/terraform-plugin-sdk/v2@v2.33.0/helper/schema/resource.go:1089 +0x529
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*GRPCProviderServer).ReadResource(0xc00207e330, {0x8ac08e8?, 0xc0036d6030?}, 0xc00369e540)
github.com/hashicorp/terraform-plugin-sdk/v2@v2.33.0/helper/schema/grpc_provider.go:667 +0x4aa
github.com/hashicorp/terraform-plugin-go/tfprotov5/tf5server.(*server).ReadResource(0xc002692320, {0x8ac08e8?, 0xc0036a9620?}, 0xc0035ffc20)
github.com/hashicorp/terraform-plugin-go@v0.22.0/tfprotov5/tf5server/server.go:775 +0x4c3
github.com/hashicorp/terraform-plugin-go/tfprotov5/internal/tfplugin5._Provider_ReadResource_Handler({0x7d4f820, 0xc002692320}, {0x8ac08e8, 0xc0036a9620}, 0xc003639300, 0x0)
github.com/hashicorp/terraform-plugin-go@v0.22.0/tfprotov5/internal/tfplugin5/tfplugin5_grpc.pb.go:482 +0x1a6
google.golang.org/grpc.(*Server).processUnaryRPC(0xc000214c00, {0x8ac08e8, 0xc0036a9590}, {0x8ad5040, 0xc000ef3040}, 0xc0036c38c0, 0xc0013e6db0, 0xcf8a048, 0x0)
google.golang.org/grpc@v1.61.1/server.go:1385 +0xdd1
google.golang.org/grpc.(*Server).handleStream(0xc000214c00, {0x8ad5040, 0xc000ef3040}, 0xc0036c38c0)
google.golang.org/grpc@v1.61.1/server.go:1796 +0xfb8
google.golang.org/grpc.(*Server).serveStreams.func2.1()
google.golang.org/grpc@v1.61.1/server.go:1029 +0x8b
created by google.golang.org/grpc.(*Server).serveStreams.func2 in goroutine 9
google.golang.org/grpc@v1.61.1/server.go:1040 +0x125
Error: The terraform-provider-oci_v6.22.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.
2025-01-24T05:35:09.144Z [DEBUG] provider: plugin exited
Please let me know if its a know issue?
The text was updated successfully, but these errors were encountered: