swayf / proxmoxer

python wrapper for Proxmox API v2 (https://pve.proxmox.com/pve-docs/api-viewer/index.html)
MIT License
156 stars 58 forks source link

i want create contener and i get this error #75

Closed hocineKHE closed 5 years ago

hocineKHE commented 5 years ago

node.lxc.create(vmid=202,ostemplate='local:vztmpl/mini.iso',hostname='otine',storage='local',memory=512,swap=512,cores=1,password='secret',net0='name=eth0,bridge=vmbr0,ip=192.168.22.1/20,gw=192.168.16.1') File "C:\Users\power\PycharmProjects\last\venv\lib\site-packages\proxmoxer\core.py", line 96, in create return self.post(*args, **data) File "C:\Users\power\PycharmProjects\last\venv\lib\site-packages\proxmoxer\core.py", line 87, in post return self(args)._request("POST", data=data) File "C:\Users\power\PycharmProjects\last\venv\lib\site-packages\proxmoxer\core.py", line 79, in _request resp.content)) proxmoxer.core.ResourceException: 500 Internal Server Error: b'{"data":null}'