Hi,
We use extensively proxmox HTTP API for creating/managing our containers. We do multiple HTTP requests to API 24/7 - approximately 100-200 per minute.
Whole day our service is able to connect to HTTP API and perform needed actions.
However, everyday around 18:30 GTM+1, HTTP API for...
The API viewer [1] cannot be searched for the necessary permissions of the API endpoints.
Wanted to know which API endpoints need a special user, so that only in these special cases those users are used (especially avoiding root).
So I checked all endpoints of the /nodes API path and their...
I use Proxmox REST API to get info about hypervisors. I am able to iterate [nodes|storages|qemu] and get basic info about every item. Like this is path for storages: $path = "/nodes/$nodeId/storage"; But I can't find the exact CPU model name like 24 x Intel(R) Xeon(R) CPU E5-2620. Can somebody...
Hey Guys,
I am having a very hard time understanding the proxmox mail gateway's api calls...
I am 99% sure it's just me, so hopefully someone can help me?
How can I call for example the login function, and the GET /api2/json/config/domains/ function afterwards?
Also do I need to allow an IP...
Hi,
We want to enforce usage of U2F on our proxmox datacenter. Hovewer we still do need to access API for 1 of our accounts (api account using proxmoxer for deployment) to deploy CTs.
Is thera a way to generate something like application password and enforce U2F for all users?
HI,
I do have a python script which use pyproxmox. This script shows quite often an
ConnectionError(ProtocolError('Connection aborted.', RemoteDisconnected('Remote end closed connection without response',)),)
Error. And yes we do have GUI connection abort issues too.
Is there any know...
Aloha! Accoding to https://pve.proxmox.com/pve-docs/api-viewer/ api methods "GET /api2/json/nodes/{node}/qemu/{vmid}/agent/exec-status" and "GET /api2/json/nodes/{node}/qemu/{vmid}/agent/file-read" are using request type GET, there no present request type POST for this commands. However, for...
I am not sure whether this is the right place to address this, but we can figure that out together :)
When trying to create a VM via the API following error is returned: 500 unable to create VM 109 - CT 109 already exists on node ''
The PVE version I am using is: pve-manager/6.1-3/37248ce6...
This file is retained in ~/.ansible/tmp/ansible-tmp-########.##-########/AnsiballZ_proxmox_kvm.py
Using it from an Ansible playbook from the module
ansible.modules.proxmox_kvm
producing the error ending the run without a VM create...
creation of qemu VM centos-static with vmid 137 failed...
Guten Tag,
ich bin mittlerweile mit meinen nerven am Ende. Ich versuche gerade über meinen WebServer eine VNC Verbindung zum Proxmox Server aufzubauen. Steuerungen wie neustarten und stoppen von VMs mittels der Api funktioniert. Allerdings das einbinden der VNC geht nicht. Aber ich verstehe...
Hi guys.
I'm starting with proxmox, i need authenticate with PVEAuthCookie in Postam, but he return Status: 401 No ticket.
In authentication in POST I succeed but in GET i have error.
Can yout help-me?
Login with success!
Return nodes with error
Hi,
I want simply add an new created VM with pvesh to an pool (like "pvesh add pools/Dev -members 123").
OK, pvesh don't know add - but my try with set are not successfull.
How is the right syntax?
Udo
I want to execute several commands to each one of my nodes, looking at Proxmox API is possible to send commands to a node using:
pvesh create /nodes/{node}/execute --commands '["apt update", "apt upgrade pkg1, pkg2, pkg3"]'
However I can't seem to find a proper way to create the JSON. Can...
Hi,
Is there a way to change the "low-level" LXC options via API?
https://pve.proxmox.com/wiki/Linux_Container#_file_format
I could not find any suitable options under path "/nodes/{node}/lxc/{vmid}/config".
Thanks,
Andreas
Hello,
Thank you for Proxmox! I'm running 5.4-3 in a test lab right now.
I am trying to use the `customci` configuration parameter for VM's, so I can provide arbitrary `user-data` in the cloud-init configuration. For that, I see that the new snippet feature is the way to go if I understood...
We do have a lot of API calls from different external applications.
Each currently pointing to a master host which we expect to have as stable as possible.
Should we put a haproxy beforehand to have to the api calls distributed over the different hosts ?
If the application would be able to get...
I'm working on a project for a professor where I script the creation of a bunch of users an make 3VMS for each of them .
The catch is each user should only be able to access their own VMs but i can only use API requests to make this happen.
I want to add the following roles to each user on each...
Hello i have problems with the command "pvesh create /nodes/{node}/migrateall".
When i try from pve01: "pvesh create /nodes/pve03/migrateall -target pve01 -maxworkers 1 -vms 501" I can see the task and the migration in the webgui but in the cli i get following error:
From pve03 the command...
Hello.
I am trying to integrate Proxmox API into a PHP based tool we have, and I have been able to create a virtual machine, start it up and create a user.
I want to add the created user to the created VM as an administrator of that machine.
$fields = array(
'user' =>...
I'm querying PVE API to monitor resource usage with Zabbix. And I'm wondering, why does the maxdisk prop (in /cluster/resources or /pools/<pool name> for example) only accounts the size of the boot disk ? Wouldn't it make more sense to sum all the disks attached to the VM / attached to VM of the...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.