Bug 1408963
Summary: | Network I/O Metrics empty in RHEV | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | Red Hat CloudForms Management Engine | Reporter: | Ilanit Stein <istein> | ||||||
Component: | C&U Capacity and Utilization | Assignee: | Alona Kaplan <alkaplan> | ||||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Tasos Papaioannou <tpapaioa> | ||||||
Severity: | medium | Docs Contact: | |||||||
Priority: | medium | ||||||||
Version: | 5.7.0 | CC: | alkaplan, danken, istein, jhardy, mgoldboi, obarenbo, oourfali, simaishi, sradco, tpapaioa | ||||||
Target Milestone: | GA | Keywords: | TestOnly, ZStream | ||||||
Target Release: | 5.8.3 | Flags: | istein:
needinfo-
|
||||||
Hardware: | Unspecified | ||||||||
OS: | Unspecified | ||||||||
Whiteboard: | rhevm:C&U | ||||||||
Fixed In Version: | Doc Type: | If docs needed, set a value | |||||||
Doc Text: | Story Points: | --- | |||||||
Clone Of: | |||||||||
: | 1430088 (view as bug list) | Environment: | |||||||
Last Closed: | 2017-12-14 15:18:16 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: | |||||||||
Bug Depends On: | 1459908, 1502510 | ||||||||
Bug Blocks: | 1430088 | ||||||||
Attachments: |
|
Created attachment 1235658 [details]
RHV-3.6.8_rhel72_graphs.png
New commit detected on ManageIQ/ovirt_metrics/master: https://github.com/ManageIQ/ovirt_metrics/commit/ab38723bbacefdea76c7e44321c4d7be00bcefdb commit ab38723bbacefdea76c7e44321c4d7be00bcefdb Author: Boris Odnopozov <bodnopoz> AuthorDate: Sun Dec 25 13:23:38 2016 +0200 Commit: Boris Odnopozov <bodnopoz> CommitDate: Thu Dec 29 07:42:49 2016 +0200 Fix getting nic_ids for VMs Get the nic_ids for a VM based on the vm_device_history table. https://bugzilla.redhat.com/show_bug.cgi?id=1408963 lib/ovirt_metrics.rb | 6 +++++- lib/ovirt_metrics/models/vm_device_history.rb | 1 + spec/ovirt_metrics_spec.rb | 30 +++++++++++++++++++++++++++ 3 files changed, 36 insertions(+), 1 deletion(-) Moving back to ON_DEV. Please move to POST once the new version of the gem becomes available. Failed on 5.8.0.13-rc2. I generated some network activity on a RHEV 3.6 vm (downloading a ~5MB file w/ wget every 30 seconds for an hour). The vm's C&U data page still shows all 0's in the Network I/O graph, no matter whether I select for the past hour or hourly. The metrics db shows no non-zero net_usage_rate_average entries for any vm's: vmdb_production=# select id, timestamp, resource_name, net_usage_rate_average from metrics where net_usage_rate_average > 0 and resource_type='VmOrTemplate' order by resource_name, timestamp; id | timestamp | resource_name | net_usage_rate_average ----+-----------+---------------+------------------------ (0 rows) vmdb_production=# select id, timestamp, created_on, resource_name, net_usage_rate_average from metric_rollups where resource_name='cu-24x7' order by resource_name, timestamp desc limit 5; id | timestamp | created_on | resource_name | net_usage_rate_average ------+---------------------+----------------------------+---------------+------------------------ 1934 | 2017-05-04 15:00:00 | 2017-05-04 15:03:12.286178 | cu-24x7 | 1878 | 2017-05-04 14:00:00 | 2017-05-04 14:03:08.099344 | cu-24x7 | 0 1832 | 2017-05-04 13:00:00 | 2017-05-04 13:03:07.166825 | cu-24x7 | 0 1776 | 2017-05-04 12:00:00 | 2017-05-04 12:02:58.616683 | cu-24x7 | 0 1709 | 2017-05-04 11:00:00 | 2017-05-04 11:02:49.95985 | cu-24x7 | 0 (5 rows) (The network activity would have been in the 14:00:00 rollup entry.) Please assess the importance of this issue and update the priority accordingly. Somewhere it was missed in the bug triage process. Please refer to https://bugzilla.redhat.com/page.cgi?id=fields.html#priority for a reminder on each priority's definition. If it's something like a tracker bug where it doesn't matter, please set it to Low/Low. dependent bug isn't going to make it target milestone. Code is merged in ovirt-engine, please test. With ovirt-engine-4.1.5.2-0.1.el7 and ovirt-engine-dwh-4.1.1-1.el7ev installed on the RHV 4 manager, VM network i/o metrics are now captured in CFME. Verified on both 5.8.0.9-alpha2 and 5.8.2.3. |
Created attachment 1235657 [details] RHV-4.0.5_rhel72_graphs.png Description of problem: After adding successfully RHV as a provider in CloudForms, no information is shown for Network I/O. We tried with Interval for 1 day and for 1 hour and the line remains flat. Version-Release number of selected component (if applicable): CFME-5.7.0.17 RHV-4.0.5 Or RHV-3.6.8 How reproducible: 100% Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info: