-
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 module utils: better error msg when token fails with old proxmoxer #6839
proxmox module utils: better error msg when token fails with old proxmoxer #6839
Conversation
CC @UnderGreen |
Backport to stable-6: 💚 backport PR created✅ Backport PR branch: Backported as #6845 🤖 @patchback |
@russoz @UnderGreen thanks a lot! |
Backport to stable-7: 💚 backport PR created✅ Backport PR branch: Backported as #6846 🤖 @patchback |
…rror msg when token fails with old proxmoxer (#6845) proxmox module utils: better error msg when token fails with old proxmoxer (#6839) * proxmox module utils: clear msg when token fails with old proxmoxer * add changelog frag * better way to determine version (cherry picked from commit e5dc697) Co-authored-by: Alexei Znamensky <[email protected]>
…rror msg when token fails with old proxmoxer (#6846) proxmox module utils: better error msg when token fails with old proxmoxer (#6839) * proxmox module utils: clear msg when token fails with old proxmoxer * add changelog frag * better way to determine version (cherry picked from commit e5dc697) Co-authored-by: Alexei Znamensky <[email protected]>
SUMMARY
Add logic to detect whether an old Promoxer complains about the
token_name
andtoken_value
parameters and provide a better error message when that happens.Fixes #5371
ISSUE TYPE
COMPONENT NAME
plugins/module_utils/proxmox.py