<div dir="ltr"><div class="gmail_quote"><div dir="ltr">On Wed, Oct 10, 2018 at 2:49 PM Daniel P. Berrangé <<a href="mailto:berrange@redhat.com">berrange@redhat.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">On Wed, Oct 10, 2018 at 02:27:44PM +0300, Nir Soffer wrote:<br>
> On Wed, Oct 10, 2018 at 10:18 AM Pino Toscano <<a href="mailto:ptoscano@redhat.com" target="_blank">ptoscano@redhat.com</a>> wrote:<br>
> <br>
> > On Tuesday, 9 October 2018 20:16:04 CEST Nir Soffer wrote:<br>
> > > I'm trying to build fedora-27 image for testing uploads:<br>
> > ><br>
> > > $ virt-builder fedora-27 -o /var/tmp/fedora-27.img<br>
> > > ...<br>
> > > [  25.2] Opening the new disk<br>
> > > virt-builder: error: libguestfs error: bridge ‘virbr0’ not found.  Try<br>
> > > running:<br>
> > ><br>
> > >   brctl show<br>
> > ><br>
> > > to get a list of bridges on the host, and then selecting the<br>
> > > bridge you wish the appliance network to connect to using:<br>
> > ><br>
> > >   export _SETTINGS=network_bridge=<bridge name><br>
> ><br>
> > The libvirt backend uses a network bridge on the host to setup the<br>
> > networking in the guest, which is enabled by default in virt-builder.<br>
> ><br>
> <br>
> OK, now it is clear why bypassing libvirt avoids this issue.<br>
> <br>
> So maybe I'm missing some libvirt package required for creating the<br>
> bridge?<br>
> <br>
> libvirt is installed by vdsm, which requires:<br>
> libvirt-client<br>
> libvirt-daemon-config-nwfilter<br>
> libvirt-daemon-kvm<br>
> libvirt-lock-sanlock<br>
> libvirt-python<br>
<br>
virbr0 is provided by the libvirt default virtual network, which<br>
sets up NAT based forwarding<br>
<br>
VDSM doesn't want this network connectivity so it doesn't install<br>
the libvirt default network, hence you don't have any virbr0.<br>
<br>
You can get it by installing the libvirt-daemon-config-network RPM<br></blockquote><div><br></div><div>So maybe libguestfs-tools-c should depend on it?</div><div><br></div><div>Nir</div></div></div>