Anyway all Python solutions could not work because proxmoxer and al. are developped for proxmox 2.x. So they have all openvz and not lxc implemented. True ?
Finally the best way will be to use pvecm or Curl ?
#! /usr/bin/env python
# coding: utf-8
from proxmoxer import ProxmoxAPI
proxmox = ProxmoxAPI(host="172.30.10.140", user="root@pam", password="xxxxxx", verify_ssl=False)
It seems to work. By what I could replace openvz if I use Proxmox version > 3.4 ?
It's pretty weird because even if I use Python 2.7, the same script doesn't work with the same authenticate error.
from proxmoxer import ProxmoxAPI
def proxmox_authentification () :
proxmox = ProxmoxAPI(host="172.30.10.140", user="root@pam", password="xxxxx", verify_ssl=False)
return...
Hello guys,
I'm trying to use Proxmox API in order to manage my nodes cluster from another server.
I read the Proxmox VE wiki but I'm getting an issue with authentification part of Proxmox API.
I'm using proxmoxer and Python.
I wrote this :
#!/usr/bin/python3
from proxmoxer import...
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.