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

[proxmox_vm_info] Re-use cluster resources API to use module without requiring node param #6976

Conversation

UnderGreen
Copy link
Contributor

SUMMARY

As requested in comment module can re-use cluster/resources API to get first information about VMs. Then that info is enriched from lxc/qemu API responses.

In that case we can retrieve VM(s) info without requiring node parameter.

ISSUE TYPE
  • Feature Pull Request
COMPONENT NAME

proxmox_vm_info

ADDITIONAL INFORMATION

@UnderGreen
Copy link
Contributor Author

@felixfontein let me know please what type of change is it and should we mention somewhere that node param is not required anymore?

@ansibullbot
Copy link
Collaborator

@ansibullbot ansibullbot added feature This issue/PR relates to a feature request module module plugins plugin (any type) tests tests unit tests/unit labels Jul 19, 2023
@felixfontein felixfontein added check-before-release PR will be looked at again shortly before release and merged if possible. backport-7 Automatically create a backport for the stable-7 branch labels Jul 19, 2023
@felixfontein
Copy link
Collaborator

@UnderGreen I would say this is a new feature, so it's a minor_changes in the changelog. I would mention in the changelog that the node parameter is no longer required.

@felixfontein
Copy link
Collaborator

I'll merge in a couple of days if nobody objects.

@felixfontein felixfontein removed the check-before-release PR will be looked at again shortly before release and merged if possible. label Jul 23, 2023
@felixfontein felixfontein merged commit d7c1a81 into ansible-collections:main Jul 23, 2023
151 checks passed
@patchback
Copy link

patchback bot commented Jul 23, 2023

Backport to stable-7: 💚 backport PR created

✅ Backport PR branch: patchback/backports/stable-7/d7c1a814ea82deaa8085d9845580327d5941eb3d/pr-6976

Backported as #6993

🤖 @patchback
I'm built with octomachinery and
my source is open — https://github.com/sanitizers/patchback-github-app.

@felixfontein
Copy link
Collaborator

@UnderGreen thanks for this one as well!

patchback bot pushed a commit that referenced this pull request Jul 23, 2023
…requiring node param (#6976)

* [proxmox_vm_info] Re-use cluster resources API to use module without requiring node param

* More consife if

* Fix use case when requesting all vms from specific node

* Add changelog fragment

(cherry picked from commit d7c1a81)
felixfontein pushed a commit that referenced this pull request Jul 23, 2023
…er resources API to use module without requiring node param (#6993)

[proxmox_vm_info] Re-use cluster resources API to use module without requiring node param (#6976)

* [proxmox_vm_info] Re-use cluster resources API to use module without requiring node param

* More consife if

* Fix use case when requesting all vms from specific node

* Add changelog fragment

(cherry picked from commit d7c1a81)

Co-authored-by: Sergei Antipov <greendayonfire@gmail.com>
@UnderGreen UnderGreen deleted the proxmox/reuse-cluster-resources branch July 24, 2023 03:10
felixfontein added a commit to felixfontein/community.general that referenced this pull request Jul 31, 2023
…oxmox_vm_info] Re-use cluster resources API to use module without requiring node param (ansible-collections#6993)"

This reverts commit fb3768a.
felixfontein added a commit that referenced this pull request Jul 31, 2023
* Revert "[PR #7020/b46d5d81 backport][stable-7] redfish_utils: Add support for "nextLink" property tag pagination (#7026)"

This reverts commit 1dad953.

* Revert "[PR #6914/17b4219b backport][stable-7] proxmox_kvm: enable 'force' restart of vm (as documented) (#6997)"

This reverts commit 7d68af5.

* Revert "[PR #6976/d7c1a814 backport][stable-7] [proxmox_vm_info] Re-use cluster resources API to use module without requiring node param (#6993)"

This reverts commit fb3768a.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-7 Automatically create a backport for the stable-7 branch feature This issue/PR relates to a feature request has_issue module module plugins plugin (any type) tests tests unit tests/unit
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants