Bug 1227793

Summary: Total Rx and Total Tx Statistics for VM's Network Interfaces are not reported in the Web Admin as they should be
Product: [Retired] oVirt Reporter: Michael Burman <mburman>
Component: vdsmAssignee: Francesco Romani <fromani>
Status: CLOSED CURRENTRELEASE QA Contact: Michael Burman <mburman>
Severity: high Docs Contact:
Priority: high    
Version: 3.6CC: bazulay, bugs, danken, ecohen, gklein, lsurette, mgoldboi, myakove, rbalakri, ycui, yeylon
Target Milestone: ---   
Target Release: 3.6.0   
Hardware: x86_64   
OS: Linux   
Whiteboard: virt
Fixed In Version: 4.17.0 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-04 12:58:17 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: Virt RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1063343    
Attachments:
Description Flags
screenshot none

Description Michael Burman 2015-06-03 13:50:30 UTC
Created attachment 1034323 [details]
screenshot

Description of problem:
Total RX and Total TX Statistics for VM's Network Interfaces are not reported in the Web Admin as they should be.

VMs with guest-agent installed are not reporting the traffic statistics on the network interfaces in the UI. They report [N/A] for Total Rx and for Total Tx under Virtual Machines >> Network Interfaces >> Statistics >> [N/A]

I have traffic on the vNICs-->

[root@RHEL7 ~]# ifconfig
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        inet 10.35.128.238  netmask 255.255.255.0  broadcast 10.35.128.255
        inet6 fe80::21a:4aff:fe16:151  prefixlen 64  scopeid 0x20<link>
        ether 00:1a:4a:16:01:51  txqueuelen 1000  (Ethernet)
        RX packets 66673  bytes 4432853 (4.2 MiB)
        RX errors 0  dropped 8362  overruns 0  frame 0
        TX packets 474  bytes 50780 (49.5 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

eth1: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        ether 00:1a:4a:16:01:58  txqueuelen 1000  (Ethernet)
        RX packets 4479  bytes 327656 (319.9 KiB)
        RX errors 0  dropped 577  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

eth2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
        ether 00:1a:4a:16:01:59  txqueuelen 1000  (Ethernet)
        RX packets 7  bytes 558 (558.0 B)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 0  bytes 0 (0.0 B)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

lo: flags=73<UP,LOOPBACK,RUNNING>  mtu 65536
        inet 127.0.0.1  netmask 255.0.0.0
        inet6 ::1  prefixlen 128  scopeid 0x10<host>
        loop  txqueuelen 0  (Local Loopback)
        RX packets 12  bytes 1284 (1.2 KiB)
        RX errors 0  dropped 0  overruns 0  frame 0
        TX packets 12  bytes 1284 (1.2 KiB)
        TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0

 
[root@RHEL7 ~]# rpm -qa | grep agent
qemu-guest-agent-0.12.1.2-2.474.el6.x86_64
ovirt-guest-agent-1.0.10.2-1.el6.noarch

 
Version-Release number of selected component (if applicable):
3.6.0-0.0.master.20150519172219.git9a2e2b3.el6

Attaching screen shot with ifconfig output compared with the vNICs in UI.

Comment 1 Barak 2015-08-10 10:19:51 UTC
Moved bug to Francessco as his patch actually fixes it

Comment 2 Francesco Romani 2015-08-10 10:25:37 UTC
moved to ON_QA because the patch is included in the beta build.

Comment 3 Michael Burman 2015-08-18 06:18:07 UTC
Verified on - 3.6.0-0.11.master.el6 with vdsm-4.17.2-1.el7ev.noarch

Comment 4 Sandro Bonazzola 2015-11-04 12:58:17 UTC
oVirt 3.6.0 has been released on November 4th, 2015 and should fix this issue.
If problems still persist, please open a new BZ and reference this one.