Recent content by dmitrynovice

  1. D

    [SOLVED] Proxmox 7+ unable to parse worker upid

    Good news that you found what causing this. Thank you. I also completely agree with your recomendation about more reliable code. But while I am developing first "prototype" I am not using complex checks with re-sending requests nor even "try-catch". I am not considering "border cases" or any...
  2. D

    [SOLVED] Proxmox 7+ unable to parse worker upid

    Thanks a lot! Main goal was to get attention of developers or QA team. Currently I am in "progress of development" so this problem not urgent for me. Project is quite ambitious so I want to be sure how Proxmox Api will work under load. I was also testing "GET vm config" and found that "under...
  3. D

    [SOLVED] Proxmox 7+ unable to parse worker upid

    Done. HTTP/1.1 500 close (rename) atomic file '/var/log/pve/tasks/active' failed: No such file or directory request was: curl -i -X POST -k -d "delete=net14" https://192.168.1.222:8006/api2/json/nodes/ilja/qemu/177/config -H 'Authorization...
  4. D

    [SOLVED] Proxmox 7+ unable to parse worker upid

    So okay. Seems like I found what it was. UPID parsing working just fine. Root cause is that sometimes Proxmox answer with "'{"data":null}'" for config change request (POST). So my script can not find UPID. Example of request and response from logs of my script: request was: curl -X POST -k...
  5. D

    [SOLVED] Proxmox 7+ unable to parse worker upid

    Hello. I am testing my script which uses Proxmox API (7.3-3) for creation/removing network interfaces (or other things in vm config). While testing it was common situation to have 20+ network interfaces on vm. So I wrote something like: const hv = require('../hv') //177 is vmid for (let i...
  6. D

    [SOLVED] How to remove network interface using Proxmox API?

    Thank you! It's working great. I will add example for future readers: curl -X PUT -k -b PVEAuthCookie= -H "CSRFPreventionToken:" -d delete=net24 https://192.168.1.222:8006/api2/json/nodes/node1/qemu/177/config -H 'Authorization...
  7. D

    [SOLVED] How to remove network interface using Proxmox API?

    Hello. I can add network interface using this command: curl -X PUT -k -b PVEAuthCookie= -H "CSRFPreventionToken:" -d net24=model%3Dvirtio%2Cbridge%3Dvmbr3334 https://192.168.1.222:8006/api2/json/nodes/node1/qemu/177/config -H 'Authorization...
  8. D

    Change vm args using api + api token authorization schema

    Thank you for this information! Is there any way to remove this restriction? Proxmox codebase is quite large. Can you please point to what direction (in source code) I need to dig in order to change this behavior?
  9. D

    Change vm args using api + api token authorization schema

    Hello. I am trying to set vm vnc port using api. Previously when I was performing this using "PVEAuthCookie authorization schema" everything worked fine. Now I am trying to switch my script to "PVEAPIToken schema". Problem is that my request does not change args and return '{"data":null}'...
  10. D

    Linux guest starts after command "shutdown now"

    Hello. After I issue command "shutdown now" inside my linux guest (Centos 7) it stops for short moment and then starts again. Is this behavior correct? How can I shutdown vm from OS? Start on boot = no. Qemu-agent installed and running. ACPID installed and running. VM is enabled in HA with...
  11. D

    Slow HA migration of VM with shared storage

    I was suspecting this but now it's clear. Thanks!
  12. D

    Slow HA migration of VM with shared storage

    Migration of another vm between same nodes: 2019-04-03 17:51:48 migration speed: 1170.29 MB/s - downtime 140 ms 2019-04-03 17:51:48 migration status: completed 2019-04-03 17:51:51 migration finished successfully (duration 00:00:20) TASK OK VM has 16 gb of ram. Weird...
  13. D

    Slow HA migration of VM with shared storage

    Hello. HA migration of VM between two nodes was really slow (speed: 9.19 MB/s). Total ram of VM is 8 gb. Storage is shared (Ceph external). Network speed between nodes is 10 Gbits/sec. Usually migration speed is something like in this example: (1365.33 MB/s - downtime 90 ms). Can you please...

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!