Skip to content

Provider v1.1.0 crash #117

@anordby

Description

@anordby

Terraform version 1.13.2

rSeries 2600 running F5OS version 1.8.3-23493

Provider version 1.10.0

Running a plan I get:

Stack trace from the terraform-provider-f5os_v1.10.0 plugin:

panic: interface conversion: interface {} is nil, not string

goroutine 68 [running]:
gitswarm.f5net.com/terraform-providers/terraform-provider-f5os/internal/provider.(*SystemResource).SystemResourceModelToState(0x31?, {0xdec618, 0xc00040c2a0}, 0xc0001d0710?, 0x0?, 0x0?, 0xc000357b80, 0xc0003418e0, 0xc0001d0710, 0xc0001f1860)
gitswarm.f5net.com/terraform-providers/terraform-provider-f5os/internal/provider/f5os_system_resource.go:682 +0x469
gitswarm.f5net.com/terraform-providers/terraform-provider-f5os/internal/provider.(*SystemResource).Read(0xc0001e2038, {0xdec618, 0xc00040c2a0}, {{{{0xdf1318, 0xc00010bad0}, {0xbb06c0, 0xc00010b7d0}}, {0xdf3c08, 0xc0003c4460}}, 0xc0001e2050, ...}, ...)
gitswarm.f5net.com/terraform-providers/terraform-provider-f5os/internal/provider/f5os_system_resource.go:407 +0x125e
github.com/hashicorp/terraform-plugin-framework/internal/fwserver.(*Server).ReadResource(0xc0001551e0, {0xdec618, 0xc00040c2a0}, 0xc00040c3c0, 0xc0000c9598)
github.com/hashicorp/terraform-plugin-framework@v1.2.0/internal/fwserver/server_readresource.go:97 +0x62e
github.com/hashicorp/terraform-plugin-framework/internal/proto6server.(*Server).ReadResource(0xc0001551e0, {0xdec618?, 0xc00045b800?}, 0xc0003bdec0)
github.com/hashicorp/terraform-plugin-framework@v1.2.0/internal/proto6server/server_readresource.go:52 +0x38e
github.com/hashicorp/terraform-plugin-go/tfprotov6/tf6server.(*server).ReadResource(0xc0001c8be0, {0xdec618?, 0xc00045b0b0?}, 0xc000575ce0)
github.com/hashicorp/terraform-plugin-go@v0.15.0/tfprotov6/tf6server/server.go:746 +0x46f
github.com/hashicorp/terraform-plugin-go/tfprotov6/internal/tfplugin6._Provider_ReadResource_Handler({0xc7cf20, 0xc0001c8be0}, {0xdec618, 0xc00045b0b0}, 0xc0003af600, 0x0)
github.com/hashicorp/terraform-plugin-go@v0.15.0/tfprotov6/internal/tfplugin6/tfplugin6_grpc.pb.go:383 +0x1a6
google.golang.org/grpc.(*Server).processUnaryRPC(0xc00011f400, {0xdec618, 0xc00045b020}, {0xdf23e0, 0xc0003f6000}, 0xc0001a0900, 0xc000300000, 0x1316e90, 0x0)
google.golang.org/grpc@v1.65.0/server.go:1379 +0xdf8
google.golang.org/grpc.(*Server).handleStream(0xc00011f400, {0xdf23e0, 0xc0003f6000}, 0xc0001a0900)
google.golang.org/grpc@v1.65.0/server.go:1790 +0xe8b
google.golang.org/grpc.(*Server).serveStreams.func2.1()
google.golang.org/grpc@v1.65.0/server.go:1029 +0x7f
created by google.golang.org/grpc.(*Server).serveStreams.func2 in goroutine 22
google.golang.org/grpc@v1.65.0/server.go:1040 +0x125
panic: interface conversion: interface {} is nil, not string

goroutine 59 [running]:
gitswarm.f5net.com/terraform-providers/terraform-provider-f5os/internal/provider.(*SystemResource).SystemResourceModelToState(0x31?, {0xdec618, 0xc00047eae0}, 0xc0007061d8?, 0x0?, 0x0?, 0xc000618f80, 0xc00023a0c0, 0xc0007061d8, 0xc000417040)
gitswarm.f5net.com/terraform-providers/terraform-provider-f5os/internal/provider/f5os_system_resource.go:682 +0x469
gitswarm.f5net.com/terraform-providers/terraform-provider-f5os/internal/provider.(*SystemResource).Read(0xc000106470, {0xdec618, 0xc00047eae0}, {{{{0xdf1318, 0xc0004a27b0}, {0xbb06c0, 0xc0004a24b0}}, {0xdf3c08, 0xc0001d47d0}}, 0xc000106498, ...}, ...)
gitswarm.f5net.com/terraform-providers/terraform-provider-f5os/internal/provider/f5os_system_resource.go:407 +0x125e
github.com/hashicorp/terraform-plugin-framework/internal/fwserver.(*Server).ReadResource(0xc0001731e0, {0xdec618, 0xc00047eae0}, 0xc00047eb70, 0xc000523598)
github.com/hashicorp/terraform-plugin-framework@v1.2.0/internal/fwserver/server_readresource.go:97 +0x62e
github.com/hashicorp/terraform-plugin-framework/internal/proto6server.(*Server).ReadResource(0xc0001731e0, {0xdec618?, 0xc00047e9f0?}, 0xc0001acbc0)
github.com/hashicorp/terraform-plugin-framework@v1.2.0/internal/proto6server/server_readresource.go:52 +0x38e
github.com/hashicorp/terraform-plugin-go/tfprotov6/tf6server.(*server).ReadResource(0xc000270b40, {0xdec618?, 0xc00047e2a0?}, 0xc0000d6e40)
github.com/hashicorp/terraform-plugin-go@v0.15.0/tfprotov6/tf6server/server.go:746 +0x46f
github.com/hashicorp/terraform-plugin-go/tfprotov6/internal/tfplugin6._Provider_ReadResource_Handler({0xc7cf20, 0xc000270b40}, {0xdec618, 0xc00047e2a0}, 0xc000464a80, 0x0)
github.com/hashicorp/terraform-plugin-go@v0.15.0/tfprotov6/internal/tfplugin6/tfplugin6_grpc.pb.go:383 +0x1a6
google.golang.org/grpc.(*Server).processUnaryRPC(0xc00011d400, {0xdec618, 0xc00047e210}, {0xdf23e0, 0xc00022e600}, 0xc00040d440, 0xc0002ffe30, 0x1316e90, 0x0)
google.golang.org/grpc@v1.65.0/server.go:1379 +0xdf8
google.golang.org/grpc.(*Server).handleStream(0xc00011d400, {0xdf23e0, 0xc00022e600}, 0xc00040d440)
google.golang.org/grpc@v1.65.0/server.go:1790 +0xe8b
google.golang.org/grpc.(*Server).serveStreams.func2.1()
google.golang.org/grpc@v1.65.0/server.go:1029 +0x7f
created by google.golang.org/grpc.(*Server).serveStreams.func2 in goroutine 44
google.golang.org/grpc@v1.65.0/server.go:1040 +0x125

Error: The terraform-provider-f5os_v1.10.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.

Error: Request cancelled
The plugin6.(*GRPCProvider).UpgradeResourceState request was cancelled.
Error: Plugin did not respond
The plugin encountered an error, and failed to respond to the plugin6.(*GRPCProvider).ReadResource call. The plugin logs may contain more details.
Error: Plugin did not respond
The plugin encountered an error, and failed to respond to the plugin6.(*GRPCProvider).ReadResource call. The plugin logs may contain more details.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions