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
2020/09/02 08:42:54 [INFO] backend/local: apply calling Apply
2020/09/02 08:42:54 [INFO] terraform: building graph: GraphTypeApply
2020/09/02 08:42:54 [DEBUG] Resource state not found for node "proxmox_vm_qemu.k3s_server", instance proxmox_vm_qemu.k3s_server
2020/09/02 08:42:54 [DEBUG] ProviderTransformer: "proxmox_vm_qemu.k3s_server (prepare state)" (*terraform.NodeApplyableResource) needs provider.proxmox
2020/09/02 08:42:54 [DEBUG] ReferenceTransformer: "proxmox_vm_qemu.k3s_server" references: []
2020/09/02 08:42:54 [DEBUG] ReferenceTransformer: "provisioner.local-exec" references: []
2020/09/02 08:42:54 [DEBUG] ReferenceTransformer: "var.pm_api_url" references: []
2020/09/02 08:42:54 [DEBUG] ReferenceTransformer: "var.pm_user" references: []
2020/09/02 08:42:54 [DEBUG] ReferenceTransformer: "var.pm_password" references: []
2020/09/02 08:42:54 [DEBUG] ReferenceTransformer: "var.ssh_key" references: []
2020/09/02 08:42:54 [DEBUG] ReferenceTransformer: "provider.proxmox" references: [var.pm_user var.pm_api_url var.pm_password]
2020/09/02 08:42:54 [DEBUG] ReferenceTransformer: "proxmox_vm_qemu.k3s_server (prepare state)" references: []
2020-09-02T08:42:54.902-0400 [DEBUG] plugin: starting plugin: path=/usr/local/opt/terraform@0.12/bin/terraform args=[/usr/local/opt/terraform@0.12/bin/terraform, internal-plugin, provisioner, local-exec]
2020-09-02T08:42:54.905-0400 [INFO] plugin: configuring client automatic mTLS
2020-09-02T08:42:54.911-0400 [DEBUG] plugin: plugin started: path=/usr/local/opt/terraform@0.12/bin/terraform pid=53615
2020-09-02T08:42:54.911-0400 [DEBUG] plugin: waiting for RPC address: path=/usr/local/opt/terraform@0.12/bin/terraform
2020-09-02T08:42:54.956-0400 [DEBUG] plugin.terraform: 2020/09/02 08:42:54 [WARN] Log levels other than TRACE are currently unreliable, and are supported only for backward compatibility.
2020-09-02T08:42:54.956-0400 [DEBUG] plugin.terraform: Use TF_LOG=TRACE to see Terraform's internal logs.
2020-09-02T08:42:54.956-0400 [DEBUG] plugin.terraform: ----
2020-09-02T08:42:54.967-0400 [DEBUG] plugin: starting plugin: path=/Users/janudu/.terraform.d/plugins/terraform-provider-proxmox args=[/Users/janudu/.terraform.d/plugins/terraform-provider-proxmox]
2020-09-02T08:42:54.971-0400 [DEBUG] plugin: plugin started: path=/Users/janudu/.terraform.d/plugins/terraform-provider-proxmox pid=53617
2020-09-02T08:42:54.972-0400 [DEBUG] plugin: waiting for RPC address: path=/Users/janudu/.terraform.d/plugins/terraform-provider-proxmox
2020-09-02T08:42:54.997-0400 [DEBUG] plugin.terraform: 2020/09/02 08:42:54 [INFO] Terraform version: 0.12.29
2020-09-02T08:42:54.997-0400 [DEBUG] plugin.terraform: 2020/09/02 08:42:54 [INFO] Go runtime version: go1.13.15
2020-09-02T08:42:54.997-0400 [DEBUG] plugin.terraform: 2020/09/02 08:42:54 [INFO] CLI args: []string{"/usr/local/opt/terraform@0.12/bin/terraform", "internal-plugin", "provisioner", "local-exec"}
2020-09-02T08:42:54.997-0400 [DEBUG] plugin.terraform: 2020/09/02 08:42:54 [DEBUG] Attempting to open CLI config file: /Users/janudu/.terraformrc
2020-09-02T08:42:54.997-0400 [DEBUG] plugin.terraform: 2020/09/02 08:42:54 [DEBUG] File doesn't exist, but doesn't need to. Ignoring.
2020-09-02T08:42:54.997-0400 [DEBUG] plugin.terraform: 2020/09/02 08:42:54 [DEBUG] checking for credentials in "/Users/janudu/.terraform.d/plugins"
2020-09-02T08:42:54.997-0400 [INFO] plugin.terraform-provider-proxmox: configuring server automatic mTLS: timestamp=2020-09-02T08:42:54.997-0400
2020-09-02T08:42:54.998-0400 [DEBUG] plugin.terraform: 2020/09/02 08:42:54 [INFO] CLI command args: []string{"internal-plugin", "provisioner", "local-exec"}
2020-09-02T08:42:54.999-0400 [DEBUG] plugin.terraform: local-exec-provisioner (internal) 2020/09/02 08:42:54 [INFO] Starting provisioner plugin local-exec
2020-09-02T08:42:55.000-0400 [DEBUG] plugin.terraform: plugin address: address=/var/folders/4y/573l_nzj16j_xvjz9qt70r4m0000gn/T/plugin853067055 network=unix timestamp=2020-09-02T08:42:54.999-0400
2020-09-02T08:42:55.000-0400 [DEBUG] plugin: using plugin: version=5
2020-09-02T08:42:55.052-0400 [DEBUG] plugin.terraform-provider-proxmox: plugin address: network=unix address=/var/folders/4y/573l_nzj16j_xvjz9qt70r4m0000gn/T/plugin863140820 timestamp=2020-09-02T08:42:55.052-0400
2020-09-02T08:42:55.052-0400 [DEBUG] plugin: using plugin: version=5
2020-09-02T08:42:55.122-0400 [WARN] plugin.stdio: received EOF, stopping recv loop: err="rpc error: code = Unimplemented desc = unknown service plugin.GRPCStdio"
proxmox_vm_qemu.k3s_server: Creating...
2020/09/02 08:42:55 [DEBUG] proxmox_vm_qemu.k3s_server: applying the planned Create change
2020-09-02T08:42:55.162-0400 [DEBUG] plugin.terraform-provider-proxmox: {"data":[{"name":"vmTemplate","pool":"pooltest","id":"qemu/100","uptime":0,"maxcpu":1,"netin":0,"type":"qemu","node":"pve","template":0,"disk":0,"status":"stopped","maxdisk":10737418240,"vmid":100,"maxmem":2147483648,"diskread":0,"netout":0,"mem":0,"cpu":0,"diskwrite":0},{"maxcpu":1,"id":"qemu/101","uptime":0,"pool":"pooltest","name":"test","node":"pve2","type":"qemu","netin":0,"vmid":101,"maxdisk":10737418240,"status":"stopped","disk":0,"template":1,"diskwrite":0,"cpu":0,"mem":0,"netout":0,"diskread":0,"maxmem":2147483648}]}
2020-09-02T08:43:11.526-0400 [DEBUG] plugin.terraform-provider-proxmox: Csrfpreventiontoken: 5F4F934F:h7QCi+kGRc9PV/6qf1xJ81V4lA3Zmwkp0bna1bQJhaA
2020-09-02T08:43:11.526-0400 [DEBUG] plugin.terraform-provider-proxmox: Accept-Encoding: gzip
2020-09-02T08:43:11.526-0400 [DEBUG] plugin.terraform-provider-proxmox:
2020-09-02T08:43:11.526-0400 [DEBUG] plugin.terraform-provider-proxmox: agent=0&bios=seabios&boot=cdn&bootdisk=scsi0&cores=2&cpu=host&delete=balloon%2C+vcpus%2C+vga&hotplug=network%2Cdisk%2Cusb&kvm=1&memory=2048&name=terraformVM&net0=virtio%3DEA%3ABA%3A39%3A97%3A9C%3AA0%2Cbridge%3Dvmbr0&numa=0&onboot=1&scsi0=media%3Ddisk%2Csize%3D20%2Cfile%3Dtest%3A102%2Fvm-102-disk-0.raw%2Ciothread%3D1%2Cformat%3Draw&scsihw=virtio-scsi-pci&sockets=1
2020-09-02T08:43:11.584-0400 [DEBUG] plugin.terraform-provider-proxmox: 2020/09/02 08:43:11 <<<<<<<<<< RESULT:
2020-09-02T08:43:11.584-0400 [DEBUG] plugin.terraform-provider-proxmox: HTTP/1.1 500 unable to parse zfs volume name '102/vm-102-disk-0.raw'
2020-09-02T08:43:11.584-0400 [DEBUG] plugin.terraform-provider-proxmox: Connection: close
2020-09-02T08:43:11.584-0400 [DEBUG] plugin.terraform-provider-proxmox: Content-Length: 13
2020-09-02T08:43:11.584-0400 [DEBUG] plugin.terraform-provider-proxmox: Cache-Control: max-age=0
2020-09-02T08:43:11.584-0400 [DEBUG] plugin.terraform-provider-proxmox: Content-Type: application/json;charset=UTF-8
2020-09-02T08:43:11.584-0400 [DEBUG] plugin.terraform-provider-proxmox: Date: Wed, 02 Sep 2020 12:43:11 GMT
2020-09-02T08:43:11.584-0400 [DEBUG] plugin.terraform-provider-proxmox: Expires: Wed, 02 Sep 2020 12:43:11 GMT
2020-09-02T08:43:11.584-0400 [DEBUG] plugin.terraform-provider-proxmox: Pragma: no-cache
2020-09-02T08:43:11.584-0400 [DEBUG] plugin.terraform-provider-proxmox: Server: pve-api-daemon/3.0
2020-09-02T08:43:11.584-0400 [DEBUG] plugin.terraform-provider-proxmox:
2020-09-02T08:43:11.584-0400 [DEBUG] plugin.terraform-provider-proxmox: {"data":null}
2020-09-02T08:43:11.584-0400 [DEBUG] plugin.terraform-provider-proxmox: 2020/09/02 08:43:11 500 unable to parse zfs volume name '102/vm-102-disk-0.raw'
2020/09/02 08:43:11 [DEBUG] proxmox_vm_qemu.k3s_server: apply errored, but we're indicating that via the Error pointer rather than returning it: 500 unable to parse zfs volume name '102/vm-102-disk-0.raw'
2020/09/02 08:43:11 [ERROR] <root>: eval: *terraform.EvalApplyPost, err: 500 unable to parse zfs volume name '102/vm-102-disk-0.raw'
2020/09/02 08:43:11 [ERROR] <root>: eval: *terraform.EvalSequence, err: 500 unable to parse zfs volume name '102/vm-102-disk-0.raw'
Error: 500 unable to parse zfs volume name '102/vm-102-disk-0.raw'
on main.tf line 1, in resource "proxmox_vm_qemu" "k3s_server":
1: resource "proxmox_vm_qemu" "k3s_server" {
2020-09-02T08:43:11.607-0400 [WARN] plugin.stdio: received EOF, stopping recv loop: err="rpc error: code = Unavailable desc = transport is closing"
2020-09-02T08:43:11.608-0400 [DEBUG] plugin: plugin process exited: path=/Users/janudu/.terraform.d/plugins/terraform-provider-proxmox pid=53617
2020-09-02T08:43:11.608-0400 [DEBUG] plugin: plugin exited
2020-09-02T08:43:11.611-0400 [DEBUG] plugin: plugin process exited: path=/usr/local/opt/terraform@0.12/bin/terraform pid=53615
2020-09-02T08:43:11.611-0400 [DEBUG] plugin: plugin exited