Bug 1971542 - Rx and Tx drop not properly reported to the engine
Summary: Rx and Tx drop not properly reported to the engine
Keywords:
Status: CLOSED NOTABUG
Alias: None
Product: ovirt-engine
Classification: oVirt
Component: BLL.Network
Version: 4.4.7
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ---
Assignee: Ales Musil
QA Contact: Michael Burman
URL:
Whiteboard:
Depends On:
Blocks: 1937714
TreeView+ depends on / blocked
 
Reported: 2021-06-14 10:08 UTC by Aviv Litman
Modified: 2021-06-17 12:43 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-06-17 12:43:13 UTC
oVirt Team: Network
Embargoed:


Attachments (Terms of Use)

Comment 2 Ales Musil 2021-06-15 08:14:47 UTC
Tomasi,
can you please help us understand how guest agent reports drops? 

The VM has qemu-guest-agent-5.1.0 installed.

UI show 0 dropped packets and the database has also 0, see the vm_interface_statistics screenshot. 

Kernel reports different drop statistics. 
# ip -s link show eth0
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP mode DEFAULT group default qlen 1000
    link/ether 00:1a:4a:25:01:03 brd ff:ff:ff:ff:ff:ff
    RX: bytes  packets  errors  dropped overrun mcast   
    26378082250 7194832  0       268134  0       0       
    TX: bytes  packets  errors  dropped carrier collsns 
    1697312414 1065085  0       0       0       0       
 

Any idea what might be missing here?

Comment 3 Tomáš Golembiovský 2021-06-17 09:11:09 UTC
The reported values are not from the guest. While it is possible to get the number of dropped packages from guest POV by qemu-ga, this is not what VDSM reports. When reporting network stats VDSM only gives libvirt stats as seen from domain POV (gathered with virConnectGetAllDomainStats()).

Comment 4 Ales Musil 2021-06-17 12:43:13 UTC
Alright to sum up.

Host statistics:

vdsm collects statistics for all interfaces (nics/bonds/bridges), but engine aggregates and stores only physical nics and bonds.
In case of this report the drop was on ovirtmgmt which is bridge. Physical interface ens3 has 0 drops for both RX and TX that's why 
engine DB has also 0. 


VM statistics:

As Tomas explained, vdsm collects statistics from domain point of view, which might be slighlty different than guest point of view.
This is considered as correct behavior. 



Closing as NOTABUG.


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