1. G

    local socket programming wich port to open and where?

    Hey ive been writing a script in python, the purpose at the moment is a communicate Between Client and Server. I wrote a script for both sites, the Server gets a API key (in this moment its still a var (API_KEY) on both sites). Im only and really only a programmer, i have to admit i didnt...
  2. R

    How to clone with a proxmoxer VM from one node to the other node with a new name

    Hey guys, I have been looking for a way to clone a VM from one node to another with a proxmoxer library in Python, I have managed to set a connection to promox cluster. However, I have not found any way so far to clone the VMs, here is the code I have so far: def connect_proxmox(dc):proxmox =...
  3. Y

    Performance Testing

    Greetings my friends. I wish you a good ending of the week. I have this particular question on my mind it's been a while now. On my laptop, I run a Python code that takes about 30 seconds to compile and run. My objective is to run the same code on a cluster of 3 nodes and determine how much...
  4. S

    Clone multiple vms from a template at the same time (Proxmox API)

    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...
  5. S

    Is there a ternary conditional operator in Python?

    Is a ternary conditional operator available in Python? Update: I've got my answer from Scaler
  6. C

    dstat crash when shutting down VM

    Noticed a dstat crash while shutting down a VM. Just upgraded from Proxmox 6 to 7 yesterday, this was a fresh install of Proxmox 6 just a few days ago. No VM's had been made yet. Made a new VM today, Ubuntu Server 20.04. Used it for about an hour and then installed the qemu agent and did a...
  7. L

    Python watchdog and proxmox gui

    Hey all, i am trying to create a watchdog that will listen to proxmox firewall files and will alert me when a fw rule was modified. I am using python watchdog package. when I modify the file (directly from shell) my watchdog is notice that and alert me. When editing the same firewall file...
  8. V

    Proxmoxer possibily expire token

    Hi I integrated proxmox with cuckoo thanks to the use of proxmoxer, but after a few hours I have the error related to the lack of authentication: raise AuthenticationError ("Couldn't authenticate user: {0} to {1}". format (self.username, self.base_url + "/ access / ticket")) in...
  9. I

    [SOLVED] python : get lxc allocated ram\cores

    when running python script inside the lxc all the python functions i found return the original core count of the host, and it should return the amount of recesses allocated to the lxc. anyone got an idea ?
  10. Y

    PVE API for cloud-init drive

    hey guys, I'm working on extending current salt cloud module to support cloud-init (for qemu new vm's/clones) from a first look, looks quite simple, just add ide[n] config with the following for example: "ide0" : "local:101/vm-101-cloudinit.qcow2,media=cdrom" (this varies based on the next...


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!