[Pkg-libvirt-maintainers] Bug#626166: virt-manager: Fails to create nat-ed network on host

Olivier Berger olivier.berger at it-sudparis.eu
Mon May 9 13:02:07 UTC 2011


Package: virt-manager
Version: 0.8.7-1
Severity: normal

Hi.

This looks similar to what is reported in #615907, but relates to NAT-ed local network.

Here's the traceback I get when I create a "default" network with these parameters :
192.168.122.0/24
gateway : 192.168.122.1
netwmask : 255.255.255.0
with DHCP betw :
192.168.122.128
192.168.122.254
connectivity : NAT

I get :
Error creating virtual network: internal error Child process (dnsmasq --strict-order --bind-interfaces --pid-file=/var/run/libvirt/network/default.pid --conf-file= --except-interface lo --listen-address 192.168.122.1 --dhcp-range 192.168.122.128,192.168.122.254 --dhcp-leasefile=/var/lib/libvirt/dnsmasq/default.leases --dhcp-lease-max=127 --dhcp-no-override) status unexpected: exit status 2

Traceback (most recent call last):
  File "/usr/share/virt-manager/virtManager/createnet.py", line 351, in finish
    self.conn.create_network(xml)
  File "/usr/share/virt-manager/virtManager/connection.py", line 743, in create_network
    net.create()
  File "/usr/lib/python2.6/dist-packages/libvirt.py", line 1001, in create
    if ret == -1: raise libvirtError ('virNetworkCreate() failed', net=self)
libvirtError: internal error Child process (dnsmasq --strict-order --bind-interfaces --pid-file=/var/run/libvirt/network/default.pid --conf-file= --except-interface lo --listen-address 192.168.122.1 --dhcp-range 192.168.122.128,192.168.122.254 --dhcp-leasefile=/var/lib/libvirt/dnsmasq/default.leases --dhcp-lease-max=127 --dhcp-no-override) status unexpected: exit status 2

Hope this helps.

Best regards,


-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (900, 'testing'), (300, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages virt-manager depends on:
ii  gconf2                       2.28.1-6    GNOME configuration database syste
ii  librsvg2-common              2.32.1-1    SAX-based renderer library for SVG
ii  python                       2.6.6-14    interactive high-level object-orie
ii  python-dbus                  0.83.1-1+b1 simple interprocess messaging syst
ii  python-glade2                2.17.0-4+b1 GTK+ bindings: Glade support
ii  python-gnome2                2.28.1-2    Python bindings for the GNOME desk
ii  python-gtk-vnc               0.4.3-1     A VNC viewer widget for GTK+ (Pyth
ii  python-gtk2                  2.17.0-4+b1 Python bindings for the GTK+ widge
ii  python-ipy                   1:0.72-1    Python module for handling IPv4 an
ii  python-libvirt               0.9.0-1     libvirt Python bindings
ii  python-support               1.0.13      automated rebuilding support for P
ii  python-urlgrabber            3.9.1-4     A high-level cross-protocol url-gr
ii  python-vte                   1:0.24.3-2  Python bindings for the VTE widget
ii  virtinst                     0.500.6-1   Programs to create and clone virtu

Versions of packages virt-manager recommends:
ii  gnome-icon-theme              2.30.3-2   GNOME Desktop icon theme
ii  libvirt-bin                   0.9.0-1    the programs for the libvirt libra

Versions of packages virt-manager suggests:
ii  gnome-keyring                3.0.0-3     GNOME keyring services (daemon and
ii  hal                          0.5.14-6    Hardware Abstraction Layer
ii  python-gnomekeyring          2.30.2-1    Python bindings for the GNOME keyr
ii  ssh-askpass                  1:1.2.4.1-9 under X, asks user for a passphras
ii  ssh-askpass-gnome [ssh-askpa 1:5.5p1-6   interactive X program to prompt us
ii  virt-viewer                  0.3.1-2     Displaying the graphical console o

-- debconf-show failed





More information about the Pkg-libvirt-maintainers mailing list