virsh fails to start kvm domain with bridged nic

Bug #504215 reported by mk
2
Affects Status Importance Assigned to Milestone
libvirt (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: libvirt-bin

Release: 10.04 Ubuntu lucid (development branch)
Package: libvirt-bin 0.7.2-4ubuntu5

As user root, I try to start a kvm domain which uses a virtio nic bridged to br0, but it fails:

# virsh --connect qemu:///system
setlocale: No such file or directory
Welcome to virsh, the virtualization interactive terminal.

Type: 'help' for help with commands
       'quit' to quit

virsh # start uvd
error: Failed to start domain uvd
error: Failed to add tap interface to bridge 'br0': No such file or directory

virsh #

Definition of the virtual nic of domain uvd:

<interface type='bridge'>
<mac address='54:52:00:0f:a2:9d'/>
<source bridge='br0'/>
 <model type='virtio'/>
</interface>

Bridge definition in /etc/network/interfaces:

auto br0
iface br0 inet static
  address 10.13.13.20
  netmask 255.255.255.0
  gateway 10.13.13.1
  bridge_ports eth0
  bridge_fd 1
  bridge_stp on
  pre-up ifup eth0

iface eth0 inet manual

ProblemType: Bug
Architecture: amd64
Date: Thu Jan 7 13:13:03 2010
DistroRelease: Ubuntu 10.04
NonfreeKernelModules: nvidia
Package: libvirt-bin 0.7.2-4ubuntu5
ProcVersionSignature: Ubuntu 2.6.32-9.13-generic
SourcePackage: libvirt
Tags: lucid
Uname: Linux 2.6.32-9-generic x86_64

Revision history for this message
mk (harald-hetzner) wrote :
Revision history for this message
mk (harald-hetzner) wrote :

After upgrading to kernel 2.6.32-10-generic, the domain with the bridged nic starts.

Revision history for this message
Chuck Short (zulcss) wrote :

Thanks for the bug report, closing.

Regards

Changed in libvirt (Ubuntu):
status: New → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.