-
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
feat: add tags to proxmox containers #5714
feat: add tags to proxmox containers #5714
Conversation
This comment was marked as outdated.
This comment was marked as outdated.
Docs Build 📝Thank you for contribution!✨ This PR has been merged and your docs changes will be incorporated when they are next published. |
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!
Co-authored-by: Felix Fontein <felix@fontein.de>
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.
Looks good as far as I can judge. If nobody objects, I'll merge in ~one week.
Backport to stable-6: 💚 backport PR created✅ Backport PR branch: Backported as #5745 🤖 @patchback |
* feat: add tags to proxmox containers * fix: correct version added * fix: code style * feat: changelog fragment * fix: correct version_added Co-authored-by: Felix Fontein <felix@fontein.de> * feat: fail on unsupported params, rather than silently ignoring them * fix: actually check unsupported feature presence before failing Co-authored-by: Felix Fontein <felix@fontein.de> (cherry picked from commit 2d4ce9f)
@GuillaumeV-cemea thanks for your contribution! |
…ainers (#5745) feat: add tags to proxmox containers (#5714) * feat: add tags to proxmox containers * fix: correct version added * fix: code style * feat: changelog fragment * fix: correct version_added Co-authored-by: Felix Fontein <felix@fontein.de> * feat: fail on unsupported params, rather than silently ignoring them * fix: actually check unsupported feature presence before failing Co-authored-by: Felix Fontein <felix@fontein.de> (cherry picked from commit 2d4ce9f) Co-authored-by: GuillaumeV-cemea <101114641+GuillaumeV-cemea@users.noreply.github.com>
SUMMARY
Added tag support for proxmox containers in PVE 7, to achieve feature parity with VMs which support tags since PVE6. Fixes #5471
ISSUE TYPE
COMPONENT NAME
proxmox.py
ADDITIONAL INFORMATION
I've restricted the tags feature to PVE 7, because I'm not sure if the original bug preventing tags in containers - from proxmox forum - has been fixed, and if yes, in which proxmox 6 version it has been fixed.
I've used the code from
proxmox_kvm.py
, so the tag separator is still a,
. It's not an issue because on PVE 7.0-7.2,,
is the correct separator, and on pve 7.3, it's automatically changed (by proxmox) to a;
(and proxmox inventory plugin support both separator, see #5602)