virsh fails to start kvm domain with bridged nic
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=
<source bridge='br0'/>
<model type='virtio'/>
</interface>
Bridge definition in /etc/network/
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
NonfreeKernelMo
Package: libvirt-bin 0.7.2-4ubuntu5
ProcVersionSign
SourcePackage: libvirt
Tags: lucid
Uname: Linux 2.6.32-9-generic x86_64
After upgrading to kernel 2.6.32-10-generic, the domain with the bridged nic starts.