terraform-provider-ibm_v1.32.1 plugin crashed (during import) #3643
Labels
bug
crash
Panics on provider
service/Resource Management
Issues related to Resource Manager or Resource controller Issues
Community Note
Terraform CLI and Terraform IBM Provider Version
terraform -v
Terraform v1.1.6
on darwin_amd64
Affected Resource(s)
Terraform Configuration Files
Please include all Terraform configurations required to reproduce the bug. Bug reports without a functional reproduction may be closed without investigation.
Debug Output
Panic Output
ibm_resource_instance.batch_db2: Importing from ID "crn:v1:bluemix:public:dashdb-for-transactions:eu-de:a/::"...
ibm_resource_instance.batch_db2: Import prepared!
Prepared ibm_resource_instance for import
ibm_resource_instance.batch_db2: Refreshing state... [id=crn:v1:bluemix:public:dashdb-for-transactions:eu-de:a/::]
╷
│ Error: Plugin did not respond
│
│ 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-ibm_v1.32.1 plugin:
panic: runtime error: invalid memory address or nil pointer dereference
[signal SIGSEGV: segmentation violation code=0x1 addr=0x0 pc=0x2d3b1f3]
goroutine 161 [running]:
github.com/IBM-Cloud/terraform-provider-ibm/ibm.resourceIBMResourceInstanceRead(0xc00032e900, 0x3575da0, 0xc00108e000, 0x48d7b80, 0xc000108000)
github.com/IBM-Cloud/terraform-provider-ibm/ibm/resource_ibm_resource_instance.go:567 +0x1153
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).read(0xc000897340, 0x3a98228, 0xc0000ae380, 0xc00032e900, 0x3575da0, 0xc00108e000, 0x0, 0x0, 0x0)
github.com/hashicorp/terraform-plugin-sdk/v2@v2.7.0/helper/schema/resource.go:335 +0x1ee
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).RefreshWithoutUpgrade(0xc000897340, 0x3a98228, 0xc0000ae380, 0xc001358310, 0x3575da0, 0xc00108e000, 0xc0005904b8, 0x0, 0x0, 0x0)
github.com/hashicorp/terraform-plugin-sdk/v2@v2.7.0/helper/schema/resource.go:624 +0x1cb
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*GRPCProviderServer).ReadResource(0xc00048cc00, 0x3a98228, 0xc0000ae380, 0xc0000ae440, 0xc0000ae380, 0x100b705, 0x33f7000)
github.com/hashicorp/terraform-plugin-sdk/v2@v2.7.0/helper/schema/grpc_provider.go:575 +0x43b
github.com/hashicorp/terraform-plugin-go/tfprotov5/server.(*server).ReadResource(0xc000da6a40, 0x3a982d0, 0xc0000ae380, 0xc0010fe3c0, 0xc000da6a40, 0xc000f981e0, 0xc001021ba0)
github.com/hashicorp/terraform-plugin-go@v0.3.0/tfprotov5/server/server.go:298 +0x105
github.com/hashicorp/terraform-plugin-go/tfprotov5/internal/tfplugin5._Provider_ReadResource_Handler(0x34a2080, 0xc000da6a40, 0x3a982d0, 0xc000f981e0, 0xc0010fe360, 0x0, 0x3a982d0, 0xc000f981e0, 0xc00135d000, 0x391)
github.com/hashicorp/terraform-plugin-go@v0.3.0/tfprotov5/internal/tfplugin5/tfplugin5_grpc.pb.go:344 +0x214
google.golang.org/grpc.(*Server).processUnaryRPC(0xc0008161c0, 0x3ab1358, 0xc0004a7200, 0xc0012ac000, 0xc000b69170, 0x4879850, 0x0, 0x0, 0x0)
google.golang.org/grpc@v1.32.0/server.go:1194 +0x52b
google.golang.org/grpc.(*Server).handleStream(0xc0008161c0, 0x3ab1358, 0xc0004a7200, 0xc0012ac000, 0x0)
google.golang.org/grpc@v1.32.0/server.go:1517 +0xd0c
google.golang.org/grpc.(*Server).serveStreams.func1.2(0xc00049c330, 0xc0008161c0, 0x3ab1358, 0xc0004a7200, 0xc0012ac000)
google.golang.org/grpc@v1.32.0/server.go:859 +0xab
created by google.golang.org/grpc.(*Server).serveStreams.func1
google.golang.org/grpc@v1.32.0/server.go:857 +0x1fd
Error: The terraform-provider-ibm_v1.32.1 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.
Expected Behavior
Actual Behavior
Steps to Reproduce
Important Factoids
References
The text was updated successfully, but these errors were encountered: