api

  1. L

    SMTP Dialog Antworten Log ID

    Hi zusammen, sofern PMG E-Mails annimmt oder blockiert wird geantwortet mit: 250 2.5.0 OK ($self->{queue}->{logid}) 554 5.7.1 [...] ($self->{queue}->{logid}) Der PMG API Endpunkt /tracker/(id) (https://pmg.proxmox.com/pmg-docs/api-viewer/index.html#/nodes/{node}/tracker/{id}) führt neben der...
  2. R

    Proxmox HTTP API Firewall - Doesn't return any optional values

    Hello! I need to get the firewall options from all my VMs via an API call. I found out that the optional parameters are not sent at all when they are at the default values. But the API Viewer shows the default values just for dhcp, enable, macfilter, ndp as boolean 0. The other parameters have...
  3. P

    [Proxmox VE 4.4-24] No API /status/start-stop

    I'm trying to call start/stop with API. but I get "data": null in response. /api2/json/nodes/{node}/qemu/{vmid}/status/start I would like to make VM start upon creation. Any suggestions ? NOTE: I know this is an outdated version, but why API is not working ?
  4. G

    [SOLVED] /cluster/resources restrictions

    Hi! Noted something strange: accoding to description: Required permission: Accessible by all authenticated users. But then not privileged user reads this, it gets [{'type': 'node', 'status': 'online', 'id': 'node/pve2', 'level': '', 'node': 'pve2'}] while admin gets normal output like this...
  5. J

    Authentication Method Affecting ISO Upload

    When using the HTTPS API, it appears that the authentication method affects ISO uploads. When using standard username/password authentication, the upload works as expected. When using an API Token (for the same user with all the user's permissions), the upload fails and the Response is a 501...
  6. florian-n

    [SOLVED] 500 Internal Server Error: unable to find configuration file for VM 1000 on node 'alfa'

    Hi we're trying to deploy a linked clone via Ansible's "community.general.proxmox_kvm" module. The template vm (disk and cloudinit disk) is laid out on a cluster wide accessible RBD storage. During the creation step we receive a "500 Internal Server Error": Unable to clone vm fam-dev from...
  7. A

    API parse errors when lxc tags are null

    When testing the /nodes/{node}/lxc/{vmid}/config path for the API I noticed that a parse error is returned whenever the tags of a lxc instance are null. Regardless of the error being returned the tags are updated correctly in both the null -> defined and defined -> null scenarios. This same...
  8. D

    HTTP API Error 596

    Hi, I implemented the check_pve script from https://github.com/nbuchwitz/check_pve to have Proxmox monitored from my Icinga2 instance. Some checks run good, some others receives HTTP error code 596: root@node01:~/check_pve-1.1.3# ./check_pve.py -e node1 -u icinga2@pve -p password -k -m...
  9. florian-n

    [SOLVED] Cloud-init isn't applied after linked clone of template via API

    Hi, currently we're trying to create template based clones using Ansible's community.general.proxmox_kvm. To make the clones configurable we stick with cloud-init. We are building the template using a hand rolled Packer configuration which deploys fine (locally as well as in our production...
  10. S

    Edit configuration before starting VM through custom hook script

    First of all I would like to thank the Proxmox team for the great software and the nice community they built. I'm using a custom hook script (hookscript.pl) to manage VMs on a system with various GPUs passed through. The first motivation to do so is to avoid a VM (which requires a GPU) being...
  11. S

    Proxmox API - vncproxy / vnxwebsocket

    Guten Tag zusammen, ich habe jetzt STUNDEN damit verbracht eine Implementierung eines xterm oder eines noVNC auf einer externen Seite zu programmieren. Folgende Auffälligkeiten... Der API Call "vncproxy" generiert zwar ein Ticket, dass ist aber nicht das Ticket welches "vncwebsocket" erwartet...
  12. S

    API Internal Server Error [500], but requests complete?

    Hi everyone, We're in need for some help here please. In short, some of the API requests return with 500, but complete anyway. We're on proxmox-ve: 6.2-1 There are no errors in /var/log/syslog in fact here is one of the successful attempts: Jan 7 15:47:45 xxx.xxx.xxx pvedaemon[42603]...
  13. J

    Mock API in (docker) container?

    I would like to be able to run some tests against the API for PVE (and PMG and PBS) but I don't want to have an entire instance of PVE installed. I know PVE needs its own kernel to work correctly (which cannot be guaranteed in a container) but I am not sure how much functionality is dependent on...
  14. J

    bpssh utility?

    Is there a command line utility to interact with the PBS API similar to pvesh or pmgsh? I tried pbssh but that does not exist (or at least is not on the path).
  15. R

    Support for Flatcar Linux vm's using ignition config

    Are there any plans to make the needed modifications on the config files located at /etc/pve/qemu-server to support ignition instead of cloud-init available via the API? This would pretty helpful to get Flatcar Linux vm's provisioned by using one of the terraform providers.
  16. J

    API Token Problems

    I'm one of the maintainers of the proxmoxer python library and I'm trying to get it working with PBS. I have several issues when trying to get the API tokens working. They work perfectly with PVE, but there seem to be issues/differences with PBS. Why is the separator for the token id from the...
  17. A

    [SOLVED] Empty API Response When Getting VMs

    I'm trying to get a list of all VMs (no containers yet) running on my Proxmox v6.2 server (node name is "pve") using the Proxmox API. I've been referring to the API docs here. There are currently ten running VMs. I created a user "api-user@pam" and created a token for the user named "main". I...
  18. M

    Time Out pvesh on create vnc proxy

    Hi when i runn this code pvesh create /nodes/Mahmoudi/lxc/106/vncproxy i got this error on shell Timeout while waiting for port '5900' to get ready! but my gui consoles on proxmox worksfine and i want use this command for api thanks
  19. M

    error 401: no ticket

    Hi i have problem with ticket and cookie system <?php /* For the first you need: 1. Create User group "VNC" –> Datacenter / Permissions / Group 2. Create new user -> Datacenter / Permissions / Users - select Group: "VNC", Realm: pve 3. Create new Role -> Datacenter / Permissions / Roles -...
  20. P

    [SOLVED] Api task return false status

    Hi, I just update one of my proxmox VE server: $ pveversion pve-manager/6.2-15/48bd51b6 (running kernel: 5.4.65-1-pve) And I tried to "terraform" a VM on it. I found something very weird with the api result. step to reproduce: * have a stopped VM * $ pvesh create...

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!