You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Summary: The Terraform Proxmox Provider (v2.9.14) crashes with the error interface conversion: interface {} is string, not float64, despite the operation being successful (VM creation).
╷
│ Error: Plugin did not respond
│
│ with proxmox_vm_qemu.elastic-debian1,
│ on proxmox.tf line 17, in resource "proxmox_vm_qemu" "elastic-debian1":
│ 17: resource "proxmox_vm_qemu" "elastic-debian1" {
│
│ The plugin encountered an error, and failed to respond to the plugin.(*GRPCProvider).ApplyResourceChange call. The plugin logs may contain more details.
╵
Stack trace from the terraform-provider-proxmox_v2.9.14 plugin:
panic: interface conversion: interface {} is string, not float64
goroutine 67 [running]:
github.com/Telmate/proxmox-api-go/proxmox.NewConfigQemuFromApi(0xc000356718, 0xc9d509?)
github.com/Telmate/[email protected]/proxmox/config_qemu.go:584 +0x4605
github.com/Telmate/terraform-provider-proxmox/proxmox.resourceVmQemuCreate(0xc000284a00, {0xb66f60?, 0xc0000aa190})
github.com/Telmate/terraform-provider-proxmox/proxmox/resource_vm_qemu.go:972 +0x2c4d
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).create(0xdd7840?, {0xdd7840?, 0xc0002bf3b0?}, 0xd?, {0xb66f60?, 0xc0000aa190?})
github.com/hashicorp/terraform-plugin-sdk/[email protected]/helper/schema/resource.go:695 +0x178
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).Apply(0xc0003d07e0, {0xdd7840, 0xc0002bf3b0}, 0xc00024d860, 0xc000284880, {0xb66f60, 0xc0000aa190})
github.com/hashicorp/terraform-plugin-sdk/[email protected]/helper/schema/resource.go:837 +0xa85
github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*GRPCProviderServer).ApplyResourceChange(0xc00045ab58, {0xdd7840?, 0xc0002bf290?}, 0xc0002e62d0)
github.com/hashicorp/terraform-plugin-sdk/[email protected]/helper/schema/grpc_provider.go:1021 +0xe8d
github.com/hashicorp/terraform-plugin-go/tfprotov5/tf5server.(*server).ApplyResourceChange(0xc00012c3c0, {0xdd7840?, 0xc0002be330?}, 0xc0001c04d0)
github.com/hashicorp/[email protected]/tfprotov5/tf5server/server.go:818 +0x574
github.com/hashicorp/terraform-plugin-go/tfprotov5/internal/tfplugin5._Provider_ApplyResourceChange_Handler({0xc6bc20?, 0xc00012c3c0}, {0xdd7840, 0xc0002be330}, 0xc0001c0000, 0x0)
github.com/hashicorp/[email protected]/tfprotov5/internal/tfplugin5/tfplugin5_grpc.pb.go:385 +0x170
google.golang.org/grpc.(*Server).processUnaryRPC(0xc000474000, {0xddb420, 0xc0001036c0}, 0xc00061c120, 0xc000476c00, 0x128f7a0, 0x0)
google.golang.org/[email protected]/server.go:1336 +0xd23
google.golang.org/grpc.(*Server).handleStream(0xc000474000, {0xddb420, 0xc0001036c0}, 0xc00061c120, 0x0)
google.golang.org/[email protected]/server.go:1704 +0xa2f
google.golang.org/grpc.(*Server).serveStreams.func1.2()
google.golang.org/[email protected]/server.go:965 +0x98
created by google.golang.org/grpc.(*Server).serveStreams.func1
google.golang.org/[email protected]/server.go:963 +0x28a
Error: The terraform-provider-proxmox_v2.9.14 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.
The plugin crashes with a type conversion error (interface {} is string, not float64) during VM creation. The operation completes successfully, but the plugin crashes afterward.
The text was updated successfully, but these errors were encountered:
I'm also having this issue, same version, same stack trace, but operation does not complete. VM is partially created but not registered in state, so it can't be refreshed or destroyed. VMs have to be removed manually.
Bug Report: Terraform Proxmox Plugin Crash (v2.9.14)
Summary: The Terraform Proxmox Provider (v2.9.14) crashes with the error interface conversion: interface {} is string, not float64, despite the operation being successful (VM creation).
Logs:
Terraform:
Error Message:
panic: interface conversion: interface {} is string, not float64
Terraform Configuration:
Issue:
The plugin crashes with a type conversion error (interface {} is string, not float64) during VM creation. The operation completes successfully, but the plugin crashes afterward.
The text was updated successfully, but these errors were encountered: