Your message dated Thu, 10 Nov 2011 18:47:18 +0100
with message-id <[email protected]>
and subject line Fixed in recent versions
has caused the Debian Bug report #592177,
regarding libvirt-bin: starting a network generates iptables errors after 
daemon restart
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
592177: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=592177
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: virt-manager
Version: 0.8.4-8
Severity: important

In the host details of "localhost (QEMU)", I tried to create a new
virtual network. I set it to be isolated with no DHCP. In the dialog box
"Ready to create network", I get the following traceback every time I
click on "finish":

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/createnet.py", line 349, in
finish
    self.conn.create_network(xml)
  File "/usr/share/virt-manager/virtManager/connection.py", line 730, in
create_network
    net.create()
  File "/usr/lib/python2.6/dist-packages/libvirt.py", line 866, in create
    if ret == -1: raise libvirtError ('virNetworkCreate() failed', net=self)
libvirtError: internal error '/sbin/iptables --table filter --delete
INPUT --in-interface virbr1 --protocol udp --destination-port 69 --jump
ACCEPT' exited with non-zero status 1 and signal 0: iptables: Bad rule
(does a matching rule exist in that chain?).


I have no idea why libvirt tries to delete this rule, but whatever, I
created it. When I click on "finish" again, I get:

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/createnet.py", line 349, in
finish
    self.conn.create_network(xml)
  File "/usr/share/virt-manager/virtManager/connection.py", line 730, in
create_network
    net.create()
  File "/usr/lib/python2.6/dist-packages/libvirt.py", line 866, in create
    if ret == -1: raise libvirtError ('virNetworkCreate() failed', net=self)
libvirtError: internal error 'dnsmasq --strict-order --bind-interfaces
--pid-file=/var/run/libvirt/network/mgmt.pid --conf-file=
--listen-address 172.25.5.1 --except-interface lo' exited with non-zero
status 2 and signal 0:
dnsmasq: failed to bind listening socket for 172.25.5.1: Address already
in use


So I stop my dnsmasq listening on 0.0.0.0, add that iptables rule
*again*, and then the network is finally created. I have no idea why
libvirt wants to start dnsmasq for a network without DHCP.

Anyway, this finally gets me a new network, but this is very ugly.



--- End Message ---
--- Begin Message ---
Version: 592177

Hi,
This is fixed in recent versions.
Cheers,
 -- Guido


--- End Message ---

Reply via email to