internal error: Failed to initialize a valid firewall backend

Bug #1505576 reported by Matthias Klose
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
libvirt (Ubuntu)
Fix Released
Undecided
Marc Deslauriers

Bug Description

on a current wily environment:

trying to create a virtual machine using the instructions from https://help.ubuntu.com/lts/serverguide/libvirt.html

$ virt-install -n trusty_buildd -r 4096 --disk path=/mnt/ssd/images/trusty_buildd.img,bus=virtio,size=80 -c Downloads/trusty-server-cloudimg-amd64-disk1.img --network network=default,model=virtio --graphics vnc,listen=0.0.0.0 --noautoconsole -v

Installation wird gestartet...
ERROR Angeforderte Operation ist nicht gültig: network 'default' is not active

$ virsh net-list --all
 Name State Autostart Persistent
----------------------------------------------------------
 default inactive yes yes

$ virsh net-start default
error: Failed to start network default
error: internal error: Failed to initialize a valid firewall backend

Revision history for this message
Matthias Klose (doko) wrote :

seen when not having libvirt-bin's recommends installed:

  ebtables gawk libxml2-utils

so at least one of these missing causes the failure

affects: libvirt-bin (Ubuntu) → libvirt (Ubuntu)
Changed in libvirt (Ubuntu):
status: New → Confirmed
assignee: nobody → Marc Deslauriers (mdeslaur)
Revision history for this message
Serge Hallyn (serge-hallyn) wrote : Re: [Bug 1505576] [NEW] internal error: Failed to initialize a valid firewall backend

I suspect this is a duplicate of bug 1512749

Are you using network-manager?

Revision history for this message
Matthias Klose (doko) wrote :

yes, network-manager is enabled by default on desktop installations.

Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

please let us know if updating (and then perhaps rebooting) fixes it for good.

Revision history for this message
Matthias Klose (doko) wrote :

why do you ask for a reboot, when the issue already is analyzed? It needs a fix, not a reboot.

Revision history for this message
Serge Hallyn (serge-hallyn) wrote :

Because AIUI the upgrade will install the fix but not restart network manager.

Revision history for this message
Marc Deslauriers (mdeslaur) wrote :

This isn't a dupe of 1512749. It is caused by one of the recommends actually needing to be a depends.

I'll take care of this.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package libvirt - 1.2.16-2ubuntu13

---------------
libvirt (1.2.16-2ubuntu13) xenial; urgency=medium

  * debian/control: switch ebtables from Recommends to Depends or default
    configuration network doesn't get created. (LP: #1505576)

 -- Marc Deslauriers <email address hidden> Thu, 05 Nov 2015 15:14:04 -0600

Changed in libvirt (Ubuntu):
status: Confirmed → 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.