Bug 1608475
| Summary: | [RFE] Collecting info for snapshot total_size through Ovirt/RHV without using Smart state analysis | ||
|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Tuan <tuado> |
| Component: | Providers | Assignee: | Boriso <bodnopoz> |
| Status: | CLOSED ERRATA | QA Contact: | Angelina Vasileva <anikifor> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 5.9.2 | CC: | anikifor, gblomqui, jfrey, jhardy, jocarter, mfeifer, mperina, obarenbo, simaishi |
| Target Milestone: | GA | Keywords: | FutureFeature, RFE |
| Target Release: | 5.11.0 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | 5.11.0.14 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2019-12-12 13:34:23 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | RHEVM | Target Upstream Version: | |
| Embargoed: | |||
|
Comment 2
Greg Blomquist
2018-08-08 14:02:09 UTC
New commit detected on ManageIQ/manageiq-providers-ovirt/master: https://github.com/ManageIQ/manageiq-providers-ovirt/commit/e0be33441368947948196e373643b166b8be4300 commit e0be33441368947948196e373643b166b8be4300 Author: Boris Odnopozov <bodnopoz> AuthorDate: Thu Jun 20 02:50:23 2019 -0400 Commit: Boris Odnopozov <bodnopoz> CommitDate: Thu Jun 20 02:50:23 2019 -0400 Collecting snapshots total_size Implement collecting total_size from snapshots - we are not actually collecting the "total_size" attribute since it actually does not make sense for snapshots, rather, we are collecting the "actual_size" attribute from the rhv api. Fixes: https://bugzilla.redhat.com/show_bug.cgi?id=1608475 app/models/manageiq/providers/redhat/infra_manager/inventory/strategies/v4.rb | 7 + app/models/manageiq/providers/redhat/infra_manager/snapshot_disks_mixin.rb | 13 + app/models/manageiq/providers/redhat/inventory/collector.rb | 11 +- app/models/manageiq/providers/redhat/inventory/parser/infra_manager.rb | 3 +- spec/support/modify_refresh_yml_recording.rb | 33 +- spec/vcr_cassettes/manageiq/providers/redhat/infra_manager/refresh/ovirt_sdk_refresh_graph_target_template.yml | 11 + spec/vcr_cassettes/manageiq/providers/redhat/infra_manager/refresh/ovirt_sdk_refresh_graph_target_vm_deleted_snapshot.yml | 12 + spec/vcr_cassettes/manageiq/providers/redhat/infra_manager/refresh/ovirt_sdk_refresh_recording.yml | 58 + spec/vcr_cassettes/manageiq/providers/redhat/infra_manager/refresh/ovirt_sdk_refresh_recording_custom_attrs.yml | 70 + spec/vcr_cassettes/manageiq/providers/redhat/infra_manager/refresh/ovirt_sdk_refresh_recording_for_mod.yml | 67 + 10 files changed, 280 insertions(+), 5 deletions(-) Verified in 5.11.0.16.20190724210259_2b4aa51. 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, 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/RHBA-2019:4199 |