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
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: '52:54: 00:11:a6: 2c'/>
virsh # dumpxml myhost1
...
<interface type='bridge'>
<mac address=
<source bridge='br0'/>
<target dev='vnet0'/>
<model type='virtio'/>
</interface>
...
Bad result: '52:54: 14:79:32: 6d'/>
virsh # dumpxml myhost2
...
<interface type='bridge'>
<mac address=
<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 ature: Ubuntu 2.6.32-23.37-server 2.6.32.15+drm33.5
DistroRelease: Ubuntu 10.04
Package: libvirt-bin 0.7.5-5ubuntu27.6
ProcVersionSign
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