Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [90mSat, 09 Oct 2021 21:55:02 -0500[0m [32mINF[0m [1mgithub.com/Telmate/terraform-provider-proxmox/proxmox/util.go:141[0m[36m >[0m Enabling the capture of log-library logs as ithe _capturelog flag was detected
- [90mSat, 09 Oct 2021 21:55:02 -0500[0m [32mINF[0m [1mgithub.com/Telmate/terraform-provider-proxmox/proxmox/util.go:174[0m[36m >[0m Logging Started. Root Logger Set to level debug
- [90mSat, 09 Oct 2021 21:56:06 -0500[0m [32mINF[0m [1mgithub.com/Telmate/terraform-provider-proxmox/proxmox/util.go:141[0m[36m >[0m Enabling the capture of log-library logs as ithe _capturelog flag was detected
- [90mSat, 09 Oct 2021 21:56:06 -0500[0m [32mINF[0m [1mgithub.com/Telmate/terraform-provider-proxmox/proxmox/util.go:174[0m[36m >[0m Logging Started. Root Logger Set to level debug
- [90mSat, 09 Oct 2021 21:56:07 -0500[0m [32mINF[0m [1mgithub.com/Telmate/terraform-provider-proxmox/proxmox/util.go:141[0m[36m >[0m Enabling the capture of log-library logs as ithe _capturelog flag was detected
- [90mSat, 09 Oct 2021 21:56:07 -0500[0m [32mINF[0m [1mgithub.com/Telmate/terraform-provider-proxmox/proxmox/util.go:174[0m[36m >[0m Logging Started. Root Logger Set to level debug
- 2021/10/09 21:56:07 [DEBUG] setting computed for "unused_disk" from ComputedKeys
- [90mSat, 09 Oct 2021 21:56:07 -0500[0m [33mDBG[0m [1mgithub.com/Telmate/terraform-provider-proxmox/proxmox/resource_vm_qemu.go:726[0m[36m >[0m Invoking VM create with resource data: '{"additional_wait":15,"agent":1,"args":"","balloon":0,"bios":"seabios","boot":"cdn","bootdisk":"scsi0","bridge":"","ci_wait":0,"cicustom":"","cipassword":"","ciuser":"","clone":"ubuntu-2004-cloudinit-template","clone_wait":15,"cloudinit_cdrom_storage":"","cores":2,"cpu":"host","default_ipv4_address":"","define_connection_info":true,"desc":"","disk":[{"backup":0,"cache":"none","discard":"","file":"","format":"","iothread":1,"mbps":0,"mbps_rd":0,"mbps_rd_max":0,"mbps_wr":0,"mbps_wr_max":0,"media":"","replicate":0,"size":"10G","slot":0,"ssd":0,"storage":"local-zfs","storage_type":"","type":"scsi","volume":""}],"disk_gb":0,"force_create":false,"force_recreate_on_change_of":"","full_clone":true,"guest_agent_ready_timeout":600,"hastate":"","hotplug":"network,disk,usb","ipconfig0":"ip=192.168.11.61/24,gw=192.168.11.1","ipconfig1":"","ipconfig2":"","ipconfig3":"","ipconfig4":"","ipconfig5":"","iso":"","kvm":true,"mac":"","memory":2048,"name":"test-vm-1","nameserver":"","network":[{"bridge":"vmbr0","firewall":false,"link_down":false,"macaddr":"","model":"virtio","queues":0,"rate":0,"tag":-1}],"nic":"","numa":false,"onboot":true,"os_network_config":"","os_type":"cloud-init","pool":"","preprovision":true,"qemu_os":"","reboot_required":false,"scsihw":"virtio-scsi-pci","searchdomain":"","serial":[],"sockets":1,"ssh_forward_ip":"","ssh_host":"","ssh_port":"","ssh_private_key":"","ssh_user":"","sshkeys":" XXX","storage":"","storage_type":"","tags":"","target_node":"192.168.11.30","unused_disk":[],"vcpus":0,"vga":[],"vlan":-1,"vmid":0}' [36mloggerName=[0mresource_vm_create [36mvmid=[0m
- 2021/10/09 21:56:07 [DEBUG] checking for duplicate name
- 2021/10/09 21:56:07 >>>>>>>>>> REQUEST:
- GET /api2/json/cluster/resources?type=vm HTTP/1.1
- Host: 192.168.11.30:8006
- User-Agent: Go-http-client/1.1
- Accept: application/json
- Authorization: PVEAPIToken=XXX@pam!new_token_id=XXX
- Accept-Encoding: gzip
- 2021/10/09 21:56:07 <<<<<<<<<< RESULT:
- HTTP/1.1 200 OK
- Content-Length: 1805
- Cache-Control: max-age=0
- Connection: Keep-Alive
- Content-Type: application/json;charset=UTF-8
- Date: Sun, 10 Oct 2021 02:56:14 GMT
- Expires: Sun, 10 Oct 2021 02:56:14 GMT
- Pragma: no-cache
- Server: pve-api-daemon/3.0
- {"data":[{"maxmem":8589934592,"disk":0,"uptime":0,"mem":0,"status":"stopped","maxdisk":107374182400,"id":"qemu/100","vmid":100,"netin":0,"cpu":0,"maxcpu":8,"diskwrite":0,"type":"qemu","diskread":0,"node":"pve","netout":0,"name":"PopOS","template":0},{"cpu":0,"netin":0,"maxcpu":4,"maxdisk":107374182400,"id":"qemu/101","status":"stopped","vmid":101,"mem":0,"maxmem":8589934592,"disk":0,"uptime":0,"netout":0,"name":"ub2104","template":0,"diskread":0,"node":"pve","type":"qemu","diskwrite":0},{"node":"pve","diskread":0,"name":"ubsrv1","template":0,"netout":0,"diskwrite":0,"type":"qemu","vmid":301,"id":"qemu/301","maxdisk":13098811392,"status":"stopped","cpu":0,"netin":0,"maxcpu":2,"disk":0,"maxmem":2147483648,"uptime":0,"mem":0},{"maxcpu":4,"netin":930436479420,"cpu":0.0143776945880614,"vmid":302,"id":"qemu/302","maxdisk":107374182400,"status":"running","mem":4006273024,"uptime":598407,"disk":0,"maxmem":4294967296,"name":"mediaserver","template":0,"netout":472364268166,"node":"pve","diskread":23373586954,"type":"qemu","diskwrite":132512635904},{"diskwrite":0,"type":"lxc","template":0,"name":"wordpress","netout":0,"node":"pve","diskread":0,"mem":0,"uptime":0,"disk":0,"maxmem":1073741824,"maxcpu":1,"netin":0,"cpu":0,"vmid":501,"id":"lxc/501","maxdisk":8589934592,"status":"stopped"},{"diskwrite":0,"type":"qemu","name":"VM 9000","template":1,"netout":0,"node":"pve","diskread":0,"mem":0,"disk":0,"maxmem":2147483648,"uptime":0,"cpu":0,"netin":0,"maxcpu":1,"vmid":9000,"id":"qemu/9000","maxdisk":2361393152,"status":"stopped"},{"mem":0,"uptime":0,"disk":0,"maxmem":2147483648,"maxcpu":2,"cpu":0,"netin":0,"vmid":9001,"status":"stopped","maxdisk":2361393152,"id":"qemu/9001","diskwrite":0,"type":"qemu","template":1,"name":"ubuntu-2004-cloudinit-template","netout":0,"node":"pve","diskread":0}]}
- 2021/10/09 21:56:07 >>>>>>>>>> REQUEST:
- GET /api2/json/cluster/nextid HTTP/1.1
- Host: 192.168.11.30:8006
- User-Agent: Go-http-client/1.1
- Accept: application/json
- Authorization: PVEAPIToken=XXX@pam!new_token_id=XXX
- Accept-Encoding: gzip
- 2021/10/09 21:56:07 <<<<<<<<<< RESULT:
- HTTP/1.1 200 OK
- Content-Length: 14
- Cache-Control: max-age=0
- Connection: Keep-Alive
- Content-Type: application/json;charset=UTF-8
- Date: Sun, 10 Oct 2021 02:56:14 GMT
- Expires: Sun, 10 Oct 2021 02:56:14 GMT
- Pragma: no-cache
- Server: pve-api-daemon/3.0
- {"data":"102"}
- 2021/10/09 21:56:07 >>>>>>>>>> REQUEST:
- GET /api2/json/cluster/resources?type=vm HTTP/1.1
- Host: 192.168.11.30:8006
- User-Agent: Go-http-client/1.1
- Accept: application/json
- Authorization: PVEAPIToken=XXX@pam!new_token_id=XXX
- Accept-Encoding: gzip
- 2021/10/09 21:56:07 <<<<<<<<<< RESULT:
- HTTP/1.1 200 OK
- Content-Length: 1805
- Cache-Control: max-age=0
- Connection: Keep-Alive
- Content-Type: application/json;charset=UTF-8
- Date: Sun, 10 Oct 2021 02:56:14 GMT
- Expires: Sun, 10 Oct 2021 02:56:14 GMT
- Pragma: no-cache
- Server: pve-api-daemon/3.0
- {"data":[{"type":"qemu","diskwrite":0,"name":"PopOS","template":0,"netout":0,"node":"pve","diskread":0,"mem":0,"disk":0,"maxmem":8589934592,"uptime":0,"netin":0,"cpu":0,"maxcpu":8,"vmid":100,"id":"qemu/100","maxdisk":107374182400,"status":"stopped"},{"netout":0,"template":0,"name":"ub2104","diskread":0,"node":"pve","diskwrite":0,"type":"qemu","cpu":0,"netin":0,"maxcpu":4,"maxdisk":107374182400,"status":"stopped","id":"qemu/101","vmid":101,"mem":0,"maxmem":8589934592,"disk":0,"uptime":0},{"netin":0,"cpu":0,"maxcpu":2,"vmid":301,"status":"stopped","maxdisk":13098811392,"id":"qemu/301","mem":0,"disk":0,"maxmem":2147483648,"uptime":0,"template":0,"name":"ubsrv1","netout":0,"node":"pve","diskread":0,"type":"qemu","diskwrite":0},{"maxdisk":107374182400,"id":"qemu/302","status":"running","vmid":302,"maxcpu":4,"cpu":0.0143776945880614,"netin":930436479420,"uptime":598407,"maxmem":4294967296,"disk":0,"mem":4006273024,"diskread":23373586954,"node":"pve","netout":472364268166,"template":0,"name":"mediaserver","diskwrite":132512635904,"type":"qemu"},{"diskwrite":0,"type":"lxc","netout":0,"name":"wordpress","template":0,"diskread":0,"node":"pve","mem":0,"maxmem":1073741824,"disk":0,"uptime":0,"netin":0,"cpu":0,"maxcpu":1,"id":"lxc/501","maxdisk":8589934592,"status":"stopped","vmid":501},{"type":"qemu","diskwrite":0,"netout":0,"template":1,"name":"VM 9000","diskread":0,"node":"pve","mem":0,"uptime":0,"maxmem":2147483648,"disk":0,"maxcpu":1,"netin":0,"cpu":0,"maxdisk":2361393152,"id":"qemu/9000","status":"stopped","vmid":9000},{"diskwrite":0,"type":"qemu","diskread":0,"node":"pve","netout":0,"name":"ubuntu-2004-cloudinit-template","template":1,"maxmem":2147483648,"disk":0,"uptime":0,"mem":0,"id":"qemu/9001","maxdisk":2361393152,"status":"stopped","vmid":9001,"cpu":0,"netin":0,"maxcpu":2}]}
- 2021/10/09 21:56:07 [DEBUG] cloning VM
- 2021/10/09 21:56:07 >>>>>>>>>> REQUEST:
- POST /api2/json/nodes/pve/qemu/9001/clone HTTP/1.1
- Host: 192.168.11.30:8006
- User-Agent: Go-http-client/1.1
- Content-Length: 70
- Accept: application/json
- Authorization: PVEAPIToken=XXX@pam!new_token_id=XXX
- Content-Type: application/x-www-form-urlencoded
- Accept-Encoding: gzip
- full=1&name=test-vm-1&newid=102&storage=local-zfs&target=192.168.11.30
- 2021/10/09 21:56:07 <<<<<<<<<< RESULT:
- HTTP/1.1 400 Parameter verification failed.
- Connection: close
- Content-Length: 97
- Cache-Control: max-age=0
- Content-Type: application/json;charset=UTF-8
- Date: Sun, 10 Oct 2021 02:56:14 GMT
- Expires: Sun, 10 Oct 2021 02:56:14 GMT
- Pragma: no-cache
- Server: pve-api-daemon/3.0
- {"errors":{"target":"invalid format - value does not look like a valid node name\n"},"data":null}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement