Public bug reported:

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

** Affects: libvirt (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug lucid

-- 
target device info is not in dumpxml
https://bugs.launchpad.net/bugs/668042
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to