-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
proxmox_template: fix the wrong path called on proxmox_template.task_status #9277
Conversation
2254068
to
956db7e
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for your contribution! My guess is that the path changed in some Proxmox release. The module also needs to support Proxmox versions where it currently works, so you need to figure out in which version it changed and adjust the code to only use the new path for the appropriate versions.
...agments/9277-proxmox_template-fix-the-wrong-path-called-on-proxmox_template.task_status.yaml
Outdated
Show resolved
Hide resolved
Hello, thank you for your reply. I hadn't thought to do any research, thinking it was a typo 😅. However, after some research, and as far as I can go, the API path to interact with a node has always been
With all this in mind, I think it's a typo 😟. |
6d82eb2
to
9d5fd39
Compare
Missing the 's' means using the wrong API, making log reading impossible. Should fix !9276 Co-Authored-By: Felix Fontein <felix@fontein.de> Signed-off-by: Alexandre Nicolaie <xunleii@users.noreply.github.com>
This comment was marked as outdated.
This comment was marked as outdated.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
Backport to stable-9: 💚 backport PR created✅ Backport PR branch: Backported as #9475 🤖 @patchback |
…status (#9277) fix: add missing 's' on proxmox_template.task_status Missing the 's' means using the wrong API, making log reading impossible. Should fix !9276 Signed-off-by: Alexandre Nicolaie <xunleii@users.noreply.github.com> Co-authored-by: Felix Fontein <felix@fontein.de> (cherry picked from commit 403418f)
Backport to stable-10: 💚 backport PR created✅ Backport PR branch: Backported as #9476 🤖 @patchback |
…status (#9277) fix: add missing 's' on proxmox_template.task_status Missing the 's' means using the wrong API, making log reading impossible. Should fix !9276 Signed-off-by: Alexandre Nicolaie <xunleii@users.noreply.github.com> Co-authored-by: Felix Fontein <felix@fontein.de> (cherry picked from commit 403418f)
…g path called on proxmox_template.task_status (#9475) proxmox_template: fix the wrong path called on proxmox_template.task_status (#9277) fix: add missing 's' on proxmox_template.task_status Missing the 's' means using the wrong API, making log reading impossible. Should fix !9276 Signed-off-by: Alexandre Nicolaie <xunleii@users.noreply.github.com> Co-authored-by: Felix Fontein <felix@fontein.de> (cherry picked from commit 403418f) Co-authored-by: Alexandre Nicolaie <xunleii@users.noreply.github.com>
…ng path called on proxmox_template.task_status (#9476) proxmox_template: fix the wrong path called on proxmox_template.task_status (#9277) fix: add missing 's' on proxmox_template.task_status Missing the 's' means using the wrong API, making log reading impossible. Should fix !9276 Signed-off-by: Alexandre Nicolaie <xunleii@users.noreply.github.com> Co-authored-by: Felix Fontein <felix@fontein.de> (cherry picked from commit 403418f) Co-authored-by: Alexandre Nicolaie <xunleii@users.noreply.github.com>
…status (ansible-collections#9277) fix: add missing 's' on proxmox_template.task_status Missing the 's' means using the wrong API, making log reading impossible. Should fix !9276 Signed-off-by: Alexandre Nicolaie <xunleii@users.noreply.github.com> Co-authored-by: Felix Fontein <felix@fontein.de>
SUMMARY
The
task_status
functions uses the wrong Proxmox API path to fetch tasks logs (node
instead ofnodes
). The documentation can be found here: https://pve.proxmox.com/pve-docs/api-viewer/index.html#/nodes/{node}/tasks (thenode
path doesn't exist)Fixes #9276
ISSUE TYPE
COMPONENT NAME
proxmox_template