Hi Proxmox Community,
I’m trying to integrate the noVNC interface provided by Proxmox into an iframe or access it via an incognito tab. However, I’m encountering a 401 Unauthorized error.
Here’s the URL I’m currently trying to use for VNC access...
Hi everyone,
I'm currently using the Proxmox API to create a VNC proxy connection for accessing a container's console. Here's the workflow I'm following:
Step 1: I use the /api2/json/nodes/{node}/lxc/{vmid}/vncproxy API to generate a VNC proxy ticket and port. This step works fine, and I...
My acme certificates are managed by my OPNsense VM and I have successfully used a plugin supplied by them to install certificates on the PVE servers via the API at https://${_target_hostname}:${_target_port}/api2/json/nodes/${_node_name}/certificates/custom
Is there a way to do the same thing...
I have PVE running behind an nginx proxy ... seemingly working well ... until an API request is made that throws a 500 error ... a response like this comes back from PVE to the nginx proxy:
HTTP/1.1 500 no such resource 'ct:103'
Cache-Control: max-age=0
Connection: close
Date: Wed, 27 Nov 2024...
Hi everyone,
I've been automating my Proxmox configuration with the help of the Proxmox API. Here are the docs I'm working from; https://pve.proxmox.com/pve-docs/api-viewer/index.html
In particular, per the subject of this post, I am facing an issue with successfully setting up the ACME DNS...
Currently I use `qm importdisk 9000 jammy-server-cloudimg-amd64-disk-kvm.iso <Volume Group>` during VM creation. Now would like to use VE API for the same. What is the equivalent for that command with API.
Hey, I'm fairly new here and have the following concern: I have a pre-built LXC from which others are cloned (quasi template). However, two additional files are needed that have different contents for each CT (same structure, but different variables that are needed for a script). Is it possible...
Hey, ich bin ziemlich neu hier und habe folgendes Anliegen: ich habe ein vorgefertigtes LXC von dem andere geclont werden(quasi Template). Es werden aber zusätzlich zwei Dateien gebraucht, die unterschiedliche Inhalte für jedes CT haben (gleiche Struktur, aber andere Variablen, die man für einen...
I'm using Ansible to connect to containers and VM's via SSH, but I'm wondering if there is a better way to do it using PVE as a proxy, given there are tools such as pct exec, pct enter, and pct console that allow Proxmox to send commands directly to the containers. This would allow to connect to...
Hi guys,
I'm working on monitoring the completion of backup tasks in Proxmox Backup Server (PBS). My goal is to track when a backup task finishes and receive notifications when all backup tasks report a status of "ok."
I’ve reviewed the API documentation at Proxmox API Viewer, but it appears...
We try to avoid getting csrf token because of the lack of api token support. We wanted to get a script to run on the lxc without the need of ssh and tried to make use of the API websocket implementation. We've come up with following code:
import requests
import threading
from time import sleep...
Hi,
I'm not 100% sure if it is a bug or if I'm misunderstanding something about the API.
If I check the status of an VXLAN zone via api2/json/nodes/{node}/sdn/zones it shows me that the zone is available for all nodes, but /api2/json/cluster/resources shows that the zone is still pending on some...
Hello i have a web app and i can't pass this issue
My Proxmox mngt is on 10.10.0.15:8006
```
const handleManageVM = async (vmid, node) => {
try {
const authTokens = {
token: account.token,
pveToken: account.pve_token...
I have freshly installed a Proxmox VE on a running Debian12 machine, everything works just fine, but i have some problems with the API.
import requests
import json
proxmox_url = "http://localhost:8006/api2/json"
node = "debian"
auth_token =...
It would be very useful for sysadmins and devops teams, if there was an embedded task scheduler/queue worker for native actions like QEMU/LXC power actions, migrations and deletions with system and user defined intervals or just once-off actions. This feature should be available through API and...
Here are the commands to manually discover and attach the iSCSI target in the Proxmox shell.
To discover iSCSI target:
iscsiadm -m discovery -t sendtargets -p <IP-address>:3260
To attach the iSCSI targets:
iscsiadm --mode node --targetname <IQN> -p <IP-address> --login
I tried using the API...
Hey all,
For some reason an API call to resize a disk is not working, yet all other calls are working fine.
This is an excerpt from my script:
# Get parameters from command line
cpus=$1
ram=$2
hdd=$3
user=$4
name=$5
template_id="999"
task=$(curl -s -k -b "PVEAuthCookie=$ticket" -H...
I'm working on automatically deploying VMs via the API. To update them I delete the old and clone a new one from an uptodate template. During this I noticed that when deleting several VMs some may leave their disk behind.
I think I had i happen with 5 VMs but for testing this its easier to just...
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.