Marko Horn
2019-Oct-10 13:40 UTC
[libvirt-users] create virtual network fails with virt-manager
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 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@rko -- zbfmail - Mittendrin statt nur Datei! Datei sein ist alles!
Martin Kletzander
2019-Oct-11 07:58 UTC
Re: [libvirt-users] create virtual network fails with virt-manager
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.> >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@rko > > > >-- >zbfmail - Mittendrin statt nur Datei! > Datei sein ist alles! > >_______________________________________________ >libvirt-users mailing list >libvirt-users@redhat.com >https://www.redhat.com/mailman/listinfo/libvirt-users
Marko Horn
2019-Oct-16 12:48 UTC
Re: [libvirt-users] create virtual network fails with virt-manager
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@rko >> >> >> >> -- zbfmail - Mittendrin statt nur Datei! >> Datei sein ist alles! >> >> _______________________________________________ >> libvirt-users mailing list >> libvirt-users@redhat.com >> https://www.redhat.com/mailman/listinfo/libvirt-users > > _______________________________________________ > libvirt-users mailing list > libvirt-users@redhat.com > https://www.redhat.com/mailman/listinfo/libvirt-users
Possibly Parallel Threads
- cant create network with virt-manager
- Re: create virtual network fails with virt-manager
- Re: cant create network with virt-manager
- vm in qcow2 runs on host A but not on host B
- Windows, qemu.agent is it possible to shut down services in running windows server?