Description of problem: ---------------------- With the fix in https://bugzilla.redhat.com/show_bug.cgi?id=1193205, CFME can now collect memory metrics for OSP instances. However, this memory metric(derived_memory_used) is not being rolled up to OSP Availability zones. vmdb_production=# select derived_memory_used from metric_rollups where resource_type = 'AvailabilityZone'\x\g\x [ RECORD 11 ]-------------+-- derived_memory_used | -[ RECORD 12 ]-------------+-- derived_memory_used | | -[ RECORD 13 ]-------------+-- Version-Release number of selected component (if applicable): ------------------------- 5.6.0.10 How reproducible: ----------------- Always Steps to Reproduce: ------------------- 1.Enable C&U collection for OSP provider 2.Check the metric_rollups DB table. Actual results: -------------- Memory metric is not being rolled up to OSP Availability zones.This data is not available in the DB and hence the C&U graph for memory usage is also missing. Expected results: ---------------- Memory metric should be rolled up to OSP Availability zones. Additional info: ----------------
Are the other metrics showing up fine, or are others missing too?
Clearing needinfo since I've reproduced and resolved this locally (PR forthcoming)
So this bug as written only covers getting Maemory usage into the metric_rollups db table. It looks like the lack of Memory in the C&U graphs is a separate issue. Should that be fixed as part of this BZ, or is that a separate fix?
Scott, The C&U graphs would be a separate issue.I'll open a bug to address that issue.
https://github.com/ManageIQ/manageiq/pull/9726
New commit detected on ManageIQ/manageiq/master: https://github.com/ManageIQ/manageiq/commit/64cdd254eebed3a23f28ab28c220d1c06d64d6bd commit 64cdd254eebed3a23f28ab28c220d1c06d64d6bd Author: Scott Seago <sseago> AuthorDate: Thu Jul 7 18:47:21 2016 -0400 Commit: Scott Seago <sseago> CommitDate: Mon Jul 11 12:12:26 2016 -0400 memory metric not being rolled up to OSP Availability zones This PR adds derived_memory_used to metric rollups for Availability Zones https://bugzilla.redhat.com/show_bug.cgi?id=1345832 app/models/metric/rollup.rb | 1 + 1 file changed, 1 insertion(+)
Verified in 5.7.0.3.