Bug 1724415
| Summary: | [Regression] Unable to capture memory metric from Azure instances | |||
|---|---|---|---|---|
| Product: | Red Hat CloudForms Management Engine | Reporter: | Nandini Chandra <nachandr> | |
| Component: | C&U Capacity and Utilization | Assignee: | Adam Grare <agrare> | |
| Status: | CLOSED EOL | QA Contact: | Nandini Chandra <nachandr> | |
| Severity: | high | Docs Contact: | Red Hat CloudForms Documentation <cloudforms-docs> | |
| Priority: | medium | |||
| Version: | 5.10.6 | CC: | dmetzger, obarenbo, rknaur, simaishi | |
| Target Milestone: | GA | Keywords: | Regression, TestOnly, ZStream | |
| Target Release: | 5.12.0 | Flags: | mfeifer:
mirror+
|
|
| Hardware: | Unspecified | |||
| OS: | Unspecified | |||
| Whiteboard: | ||||
| Fixed In Version: | Doc Type: | If docs needed, set a value | ||
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1767656 (view as bug list) | Environment: | ||
| Last Closed: | 2020-03-25 18:03:41 UTC | Type: | Bug | |
| Regression: | --- | Mount Type: | --- | |
| Documentation: | --- | CRM: | ||
| Verified Versions: | Category: | Bug | ||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | ||
| Cloudforms Team: | CFME Core | Target Upstream Version: | ||
| Embargoed: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1767656 | |||
|
Description
Nandini Chandra
2019-06-27 03:47:58 UTC
New commit detected on ManageIQ/manageiq-providers-azure/ivanchuk: https://github.com/ManageIQ/manageiq-providers-azure/commit/8473d9e5d7db37de50d50071c612583bbdec5947 commit 8473d9e5d7db37de50d50071c612583bbdec5947 Author: Adam Grare <agrare> AuthorDate: Mon Aug 12 11:59:14 2019 -0400 Commit: Adam Grare <agrare> CommitDate: Mon Aug 12 11:59:14 2019 -0400 Merge pull request #341 from AlexanderZagaynov/BZ-1671580_azure_metrics capture memory metric (cherry picked from commit 3a0964bc18bd8faa4ff438cc02ed948959d88cf2) Fixes https://bugzilla.redhat.com/show_bug.cgi?id=1724415 app/models/manageiq/providers/azure/cloud_manager/metrics_capture.rb | 173 +- spec/models/manageiq/providers/azure/cloud_manager/metrics_capture_spec.rb | 92 +- 2 files changed, 178 insertions(+), 87 deletions(-) I still don't see memory metric for Azure instances . You could check some of my running Azure instances(nachandr-win etc.) on https://10.16.5.114. This is a 5.11.0.22 appliance. New commit detected on ManageIQ/manageiq-providers-azure/ivanchuk: https://github.com/ManageIQ/manageiq-providers-azure/commit/52e6b04be4e2da5d93e42e3418f53ec1342e9aa0 commit 52e6b04be4e2da5d93e42e3418f53ec1342e9aa0 Author: Adam Grare <agrare> AuthorDate: Tue Sep 3 13:31:08 2019 -0400 Commit: Adam Grare <agrare> CommitDate: Tue Sep 3 13:31:08 2019 -0400 Merge pull request #347 from AlexanderZagaynov/BZ-1747858_invalid_and_syntax fix invalid and syntax (cherry picked from commit 3eca30ccf94e9ebfa8ea409b80e0629140159bfc) https://bugzilla.redhat.com/show_bug.cgi?id=1724415 https://bugzilla.redhat.com/show_bug.cgi?id=1747858 app/models/manageiq/providers/azure/cloud_manager/metrics_capture.rb | 10 +- 1 file changed, 5 insertions(+), 5 deletions(-) Moving to 5.11.1 per CF Program Leads discussion. So, the question now is how this metric should be named. I see in the charts settings, that it is some "derived_..." columns: https://github.com/ManageIQ/manageiq/blob/2d001e04b8394c4da18ccbdbc4148bc9d5206a16/product/charts/miq_reports/vim_perf_realtime.yaml#L30 In the old code it is named "mem_usage_absolute_average": https://github.com/ManageIQ/manageiq-providers-azure/blob/921d5e37cbc997c4d5a5014297675474046f2c18/app/models/manageiq/providers/azure/cloud_manager/metrics_capture.rb#L35 In the current code it is named "mem_usage_rate_average": https://github.com/ManageIQ/manageiq-providers-azure/blob/8ce95c67f66d586bead1c07a3981ac23c152d4e6/app/models/manageiq/providers/azure/cloud_manager/metrics_capture.rb#L23 I've prepared a PR to rename it back, but still unsure will it help - need to research with UI https://github.com/ManageIQ/manageiq-providers-azure/pull/351 PR merged Tested the patched appliance. Verified that CFME is collecting memory metric for both Linux and Windows instances. The memory Utilization graphs also look good. |