I just started using/exploring the Corsinvest.ProxmoxVE.Api module (https://github.com/Corsinvest/cv4pve-api-powershell) to automate getting VM inventory.
I connect with :
Connect-PveCluster -HostsAndPorts $server:8006 -ApiToken $token -SkipCertificateCheck
Is there a way to disconnect...
Hi everyone,
I'm currently exploring the capabilities of the Proxmox API and wondering if it's possible to enumerate the files of a Proxmox virtual machine (VM). Specifically, I'm not looking to access files within the VM but rather to obtain a list of files that make up the VM itself.
Has...
Hello,
i tried to implement the shutdown api call into a python program but i have no idea how to properly build the syntax.
The command runs fine on linux bash but i cannot find suitable arguments for python.
curl 'https://myhost.local:8006/api2/extjs/nodes/myhost/status' -H 'Authorization...
Hi,
I'm trying to upload an image via ProxmoxVE API but cannot find a way to pass the local path of the .iso file. After reading the documentation, I could not determine which argument is used for the local path. I would appreciate a little help.
Cheers
Hallo zusammen,
meine Frage ist, ob es eine Möglichkeit per Proxmox Rest API alle hinterlegten IP Adressen im Cluster zu erhalten.
Liebe Grüße und guten Rutsch!
Hey guys,
I've had this problem back in 2022 but the fix that someone gave me doesn't work anymore. Also reastarting the Server doesn't change anything.
Getting the 596 broken Pipe error always happens when using a API call involving the guest agent. For Example...
Hi there,
Just comparing the attached realities of what is reflected for an OK action and then a not-OK action, there are a few things I'm curious about:
Rather than just firing and hoping that if the request went through OK, that it is actually OK, we need to know the error/status.
Comparing...
Hello I've read through all threads regarding novnc integration with external program. Still I am unable to do it. Is there any proper thread links or external blogs that could help me?
Also I'm getting the CORS issue. I know pveproxy is responsible for allowing hosts, I tried editing the...
To create vm volumes, we make use of:
POST https://pve.proxmox.com/pve-docs/api-viewer/index.html#/nodes/{node}/storage/{storage}/content
because that allows us to manually specify a filename like vm-<vmId>-<diskuuid>.
Now, we need the option to move a disk from one vm to another, for which we...
Howdy everyone!
I have a cluster where we want to use the VXLAN features of the SDN plugin (I know it is an experimental feature and we accept the associated risks).
1. Is there an API endpoint or other automation that others are using for this feature?
2. Are there any issues using SDN with HA?
Hallo zusammen,
sobald man eine VM im Cluster verschiebt verschwinden auch deren alten Tasks, die Tasks sind also immer Node gebunden.
Leider lässt sich über die API "GET /api2/json/cluster/tasks" keine VMID als Filter anhängen.
[upid] =>...
Hello everyone,
we use the API in Proxmox quite extensively, especially the agent -> exec function to execute commands in VMs.
After upgrading from Proxmox 7 to Proxmox 8, this specific function no longer works properly, we get specifically:
array(2) {
["data"]=>
NULL
["errors"]=>...
Hey,
I'm trying to clone VM from one node to the other node, using the following code in Python:
data = {"name": "censored", # Name for the new cloned virtual machine
"target": "censored2", # The target node where the clone will be created (target_node)
}
headers = {
"Content-Type"...
Hello, I searched for some time and checked docs and API viewer here:
API viewer - PUT - /api2/json/cluster/firewall/ipset/{name}/{cidr}
But I'm not able to change my CIDR range when already exists using HTTP PUT API call.
There is no issue create CIDR range (in already created IPSet...
English DeepL:
In one of the many data centers, access to the API sometimes disappears, despite the fact that access to the WEB UI is available.
There is no access to the API from different IPs.
It is striking that there is access to pve.8006, but not to pve.8006/api2/json.
Moreover, the time...
Hello all, I'm working on a small project to create a KVM using the API, but I'm encountering an issue.
In short, I can successfully create a disk for KVM by calling the endpoint
/api2/json/nodes/{node}/qemu
with parameters like
virtio0: local-lvm:10,cache=none,size=10G,ro=0
Now, I want to...
Hello
Im using PHP for connecting to the Proxmox API. Since the construction on how PHP is build, that means that there is at every page reload a new Connection with new ticket created (i think?)
So now im wondering if its possible to revoke a API ticket after every request and get a new one...
Dear ... Whoever is reading this,
I just have a quick question that I couldn't find out by googling.
So here is my question
Is there a way to get all the vms from the api with the tags so you can sort them with the tags/lables from proxmox.
Regards.
Is it possible that you can clone a vm or a template multiple times at the same time?
And if yes what parameter must i use in this python request.
HTTP:
POST /api2/json/nodes/{node}/qemu/{vmid}/clone
And if no what would be the best way to achieve to clone a template or a vm multiple...
I was wandering if there is a way in which i can get that information using only the vm id without having to access the /api2/json/cluster/resources endpoint. This endpoint returns the info about all VMs and nodes and i wanted a more efficient way to request the information of a single VM.
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.