Hi, I've recently upgraded from Proxmox 7 to Proxmox 8.2.4 and I'm running into an issue with running commands on a VM using QEMU Guest Agent using API calls.
This previously worked fine on Proxmox 7 but does not work anymore on Proxmox 8.2.4
What DOES work:
- API Calls to proxmox, e.g. get...
Hi Guys, I am new to proxmox. I am currently using the Corsinvest C# API to interface with proxmox.
Execute API: https://pve.proxmox.com/pve-docs/api-viewer/#/nodes/{node}/execute
I am trying to execute the cmd "ip link show vmbr1", but it says bad format. What changes should I do to the...
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...
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"]=>...
Hi,
I have install new Node with Proxmox 8.0.3.
Before this node I used API for config IP, DNS, firewall, etc..
But this Node cannot use API I setting same as other node
if it work It will return pid.
I'm try with shell command: qm guest exec 101 kvm fwoff
It actually work Turn off...
Hello
I have noticed that in Proxmox 8, the <command> parameter for the API call POST /api2/json/nodes/{node}/qemu/{vmid}/agent/exec has been changed from <string> to <array> in the format: [string, ...]
Does anyone have a working example with the new format?
I have tried to send it as...
hello, you are having a problem with the api, you can help.
I am trying to send a terminal command to windows on agent.
https://pve.proxmox.com/pve-docs/api-viewer/#/nodes/{node}/qemu/{vmid}/agent/exec
data = [
'command' = "cmd.exe dir"
]
I don't know the parameters.
I want to create a...
Hello guys,
first it might be good to know what I'm trying to archieve with my program: Currently I'm building a Backend for a Hosting Company, wich has to create and Manage multiple Proxmox KVM Servers. For changing hostname etc. etc. we're using the guest-agent wich is also documented in the...
Hi,
I'm trying to execute a script on a vm via the qemu guest agents api exec. However all the commands get executed without a connection the the current user session. so when I for example run powershell via the api it only shows up in task manger as a process but does not show the console on...
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.