Skip to content
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

[PR #5714/2d4ce9f2 backport][stable-6] feat: add tags to proxmox containers #5745

Conversation

patchback[bot]
Copy link

@patchback patchback bot commented Dec 30, 2022

This is a backport of PR #5714 as merged into main (2d4ce9f).

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
  • Bugfix Pull Request
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)

* 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)
@ansibullbot
Copy link
Collaborator

@ansibullbot ansibullbot added backport bug This issue/PR relates to a bug cloud module module new_contributor Help guide this first time contributor plugins plugin (any type) labels Dec 30, 2022
@felixfontein felixfontein merged commit 50b9855 into stable-6 Dec 30, 2022
@felixfontein felixfontein deleted the patchback/backports/stable-6/2d4ce9f21970a2d126550135ba35f7c9a0cfb449/pr-5714 branch December 30, 2022 21:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug This issue/PR relates to a bug cloud module module new_contributor Help guide this first time contributor plugins plugin (any type)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants