[GH-ISSUE #54] 501 Not Implemented #25

Closed
opened 2026-02-27 15:46:02 +03:00 by kerem · 4 comments
Owner

Originally created by @jeevanshah07 on GitHub (May 13, 2021).
Original GitHub issue: https://github.com/proxmoxer/proxmoxer/issues/54

I just finished setting up my proxmox server and had wanted to try this out. After copying the example in the readme (the PVE one) I ran it and was greeted with this error:

Traceback (most recent call last):
  File "/run/media/marvel/data/Coding/python_in_proxmox/main.py", line 9, in <module>
    for vm in proxmox.nodes(node['node']).openvz.get():
  File "/home/marvel/.local/lib/python3.9/site-packages/proxmoxer/core.py", line 105, in get
    return self(args)._request("GET", params=params)
  File "/home/marvel/.local/lib/python3.9/site-packages/proxmoxer/core.py", line 90, in _request
    raise ResourceException("{0} {1}: {2} - {3}".format(
proxmoxer.core.ResourceException: 501 Not Implemented: Method 'GET /nodes/lab/openvz' not implemented - b'{"data":null}'

I am running this on arch linux with python 3.9.

Thanks in advance

Originally created by @jeevanshah07 on GitHub (May 13, 2021). Original GitHub issue: https://github.com/proxmoxer/proxmoxer/issues/54 I just finished setting up my proxmox server and had wanted to try this out. After copying the example in the readme (the PVE one) I ran it and was greeted with this error: ``` Traceback (most recent call last): File "/run/media/marvel/data/Coding/python_in_proxmox/main.py", line 9, in <module> for vm in proxmox.nodes(node['node']).openvz.get(): File "/home/marvel/.local/lib/python3.9/site-packages/proxmoxer/core.py", line 105, in get return self(args)._request("GET", params=params) File "/home/marvel/.local/lib/python3.9/site-packages/proxmoxer/core.py", line 90, in _request raise ResourceException("{0} {1}: {2} - {3}".format( proxmoxer.core.ResourceException: 501 Not Implemented: Method 'GET /nodes/lab/openvz' not implemented - b'{"data":null}' ``` I am running this on arch linux with python 3.9. Thanks in advance
Author
Owner

@jhollowe commented on GitHub (May 13, 2021):

What version of PVE and proxmoxer are you using? What backend are you using?

<!-- gh-comment-id:840260766 --> @jhollowe commented on GitHub (May 13, 2021): What version of PVE and proxmoxer are you using? What backend are you using?
Author
Owner

@jeevanshah07 commented on GitHub (May 13, 2021):

What version of PVE and proxmoxer are you using? What backend are you using?

PVE: 6.4-4/337d6701
Proxmoxer: 1.1.1
Backend: Https

<!-- gh-comment-id:840265892 --> @jeevanshah07 commented on GitHub (May 13, 2021): > What version of PVE and proxmoxer are you using? What backend are you using? PVE: 6.4-4/337d6701 Proxmoxer: 1.1.1 Backend: Https
Author
Owner

@jhollowe commented on GitHub (May 13, 2021):

Looking at the APIv2 explorer, it looks like it should be either qemu for VMs or lxc for containers instead of openvz.

There are a lot of issues and outdated code in the README. Feel free to create a PR to fix this issue, but I'm planning to streamline the readme a lot and move some of the more complicated examples into the (currently non-existent) wiki for this repo (hopefully over the summer).

<!-- gh-comment-id:840270183 --> @jhollowe commented on GitHub (May 13, 2021): Looking at the [APIv2 explorer](https://pve.proxmox.com/pve-docs/api-viewer/index.html), it looks like it should be either `qemu` for VMs or `lxc` for containers instead of `openvz`. There are a lot of issues and outdated code in the README. Feel free to create a PR to fix this issue, but I'm planning to streamline the readme a lot and move some of the more complicated examples into the (currently non-existent) wiki for this repo (hopefully over the summer).
Author
Owner

@jeevanshah07 commented on GitHub (May 13, 2021):

Ok thanks

<!-- gh-comment-id:840526094 --> @jeevanshah07 commented on GitHub (May 13, 2021): Ok thanks
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/proxmoxer#25
No description provided.