Bug 1947902
| Summary: | ansible modules for gathering VM information are incomplete and very slow | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Virtualization Manager | Reporter: | Robert McSwain <rmcswain> | ||||||
| Component: | ovirt-ansible-collection | Assignee: | Martin Necas <mnecas> | ||||||
| Status: | CLOSED ERRATA | QA Contact: | Guilherme Santos <gdeolive> | ||||||
| Severity: | high | Docs Contact: | |||||||
| Priority: | high | ||||||||
| Version: | 4.4.3 | CC: | emarcus, gdeolive, lleistne, mnecas, mperina | ||||||
| Target Milestone: | ovirt-4.4.7 | ||||||||
| Target Release: | --- | ||||||||
| Hardware: | x86_64 | ||||||||
| OS: | Linux | ||||||||
| Whiteboard: | |||||||||
| Fixed In Version: | ovirt-ansible-collection-1.5.0 | Doc Type: | Bug Fix | ||||||
| Doc Text: |
Previously, using an Ansible playbook to fetch virtual machine disk information was slow and incomplete, while the REST API fetched the information faster and more completely.
In this release, the Ansible playbook fetches the information completely and quickly.
|
Story Points: | --- | ||||||
| Clone Of: | Environment: | ||||||||
| Last Closed: | 2021-07-22 15:26:02 UTC | Type: | Bug | ||||||
| Regression: | --- | Mount Type: | --- | ||||||
| Documentation: | --- | CRM: | |||||||
| Verified Versions: | Category: | --- | |||||||
| oVirt Team: | Infra | RHEL 7.3 requirements from Atomic Host: | |||||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||||
| Embargoed: | |||||||||
| Attachments: |
|
||||||||
|
Description
Robert McSwain
2021-04-09 13:53:29 UTC
Created attachment 1770623 [details]
REST API command
Verified on: ovirt-engine-4.4.7.5-0.9.el8ev.noarch Steps: 1. Use follows attribute in ovirt_vm_info modulo to gather fetched attributes in ansible: # ansible localhost -c localhost -m ovirt.ovirt.ovirt_vm_info -a "auth='url=https://`hostname`/ovirt-engine/api username=admin@internal password=<pass> insecure=true' follows=nics.vnic_profile" -v # ansible localhost -c localhost -m ovirt.ovirt.ovirt_vm_info -a "auth='url=https://`hostname`/ovirt-engine/api username=admin@internal password=<pass> insecure=true' follows=reported_devices" -v Results: Infos properly gathered using follow Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory (Low: RHV Engine and Host Common Packages security update [ovirt-4.4.7]), and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHSA-2021:2866 The needinfo request[s] on this closed bug have been removed as they have been unresolved for 365 days |