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
Send string instead of boolean to proxmox api #5198
Conversation
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.
I don't think this is necessary, since the bug you are probably experiencing was already fixed in #5194.
If that is not fixing the bug for you, then I don't think the parameter ever worked for you before.
Co-authored-by: castorsky <csky57@gmail.com>
Docs Build 📝Thank you for contribution!✨ This PR has been merged and your docs changes will be incorporated when they are next published. |
CI failures are unrelated. |
Backport to stable-5: 💚 backport PR created✅ Backport PR branch: Backported as #5417 🤖 @patchback |
* Send string instead of boolean to proxmox api * Add changelog fragment. * Update plugins/modules/cloud/misc/proxmox_kvm.py Co-authored-by: castorsky <csky57@gmail.com> Co-authored-by: Felix Fontein <felix@fontein.de> Co-authored-by: castorsky <csky57@gmail.com> (cherry picked from commit b9d0864)
@alxhlz thanks for your contribution! |
* Send string instead of boolean to proxmox api * Add changelog fragment. * Update plugins/modules/cloud/misc/proxmox_kvm.py Co-authored-by: castorsky <csky57@gmail.com> Co-authored-by: Felix Fontein <felix@fontein.de> Co-authored-by: castorsky <csky57@gmail.com> (cherry picked from commit b9d0864) Co-authored-by: Alexander Holzapfel <git@hlz.io>
* Send string instead of boolean to proxmox api * Add changelog fragment. * Update plugins/modules/cloud/misc/proxmox_kvm.py Co-authored-by: castorsky <csky57@gmail.com> Co-authored-by: Felix Fontein <felix@fontein.de> Co-authored-by: castorsky <csky57@gmail.com>
SUMMARY
In this commit the parameter sent to proxmox api has been changed from type bool to type string but instead of converting the boolean into a value that is readable by the proxmox api it just sends a string containing
'True'
or'False'
to the pve api. According to specification proxmox expects a'1'
or a'0'
as content of theagent
parameter.This bug resulted in failing vm creations:
ISSUE TYPE
COMPONENT NAME
proxmox_kvm