Bug 2173977

Summary: Networking receive/transmit_bytes metrics values are swapped [rhel-8.6.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: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: libvirt-8.0.0-5.8.module+el8.6.0+18297+b0096f4a Doc Type: Bug Fix
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-18 16:33:27 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, 2192909    
Bug Blocks: 2169168, 2173976    

Comment 2 yalzhang@redhat.com 2023-03-03 02:28:59 UTC
Test on libvirt-8.0.0-5.8.module+el8.6.0+18297+b0096f4a.x86_64 with the scenarios in bz2172574#c4  bz2172574#c5, the result is as expected.

Comment 9 yalzhang@redhat.com 2023-03-05 00:05:36 UTC
verified per comment 2

Comment 13 errata-xmlrpc 2023-04-18 16:33:27 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 (Moderate: virt:rhel and virt-devel:rhel security and 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/RHSA-2023:1833

Comment 14 Simone Tiraboschi 2023-05-05 07:24:57 UTC
*** Bug 2192909 has been marked as a duplicate of this bug. ***