[libvirt-users] create virtual network fails with virt-manager

Marko Horn marko.horn at zbfmail.de
Wed Oct 16 12:48:31 UTC 2019


Hi Martin

Am 2019-10-11 09:58, schrieb Martin Kletzander:
> On Thu, Oct 10, 2019 at 03:40:24PM +0200, Marko Horn wrote:
>> 
>> 
>> hello list,
>> 
>> creatig a virtual network via virt-manager fails.
>> gentoo linux vanilla-sources 5.3.1
>> virt-manager 2.2.1
>> qemu 4.0
>> libvirt 5.5.0
>> 
> 
> Please try newer libvirt.  There were some fixes related to 
> iptables/nf_tables
> in libvirt in recent releases, so it might just solve that for you.

just want to tell you that switching to libvirt 5.6.0 on gentoo fixed 
that.
now ist possible to create networks.

marko

> 
>> 
>> the error output of
>> 
>> Error creating virtual network: internal error: Failed to apply 
>> firewall
>> rules /sbin/iptables -w --table filter --insert LIBVIRT_INP
>> --in-interface virbr1 --protocol tcp --destination-port 67 --jump
>> ACCEPT: iptables: No chain/target/match by that name.
>> 
>> 
>> Traceback (most recent call last):
>>   File "/usr/share/virt-manager/virtManager/asyncjob.py", line 75, in
>> cb_wrapper
>>     callback(asyncjob, *args, **kwargs)
>>   File "/usr/share/virt-manager/virtManager/createnet.py", line 472, 
>> in
>> _async_net_create
>>     netobj.create()
>>   File "/usr/lib64/python3.6/site-packages/libvirt.py", line 2993, in
>> create
>>     if ret == -1: raise libvirtError ('virNetworkCreate() failed',
>> net=self)
>> libvirt.libvirtError: internal error: Failed to apply firewall rules
>> /sbin/iptables -w --table filter --insert LIBVIRT_INP --in-interface
>> virbr1 --protocol tcp --destination-port 67 --jump ACCEPT: iptables: 
>> No
>> chain/target/match by that name.
>> 
>> 
>> 
>> /sbin/iptables exists
>> 
>> any ideas?
>> 
>> kind regards
>> m at rko
>> 
>> 
>> 
>> -- zbfmail - Mittendrin statt nur Datei!
>>           Datei sein ist alles!
>> 
>> _______________________________________________
>> libvirt-users mailing list
>> libvirt-users at redhat.com
>> https://www.redhat.com/mailman/listinfo/libvirt-users
> 
> _______________________________________________
> libvirt-users mailing list
> libvirt-users at redhat.com
> https://www.redhat.com/mailman/listinfo/libvirt-users




More information about the libvirt-users mailing list