On Tue, Sep 04, 2007 at 11:07:34PM +0100, John Lagrue wrote:
On 04/09/07, John Lagrue <jlagrue(a)gmail.com> wrote:
> On 04/09/07, Richard W.M. Jones <rjones(a)redhat.com> wrote:
> > John Lagrue wrote:
> > > TRying to create a guest using virt-manager on Fedora 7. Upon clicking
> > > "Finish" I get this error:
> > >
> > > Unable to complete install '<class
'libvirt.libvirtError'>
> > > virDomainCreateLinux() failed Failed to add tap interface 'vnet0'
to
> > > bridge 'virbr0' : No such device
> > >
> > > Any thoughts?
> >
> > What type of networking did you select?
> >
> > Is there any further detail in:
> > /root/.virt-manager/virt-manager.log
> > /var/log/xen/xend.log
> > /var/log/xen/xend-debug.log
> >
>
> I selected Virtual Network, default device. There doesn't seem to be
> anything informative in the virt-manager log file, other than the
> traceback.
>
> I don't use Xen, so those logs don't exist.
>
> It would seem to me to be saying that the virbr0 device doesn't exist;
> how can I check if it does?
>
> JDL
>
It does indeed seem that virbr0 doesn't exist. Is there something that
I haven't installed? I only want qemu-kvm, as Xen isn't a viable
option for me.
virbr0 is (supposed to be) created automatically by libvirt. If it does not
exist there are a couple of things to check
# virsh net-list --all
Name State Autostart
-----------------------------------------
default active yes
If that shows it active, then try restarting it with
virsh net-destroy default
virsh net-start default
If net-list didn't show it, then it may be deleted or not created in the
first place. You can re-create it with
virsh net-define /usr/share/libvirt/networks/default.xml
virsh net-autostart default
virsh net-start default
Dan.
--
|=- Red Hat, Engineering, Emerging Technologies, Boston. +1 978 392 2496 -=|
|=- Perl modules:
http://search.cpan.org/~danberr/ -=|
|=- Projects:
http://freshmeat.net/~danielpb/ -=|
|=- GnuPG: 7D3B9505 F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 -=|