[GH-ISSUE #146] Some task-resulting calls for local backend always return Error 500 #74

Open
opened 2026-02-27 15:46:18 +03:00 by kerem · 2 comments
Owner

Originally created by @AlexMKX on GitHub (Sep 23, 2023).
Original GitHub issue: https://github.com/proxmoxer/proxmoxer/issues/146

Originally assigned to: @jhollowe on GitHub.

from proxmoxer import ProxmoxAPI

c = ProxmoxAPI(backend='local')
c.set('nodes/pve2/network')

always return Error 500 with UPID.
Expected result - successfull return and UPID

Originally created by @AlexMKX on GitHub (Sep 23, 2023). Original GitHub issue: https://github.com/proxmoxer/proxmoxer/issues/146 Originally assigned to: @jhollowe on GitHub. ``` from proxmoxer import ProxmoxAPI c = ProxmoxAPI(backend='local') c.set('nodes/pve2/network') ``` always return Error 500 with UPID. Expected result - successfull return and UPID
Author
Owner

@keviiin38 commented on GitHub (Sep 23, 2023):

+1

Same error for me when calling proxmox.nodes("pve").network.put()

>>> proxmox.nodes("pve").network.put()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/local/lib/python3.11/dist-packages/proxmoxer/core.py", line 175, in put
    return self(args)._request("PUT", data=data)
           ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/local/lib/python3.11/dist-packages/proxmoxer/core.py", line 158, in _request
    raise ResourceException(
proxmoxer.core.ResourceException: 500 Internal Server Error: "UPID:pve:[...]:srvreload:networking:root@pam:"

Version:

  • Proxmox VE: 8.0.4
  • Proxmoxer: 2.0.1
  • Backend: local
<!-- gh-comment-id:1732385934 --> @keviiin38 commented on GitHub (Sep 23, 2023): +1 Same error for me when calling `proxmox.nodes("pve").network.put()` ```python >>> proxmox.nodes("pve").network.put() Traceback (most recent call last): File "<stdin>", line 1, in <module> File "/usr/local/lib/python3.11/dist-packages/proxmoxer/core.py", line 175, in put return self(args)._request("PUT", data=data) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/local/lib/python3.11/dist-packages/proxmoxer/core.py", line 158, in _request raise ResourceException( proxmoxer.core.ResourceException: 500 Internal Server Error: "UPID:pve:[...]:srvreload:networking:root@pam:" ``` Version: - Proxmox VE: **8.0.4** - Proxmoxer: **2.0.1** - Backend: **local**
Author
Owner

@jhollowe commented on GitHub (Sep 5, 2024):

if you run the pvesh command on the PVE node, what exit code does it return?

e.g. pvesh set nodes/pve/network ; echo $?

<!-- gh-comment-id:2330552542 --> @jhollowe commented on GitHub (Sep 5, 2024): if you run the pvesh command on the PVE node, what exit code does it return? e.g. `pvesh set nodes/pve/network ; echo $?`
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#74
No description provided.