Bug 1624273

Summary: Virsh domstats missing for instances on DPDK nodes
Product: Red Hat Enterprise Linux 7 Reporter: ojanas
Component: libvirtAssignee: Michal Privoznik <mprivozn>
Status: CLOSED DUPLICATE QA Contact: chhu
Severity: high Docs Contact:
Priority: urgent    
Version: 7.5CC: aguetta, berrange, dasmith, dyuan, eglynn, fpezzell, fsoppels, jdenemar, jhakimra, juzhang, kchamart, lmen, mbooth, mprivozn, pezhang, rbryant, sbauza, sferdjao, sgordon, srevivo, vromanso, xuzhang, yalzhang
Target Milestone: pre-dev-freeze   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2018-09-10 11:27:35 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description ojanas 2018-08-31 07:12:46 UTC
Description of problem:

Network statistics from virsh command are not shown in environment for VM on DPDK compute nodes.

# virsh domstats instance-xxxxxx | grep net
  net.count=4

Version-Release number of selected component (if applicable):

libvirt-3.2.0-14.el7_4.7.x86_64                             Thu Jan  4 00:09:01 2018

Actual results:

Network statistics are not shown

Expected results:

Network statistics are shown

Comment 4 Jiri Denemark 2018-09-07 16:42:15 UTC
Michal, you made the fix for bug 1461270 in 7.5, can you check whether this is
a duplicate of that one?

Comment 8 Fabrizio Soppelsa 2018-09-10 09:54:25 UTC
Potentially related to https://bugzilla.redhat.com/show_bug.cgi?id=1459091

* Can you please verify?

Comment 9 Michal Privoznik 2018-09-10 11:27:35 UTC
(In reply to Jiri Denemark from comment #4)
> Michal, you made the fix for bug 1461270 in 7.5, can you check whether this
> is
> a duplicate of that one?

Yes, this is a duplicate. I've found this error message in the logs:

Aug 23 12:44:44 cpt0-dpdk-totp libvirtd[3077]: 2018-08-23 10:44:44.275+0000: 3091: error : virCommandWait:2601 : internal error: Child process (ovs-vsctl --timeout=5 get Interface vhu4b16b469-82 statistics:tx_errors) unexpected exit status 1: ovs-vsctl: no key "tx_errors" in Interface record "vhu4b16b469-82" column statistics

Upgrading to libvirt-3.4.0 or newer will solve the issue. I'm closing this one.


(In reply to Fabrizio Soppelsa from comment #8)
> Potentially related to https://bugzilla.redhat.com/show_bug.cgi?id=1459091
> 
> * Can you please verify?

Yes, missing vhostuser interface names are solved by that bug.

*** This bug has been marked as a duplicate of bug 1461270 ***