Bug 1196640 - [Monitoring] Network utilisation is not shown for the VM
Summary: [Monitoring] Network utilisation is not shown for the VM
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Virtualization Manager
Classification: Red Hat
Component: ovirt-engine
Version: 3.6.0
Hardware: x86_64
OS: Linux
high
high
Target Milestone: ovirt-3.6.1
: 3.6.0
Assignee: Marcin Mirecki
QA Contact: Michael Burman
URL:
Whiteboard:
Depends On: Cumulative_RX_TX_Statistics_VDSM_Engine
Blocks: 1201335
TreeView+ depends on / blocked
 
Reported: 2015-02-26 12:42 UTC by Martin Pavlik
Modified: 2016-04-20 01:33 UTC (History)
13 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
: 1201335 (view as bug list)
Environment:
Last Closed: 2016-04-20 01:33:32 UTC
oVirt Team: Network
Target Upstream Version:
Embargoed:
ylavi: Triaged+


Attachments (Terms of Use)
screenshot1 (97.12 KB, image/png)
2015-02-26 12:42 UTC, Martin Pavlik
no flags Details
screenshots (75.25 KB, application/x-gzip)
2015-09-21 16:43 UTC, Michael Burman
no flags Details


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 43849 0 master MERGED core: Network utilisation is not shown for the VM 2020-12-23 15:09:35 UTC
oVirt gerrit 46575 0 ovirt-engine-3.6 MERGED core: Network utilisation is not shown for the VM 2020-12-23 15:09:35 UTC

Description Martin Pavlik 2015-02-26 12:42:14 UTC
Created attachment 995560 [details]
screenshot1

Description of problem:

if there is a steady data stream (e.g. 200Mbps) between 2 VMs, network indicator in VM main tab shows 0% (see screenshot)

however data rate is shown correctly on Network Interfaces subtab for hosts and VMs (see screenshot)


Version-Release number of selected component (if applicable):
oVirt Engine Version: 3.6.0-0.0.master.20150219123521.gitafae793.el7.centos

How reproducible:
100%

Steps to Reproduce:
1. run data stream 200Mbps (e.g. using iperf on RHEL) between 2 VMs
2. check VM main tab


Actual results:
Network column on main VM tab show 0% VM network utilisation

Expected results:
Network utilisation shown correctly

Additional info:

Comment 1 Lior Vernia 2015-02-26 14:37:25 UTC
Likely a regression caused by me as part of the Cumulative Network Statistics feature :)

Comment 2 Martin Pavlik 2015-02-26 14:55:41 UTC
Also Network column is missing the history graph which is show for CPU and Memory

Comment 3 Lior Vernia 2015-02-26 14:59:17 UTC
Did that exist in 3.5, or was it only added for CPU and memory to begin with?

Comment 5 Martin Pavlik 2015-03-02 08:25:48 UTC
It did not exist in 3.5, for 3.6 graphs were added for CPU and Memory, I think we should add it for network as well in order to keep the interface consistent.

Comment 6 Eldad Marciano 2015-03-11 15:10:43 UTC
this bug reproduced in 3.5 cluster too.

In trying to modify vdsmfake, the networks usage percentage found as missing for VM's.

engine master (3.6) running cluster compatibility 3.5.

Comment 9 Marcin Mirecki 2015-07-21 10:26:39 UTC
Fix:
https://gerrit.ovirt.org/#/c/43679/

Comment 10 Marcin Mirecki 2015-07-21 10:51:47 UTC
This will need the vdsm patch to work: https://gerrit.ovirt.org/#/c/43679/

Comment 11 Michael Burman 2015-09-21 16:42:14 UTC
Tested on - 3.6.0-0.16.master.el6 with vdsm-4.17.7-1.el7ev.noarch

It seems that this bug is still relevant.
Sending traffic between 2 VMs and the Network column on the main VM tab still show 0% VM network utilization.

Attaching screenshots

Comment 12 Michael Burman 2015-09-21 16:43:14 UTC
Created attachment 1075525 [details]
screenshots

Comment 13 Marcin Mirecki 2015-10-23 12:48:52 UTC
I tested this again, both on master and 3.6, and the the network utilisation shows fine in both cases.
You need to wait about half a minute for monitoring and the UI to pick up the change in utilisation.
Notice that you need to have vdsm patch too, so you need to update it too (must include: https://gerrit.ovirt.org/#/c/43679/ )

Maybe I could take a look at the test env to check what the problem is?

Comment 14 Michael Burman 2015-10-25 10:52:33 UTC
Hi Marcin

Please contact me and i will show you.

Network utilization is not shown under:
[Virtual Machines] main tab > 'Network' utilization 0%
[Hosts] main tab > 'Network' utilization 0%

The only place that shows network utilization is:
[Hosts] main tab > [Virtual Machines] sub tab > 'Network' 

Tested on -   rhevm-3.6.0.2-0.1.el6.noarch and vdsm-4.17.10-5.el7ev.noarch
Waited more then 15 minutes and no change, network utilization still shows 0%

Comment 15 Yaniv Lavi 2015-10-27 16:18:33 UTC
Should this be ON_QA?

Comment 16 Dan Kenigsberg 2015-10-29 13:19:42 UTC
Burman reports that the bug is not solved. We shall continue deliberation on 3.6.1, as this should not block the release.

Comment 17 Marcin Mirecki 2015-11-04 09:11:26 UTC
I checked Michaels setup and the fix is not in the code. It looks like 3.6.0 does not have it.

Comment 18 Dan Kenigsberg 2015-11-04 12:38:36 UTC
Indeed, I81100cc8369a is not found on the 3.6.0 branch

 $ git log --grep I81100cc8369abe1ff8929478e1556c4e1ab81c2a ovirt/ovirt-engine-3.6.0 |wc -l
0

Comment 19 Michael Burman 2015-12-02 11:45:46 UTC
Verified on - 3.6.1-0.2.el6


Note You need to log in before you can comment on or make changes to this bug.