Bug 1196640

Summary: [Monitoring] Network utilisation is not shown for the VM
Product: Red Hat Enterprise Virtualization Manager Reporter: Martin Pavlik <mpavlik>
Component: ovirt-engineAssignee: Marcin Mirecki <mmirecki>
Status: CLOSED CURRENTRELEASE QA Contact: Michael Burman <mburman>
Severity: high Docs Contact:
Priority: high    
Version: 3.6.0CC: bazulay, danken, emarcian, gklein, lsurette, mburman, mmirecki, rbalakri, Rhev-m-bugs, srevivo, v.astafiev, ykaul, ylavi
Target Milestone: ovirt-3.6.1Keywords: Regression
Target Release: 3.6.0Flags: ylavi: Triaged+
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
: 1201335 (view as bug list) Environment:
Last Closed: 2016-04-20 01:33:32 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Network RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1063343    
Bug Blocks: 1201335    
Attachments:
Description Flags
screenshot1
none
screenshots none

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