Untitled
unknown
plain_text
a year ago
8.0 kB
4
Indexable
Terraform used the selected providers to generate the following execution plan. Resource actions are indicated with the following symbols: + create Terraform will perform the following actions: # proxmox_vm_qemu.my_vm will be created + resource "proxmox_vm_qemu" "my_vm" { + additional_wait = 15 + agent = 0 + balloon = 0 + bios = "seabios" + boot = "cdn" + bootdisk = (known after apply) + clone = "false" + clone_wait = 15 + cores = 2 + cpu = "host" + default_ipv4_address = (known after apply) + define_connection_info = true + force_create = false + full_clone = true + guest_agent_ready_timeout = 600 + hotplug = "network,disk,usb" + id = (known after apply) + ipconfig0 = "ip=10.10.10.105/24,gw=10.10.10.1" + iso = "/var/lib/vz/template/iso/ubuntu-20.04.3-live-server-amd64.iso" + kvm = true + memory = 2048 + name = "TDP-Webserver-01" + nameserver = (known after apply) + numa = false + onboot = true + os_type = "cloud-init" + preprovision = true + reboot_required = (known after apply) + scsihw = "virtio-scsi-pci" + searchdomain = (known after apply) + sockets = 1 + ssh_host = (known after apply) + ssh_port = (known after apply) + sshkeys = <<-EOT ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQCy7xoR/33vZpsQ31jVDZZWkYIDNQkMI/cbDVHp99twFhwvmkF8QfLvgtTKjhFVgeF9p0mihc8XHfikFQCp+rhmEo7vjodJgT9ZZepLSZ3FG6KG1dBtsWbzfLvub2G3BUCdDA3BDGjM737q6RwnrbnRtSwiDgdJ3hiRz3Ygbo2mY0RFaSGMv73QNRFe/mlHOxsbb8nc4hyrPyMKX66cM3vcTd+dCvBd+PY0G1kTtR2b7yo1Lyhs8WRerHO9aterMBHBdV09W1G1oNRPAQnZCt1Mdd68ifD8/g5nB2EeC21K/rt7bmiN5Eqr0FdsAAyzcPq51voSyK9cQrvvz3/hRN0SlONuRINIabR7G03uTM2PD7API4Jdj8Jju2CLiKvpJxkuqss5nwc/UINtHGLmYg7AML1DDA8EkB5fDl43no0RmKaKGCK/ODNSunMsN9P9vvUFH/Li4mvLQmuwWS79O+PBdO+lJMXK9eOsfZX8OcYxLbVaGAPZ5XMZnqt4X115tF9vMzzW0eIfEfg3ciEWc1kpoQMr1uDg5cPteVaS1Grw5+fsZg03WoA/1uiLt//vpdUpbc+8iI3FM4h9oU9enZaZiKf3legOZ60WvcUbE0u74rEbqyESgnZtjyMx6OVFHCbUoiU1T+rY5IsVlwQQjKcX98Wrx7zT01hRIDXJwFhY2w== oloye@DESKTOP-L3RVSUR EOT + target_node = "m1120" + unused_disk = (known after apply) + vcpus = 0 + vlan = -1 + vmid = (known after apply) + disk { + backup = 0 + cache = "none" + file = (known after apply) + format = (known after apply) + iothread = 0 + mbps = 0 + mbps_rd = 0 + mbps_rd_max = 0 + mbps_wr = 0 + mbps_wr_max = 0 + media = (known after apply) + replicate = 0 + size = "10G" + slot = (known after apply) + ssd = 0 + storage = "local-lvm" + storage_type = (known after apply) + type = "scsi" + volume = (known after apply) } + network { + bridge = "vmbr99" + firewall = false + link_down = false + macaddr = (known after apply) + model = "virtio" + queues = (known after apply) + rate = (known after apply) + tag = -1 } } Plan: 1 to add, 0 to change, 0 to destroy. Do you want to perform these actions? Terraform will perform the actions described above. Only 'yes' will be accepted to approve. Enter a value: yes proxmox_vm_qemu.my_vm: Creating... proxmox_vm_qemu.my_vm: Still creating... [10s elapsed] ╷ │ Error: Plugin did not respond │ │ with proxmox_vm_qemu.my_vm, │ on main.tf line 17, in resource "proxmox_vm_qemu" "my_vm": │ 17: resource "proxmox_vm_qemu" "my_vm" { │ │ 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.7.4.exe plugin: panic: interface conversion: interface {} is nil, not []interface {} goroutine 48 [running]: github.com/Telmate/proxmox-api-go/proxmox.(*Client).GetVmRefsByName(0xc0003253b0, 0xc00030d720, 0x10, 0x920000, 0xb08aa0, 0x0, 0x0, 0xc000228000) github.com/Telmate/proxmox-api-go@v0.0.0-20210713150936-9bfd169c655f/proxmox/client.go:180 +0x899 github.com/Telmate/proxmox-api-go/proxmox.(*Client).GetVmRefByName(...) github.com/Telmate/proxmox-api-go@v0.0.0-20210713150936-9bfd169c655f/proxmox/client.go:170 github.com/Telmate/terraform-provider-proxmox/proxmox.resourceVmQemuCreate(0xc0005f3480, 0x8faec0, 0xc000325400, 0x0, 0x0) github.com/Telmate/terraform-provider-proxmox/proxmox/resource_vm_qemu.go:776 +0x1629 github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).create(0xc0000dc460, 0xb26d78, 0xc0002079c0, 0xc0005f3480, 0x8faec0, 0xc000325400, 0x0, 0x0, 0x0) github.com/hashicorp/terraform-plugin-sdk/v2@v2.6.1/helper/schema/resource.go:318 +0x1f6 github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*Resource).Apply(0xc0000dc460, 0xb26d78, 0xc0002079c0, 0xc0001f7340, 0xc0005e5ca0, 0x8faec0, 0xc000325400, 0x0, 0x0, 0x0, ...) github.com/hashicorp/terraform-plugin-sdk/v2@v2.6.1/helper/schema/resource.go:456 +0x67b github.com/hashicorp/terraform-plugin-sdk/v2/helper/schema.(*GRPCProviderServer).ApplyResourceChange(0xc000004090, 0xb26d78, 0xc0002079c0, 0xc0005e2aa0, 0xc0002079c0, 0x9f4aa0, 0xc000303800) github.com/hashicorp/terraform-plugin-sdk/v2@v2.6.1/helper/schema/grpc_provider.go:955 +0x8ef github.com/hashicorp/terraform-plugin-go/tfprotov5/server.(*server).ApplyResourceChange(0xc00030b1c0, 0xb26e20, 0xc0002079c0, 0xc0001f7030, 0xc00030b1c0, 0xc000303860, 0xc000277ba0) github.com/hashicorp/terraform-plugin-go@v0.3.0/tfprotov5/server/server.go:332 +0xb6 github.com/hashicorp/terraform-plugin-go/tfprotov5/internal/tfplugin5._Provider_ApplyResourceChange_Handler(0x9f4aa0, 0xc00030b1c0, 0xb26e20, 0xc000303860, 0xc000300720, 0x0, 0xb26e20, 0xc000303860, 0xc00032b000, 0xf21) github.com/hashicorp/terraform-plugin-go@v0.3.0/tfprotov5/internal/tfplugin5/tfplugin5_grpc.pb.go:380 +0x222 google.golang.org/grpc.(*Server).processUnaryRPC(0xc000290c40, 0xb2eb78, 0xc000505380, 0xc0005ba000, 0xc0003026f0, 0xf3fc60, 0x0, 0x0, 0x0) google.golang.org/grpc@v1.32.0/server.go:1194 +0x52b google.golang.org/grpc.(*Server).handleStream(0xc000290c40, 0xb2eb78, 0xc000505380, 0xc0005ba000, 0x0) google.golang.org/grpc@v1.32.0/server.go:1517 +0xd0c google.golang.org/grpc.(*Server).serveStreams.func1.2(0xc00011e210, 0xc000290c40, 0xb2eb78, 0xc000505380, 0xc0005ba000) google.golang.org/grpc@v1.32.0/server.go:859 +0xb2 created by google.golang.org/grpc.(*Server).serveStreams.func1 google.golang.org/grpc@v1.32.0/server.go:857 +0x1fd Error: The terraform-provider-proxmox_v2.7.4.exe 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.
Editor is loading...
Leave a Comment