Bug 2173976

Summary: Networking receive/transmit_bytes metrics values are swapped [rhel-8.7.0.z]
Product: Red Hat Enterprise Linux 8 Reporter: RHEL Program Management Team <pgm-rhel-tools>
Component: libvirtAssignee: Michal Privoznik <mprivozn>
Status: CLOSED ERRATA QA Contact: yalzhang <yalzhang>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 8.8CC: akalenyu, ibezukh, jdenemar, jsuchane, jvilaca, kpfleming, mprivozn, ngavrilo, sradco, stirabos, virt-maint, yalzhang, ymankad
Target Milestone: rcKeywords: Triaged, ZStream
Target Release: ---Flags: pm-rhel: mirror+
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: libvirt-8.0.0-10.4.module+el8.7.0+18295+4ee500a4 Doc Type: If docs needed, set a value
Doc Text:
Cause: When fetching statistics for domain's interface (NIC), libvirt may need to swap TX/RX because depending on <interface/> type, these are read from QEMU or system. Consequence: For type 'ethernet' libvirt did swap TX/RX which lead to misleading results of virDomainInterfaceStats(). Fix: Simple. Stop swapping TX/RX for 'ethernet' type. Result: Now stats are reported correctly.
Story Points: ---
Clone Of: 2172578 Environment:
Last Closed: 2023-04-04 09:45:59 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2172578, 2173977, 2192909    
Bug Blocks:    

Comment 2 yalzhang@redhat.com 2023-03-03 02:53:24 UTC
Test on libvirt-8.0.0-10.4.module+el8.7.0+18295+4ee500a4.x86_64, with the scenarios in bz2172574#c5  2172574#c4, the result is as expected.

Comment 5 yalzhang@redhat.com 2023-03-06 11:38:03 UTC
verified per comment 2

Comment 9 errata-xmlrpc 2023-04-04 09:45:59 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (virt:rhel and virt-devel:rhel bug fix update), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2023:1573