yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #84278
[Bug 1899431] Re: virsh domifstat can not get vhostuser vif statistics
Reviewed: https://review.opendev.org/757448
Committed: https://git.openstack.org/cgit/openstack/nova/commit/?id=4a4f12678af76101afac0ca15cc36bfa64017818
Submitter: Zuul
Branch: master
commit 4a4f12678af76101afac0ca15cc36bfa64017818
Author: zhanghao <zhanghao2_yewu@xxxxxxxxxxxxxxxxxxxx>
Date: Mon Oct 12 14:10:14 2020 -0400
Fix virsh domifstat to get vhostuser vif statistics
When a DPDK VM attaches an interface, libvirt can not automatically
generate "<target dev='vhuXXX'/>" in XML file, which causes virsh
domifstat query to fail.
Change-Id: Id4e5b52af521b5f3a206e87bf024fd1e47fc4824
Closes-Bug: #1899431
** Changed in: nova
Status: In Progress => Fix Released
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1899431
Title:
virsh domifstat can not get vhostuser vif statistics
Status in OpenStack Compute (nova):
Fix Released
Bug description:
How to reproduce this problem:
1.Create a DPDK VM with a network(instance has a vhu01 vif)
2.VM attaches an interface(instance has a vhu02 vif)
virsh domifstat instance-XXX vhu01(success)
virsh domifstat instance-XXX vhu02(failure)
error: Failed to get interface stats instance-XXX vhu02
error: invalid argument: invalid path, 'vhu02' is not a known interface
When a DPDK VM attaches an interface, libvirt can not automatically
generate "<target dev='vhuXXX'/>" in XML file.
To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1899431/+subscriptions
References