Hi there,
i've updated proxmox 8.2.2 in lab and want to install prometheus exporter but got this error
root@pm1:/etc/apt/sources.list.d# python3 -m pip install prometheus-pve-exporter
Traceback (most recent call last):
File "<frozen runpy>", line 198, in _run_module_as_main
File "<frozen...
I'm trying to connect programmatically in Python with the webshell over API.
I first get an auth_ticket from API endpoint proxmox.access.ticket and a shell_ticket from API endpoint proxmox.nodes.localhost.termproxy.
I can successfully connect via websocket and the first message should be the...
Hi all, i need help to know that how to set up env variables while cloning a template using proxmoxer library in python
I am cloning a template(Ubuntu) to create new vm's
and i want to to set CLIENT_ID=client1/2/3.... env var in it
Hi,
I am not an administrator but using Proxmox to run some VMs as lab.
I have the latest version PVE 8.2.4, From the web I was routinely updating the system but apt-get upgrade interrupted because of Power outage .
Once the power is restored I tried apt-get upgrade once again but there is a...
Currently, there doesn't appear to be a single http get to obtain all VMs in the cluster. Right now, I have to query the cluster to obtain the nodes, then query each node for what VMs they have, then on top of that, query each node again for each individual VM config. As you can imagine, when...
Is it possible to post from within a flask application for example how do i start a container on button press.? i guess what i am asking is how this is done with proxmoxer api i can't find an example.
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...
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 =...
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...
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...
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...
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...
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...
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 ?
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...
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.