Activity log for bug #668042

Date Who What changed Old value New value Message
2010-10-28 20:52:26 Steven Wagner bug added bug
2010-10-28 20:53:55 Steven Wagner attachment added image generated by munin libvirt-ifstat plugin, shows break in data where info was irretrievable. https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/668042/+attachment/1714873/+files/libvirt_ifstat-week.png
2010-11-02 21:55:34 Mathias Gug libvirt (Ubuntu): importance Undecided Low
2010-11-12 01:42:05 Steven Wagner bug watch added https://bugzilla.redhat.com/show_bug.cgi?id=650543
2010-11-25 13:01:25 Dave Walker attachment added attachment https://bugs.edge.launchpad.net/bugs/668042/+attachment/1744759/+files/attachment
2010-11-25 13:07:23 Dave Walker libvirt (Ubuntu): status New Triaged
2010-11-25 13:07:24 Dave Walker libvirt (Ubuntu): assignee Dave Walker (davewalker)
2010-11-25 13:07:37 Dave Walker bug added subscriber Dave Walker
2010-11-25 13:09:06 Dave Walker summary target device info is not in dumpxml If Libvirtd is restarted, libvirt drops active domains lose network interface info.
2010-11-25 13:14:41 Dave Walker bug watch added https://bugzilla.redhat.com/show_bug.cgi?id=591438
2010-11-25 13:14:41 Dave Walker bug task added libvirt (Fedora)
2010-11-25 13:16:28 Dave Walker nominated for series Ubuntu Lucid
2010-11-25 13:24:19 Dave Walker description Missing target device info makes it impossible to retrieve network usage information about a guest from libvirt. Reproduce: Trigger of issue unknown. Workaround: Restart the guest, and the network device info reappears again. Detect: Use virsh with the dumpxml command to view information about a running guest. Good result: virsh # dumpxml myhost1 ... <interface type='bridge'> <mac address='52:54:00:11:a6:2c'/> <source bridge='br0'/> <target dev='vnet0'/> <model type='virtio'/> </interface> ... Bad result: virsh # dumpxml myhost2 ... <interface type='bridge'> <mac address='52:54:14:79:32:6d'/> <source bridge='br0'/> <model type='virtio'/> </interface> ... I am attaching an image of my munin graphs to illustrate the effects of the bug. ProblemType: Bug DistroRelease: Ubuntu 10.04 Package: libvirt-bin 0.7.5-5ubuntu27.6 ProcVersionSignature: Ubuntu 2.6.32-23.37-server 2.6.32.15+drm33.5 Uname: Linux 2.6.32-23-server x86_64 Architecture: amd64 Date: Thu Oct 28 13:40:36 2010 InstallationMedia: Ubuntu-Server 10.04 LTS "Lucid Lynx" - Release amd64 (20100427) ProcEnviron: LANG=en_US.UTF-8 SHELL=/bin/bash SourcePackage: libvirt IMPACT: If libvirt daemon is restarted, it forgets about domain interfaces (breaking domifstat) RESOLUTION: Check that the domain is inactive before wiping knowledge of it. PATCH: Based on upstream commit, attached comment #6. TEST CASE: (Based on Fedora bug report) {{{ 1. Start QEMU/KVM guest with: sudo virsh start vm01 2. restart libvirtd: sudo restart libvrtd 3. Get statistics with sudo virsh domifstat vm01 vnet0 Actual results: $ sudo virsh domifstat vm01 vnet0 error: Failed to get interface stats vm01 vnet0 error: invalid argument in invalid path, 'vnet0' is not a known interface Expected results: $ sudo virsh domifstat vm01 vnet0 vnet0 rx_bytes 83980 vnet0 rx_packets 1612 vnet0 rx_errs 0 vnet0 rx_drop 0 vnet0 tx_bytes 3546 vnet0 tx_packets 15 vnet0 tx_errs 0 vnet0 tx_drop 0 }}} REGRESSION POTENTIAL: This would seem to be low, the patch adds an extra conditional statement before wiping the domain network interface knowledge. The patch has been in upstream Git since 4/05/2010, and has had at least one upstream release and is also in Maverick. ProblemType: Bug DistroRelease: Ubuntu 10.04 Package: libvirt-bin 0.7.5-5ubuntu27.6 ProcVersionSignature: Ubuntu 2.6.32-23.37-server 2.6.32.15+drm33.5 Uname: Linux 2.6.32-23-server x86_64 Architecture: amd64 Date: Thu Oct 28 13:40:36 2010 InstallationMedia: Ubuntu-Server 10.04 LTS "Lucid Lynx" - Release amd64 (20100427) ProcEnviron:  LANG=en_US.UTF-8  SHELL=/bin/bash SourcePackage: libvirt
2010-11-26 13:34:23 Martin Pitt bug task added libvirt (Ubuntu Lucid)
2010-11-26 21:16:47 Dave Walker libvirt (Ubuntu Lucid): status New Fix Committed
2010-11-26 21:16:50 Dave Walker libvirt (Ubuntu Lucid): assignee Dave Walker (davewalker)
2010-11-26 21:16:54 Dave Walker libvirt (Ubuntu): status Triaged Fix Released
2010-11-26 21:16:58 Dave Walker libvirt (Ubuntu Lucid): importance Undecided Low
2010-12-13 20:16:04 Dave Walker bug added subscriber Ubuntu Stable Release Updates Team
2010-12-13 20:23:17 Steve Langasek bug added subscriber SRU Verification
2010-12-13 20:23:22 Steve Langasek tags amd64 apport-bug lucid amd64 apport-bug lucid verification-needed
2010-12-13 21:17:37 Launchpad Janitor branch linked lp:ubuntu/lucid-proposed/libvirt
2010-12-15 20:26:52 Imre Gergely bug added subscriber Imre Gergely
2010-12-20 08:17:50 Martin Pitt tags amd64 apport-bug lucid verification-needed amd64 apport-bug lucid verification-done
2010-12-21 21:05:08 Launchpad Janitor libvirt (Ubuntu Lucid): status Fix Committed Fix Released
2010-12-21 21:18:16 Launchpad Janitor branch linked lp:ubuntu/lucid-updates/libvirt
2011-09-19 21:38:00 Ubuntu Foundations Team Bug Bot tags amd64 apport-bug lucid verification-done amd64 apport-bug lucid testcase verification-done
2017-10-27 08:18:30 Bug Watch Updater libvirt (Fedora): status Unknown Fix Released
2017-10-27 08:18:30 Bug Watch Updater libvirt (Fedora): importance Unknown Medium