[Pkg-libvirt-maintainers] Bug#555611: Virtual network 'default' has not been started.

Bartosz Fenski aka fEnIo fenio at debian.org
Tue Nov 10 12:47:05 UTC 2009


Package: libvirt0
Version: 0.7.1-2
Severity: normal

Hello.

Correct me if I'm wrong, but as far as I can see libvirt is responsible for
creating virtual interfaces for virtualization. Unfortunatelly it doesn't
work.

I tried to creat virtual machine this way:

(root at france)~#virt-install -n devel -r 512 --disk path=/home/virtual/devel,size=5
ERROR    Virtual network 'default' has not been started.
Traceback (most recent call last):
  File "/usr/bin/virt-install", line 929, in <module>
    main()
  File "/usr/bin/virt-install", line 753, in main
    options.nonetworks, guest)
  File "/usr/bin/virt-install", line 319, in get_networks
    map(lambda kwargs: cli.get_network(kwargs, guest), net_kwargs)
  File "/usr/bin/virt-install", line 319, in <lambda>
    map(lambda kwargs: cli.get_network(kwargs, guest), net_kwargs)
  File "/usr/lib/pymodules/python2.5/virtinst/cli.py", line 551, in get_network
    n = VirtualNetworkInterface(**net_kwargs)
  File "/usr/lib/pymodules/python2.5/virtinst/VirtualNetworkInterface.py", line 67, in __init__
    self.network = network
  File "/usr/lib/pymodules/python2.5/virtinst/VirtualNetworkInterface.py", line 117, in set_network
    "started.") % newnet)
ValueError: Virtual network 'default' has not been started.
(root at france)~#

I found that libvirt daemon uses /etc/qemu/* files and there is some 
definition of default interface so I suppose that libvirt should set up
it basing on that.

Am I right? 

Or is there some way to start that virtual network? If yes then documentation
should say something about that.

/etc/libvirt/libvirtd.conf seems to have some network related options, but
it looks like some management stuff.

regards
fEnIo

-- 
  ,''`.  Bartosz Fenski | mailto:fenio at debian.org | pgp:0x13fefc40 | irc:fEnIo
 : :' :       32-050 Skawina - Glowackiego 3/15 - malopolskie v. - Poland
 `. `'           phone:+48602383548 | proud Debian maintainer and user
   `-            http://fenski.pl | xmpp:fenio at jabber.org | rlu:172001
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.alioth.debian.org/pipermail/pkg-libvirt-maintainers/attachments/20091110/a5e0452d/attachment.pgp>


More information about the Pkg-libvirt-maintainers mailing list