[GH-ISSUE #185] False positive error 500 when using SSH backends #103

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

Originally created by @asdorsey on GitHub (Nov 22, 2024).
Original GitHub issue: https://github.com/proxmoxer/proxmoxer/issues/185

When checking for errors at github.com/proxmoxer/proxmoxer@f2394226a1/proxmoxer/backends/command_base.py (L113-L124) , proxmoxer sometimes falsely detects certain commands as errors.

I ran into this issue when using proxmoxer to reload the host networking configuration (proxmoxer.nodes(node_name).network.put()).

I have a potential fix, so I will file a PR immediately after I submit this ticket.

Originally created by @asdorsey on GitHub (Nov 22, 2024). Original GitHub issue: https://github.com/proxmoxer/proxmoxer/issues/185 When checking for errors at https://github.com/proxmoxer/proxmoxer/blob/f2394226a1a981d5bbbb216fb29f68c2ab8fd9de/proxmoxer/backends/command_base.py#L113-L124 , proxmoxer sometimes falsely detects certain commands as errors. I ran into this issue when using proxmoxer to reload the host networking configuration (`proxmoxer.nodes(node_name).network.put()`). I have a potential fix, so I will file a PR immediately after I submit this ticket.
Author
Owner

@asdorsey commented on GitHub (Nov 22, 2024):

PR #187 filed; it fixes this issue by assuming that a request succeeded if Proxmox returns a task ID.

<!-- gh-comment-id:2494382422 --> @asdorsey commented on GitHub (Nov 22, 2024): PR #187 filed; it fixes this issue by assuming that a request succeeded if Proxmox returns a task ID.
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#103
No description provided.