Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash when modifying site coordinates #212

Open
rafaelsampaio opened this issue Jun 14, 2023 · 0 comments
Open

Crash when modifying site coordinates #212

rafaelsampaio opened this issue Jun 14, 2023 · 0 comments

Comments

@rafaelsampaio
Copy link

When I try to modify the coordinates of a VMware site, terraform crashes with the message below.

Stack trace from the terraform-provider-volterra_v0.11.23 plugin:

panic: interface conversion: interface {} is float64, not float32

goroutine 221 [running]:
github.com/volterraedge/terraform-provider-volterra/volterra.getSiteReplaceForm(0xc00204b068, 0xc0020a2de0)
	github.com/volterraedge/terraform-provider-volterra/volterra/resource_volterra_modify_site.go:339 +0x1085
github.com/volterraedge/terraform-provider-volterra/volterra.resourceVolterraModifySiteUpdate(0x17f73c0, {0x95c4f60, 0xc0048882c8})
	github.com/volterraedge/terraform-provider-volterra/volterra/resource_volterra_modify_site.go:257 +0x25a
github.com/volterraedge/terraform-provider-volterra/volterra.resourceVolterraModifySiteCreate(0x8fdd000, {0x95c4f60, 0xc0048882c8})
	github.com/volterraedge/terraform-provider-volterra/volterra/resource_volterra_modify_site.go:179 +0x25
github.com/hashicorp/terraform-plugin-sdk/helper/schema.(*Resource).Apply(0xc002c73800, 0xc0048173b0, 0xc004742160, {0x95c4f60, 0xc0048882c8})
	github.com/hashicorp/terraform-plugin-sdk@v1.8.0/helper/schema/resource.go:305 +0x438
github.com/hashicorp/terraform-plugin-sdk/helper/schema.(*Provider).Apply(0xc002cc8480, 0xc0030f1a68, 0x9985bac, 0xf)
	github.com/hashicorp/terraform-plugin-sdk@v1.8.0/helper/schema/provider.go:294 +0x70
github.com/hashicorp/terraform-plugin-sdk/internal/helper/plugin.(*GRPCProviderServer).ApplyResourceChange(0xc001c74048, {0xc00279aea0, 0x10b73e6}, 0xc00279aea0)
	github.com/hashicorp/terraform-plugin-sdk@v1.8.0/internal/helper/plugin/grpc_provider.go:885 +0x7c5
github.com/hashicorp/terraform-plugin-sdk/internal/tfplugin5._Provider_ApplyResourceChange_Handler({0x96476c0, 0xc001c74048}, {0xeccf7c8, 0xc00225e900}, 0xc00279ae40, 0x0)
	github.com/hashicorp/terraform-plugin-sdk@v1.8.0/internal/tfplugin5/tfplugin5.pb.go:3189 +0x170
google.golang.org/grpc.(*Server).processUnaryRPC(0xc002cd2380, {0xed7f4e8, 0xc00203c600}, 0xc002252900, 0xc002ce4360, 0x13fc5820, 0x0)
	google.golang.org/grpc@v1.40.0/server.go:1297 +0xccf
google.golang.org/grpc.(*Server).handleStream(0xc002cd2380, {0xed7f4e8, 0xc00203c600}, 0xc002252900, 0x0)
	google.golang.org/grpc@v1.40.0/server.go:1626 +0xa2a
google.golang.org/grpc.(*Server).serveStreams.func1.2()
	google.golang.org/grpc@v1.40.0/server.go:941 +0x98
created by google.golang.org/grpc.(*Server).serveStreams.func1
	google.golang.org/grpc@v1.40.0/server.go:939 +0x294

Error: The terraform-provider-volterra_v0.11.23 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
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant