Sunday, September 25, 2011

ValueError: Virtual network 'default' has not been started.

KVM on ubuntu Error.

Running KVM on Ubuntu 10.04-LTS,

$sudo virt-install -n combro -r 256 -f combro_winxp.img -s 50 -c /home/widi/source/iso/Win_xp_sp2.iso --accelerate --connect=qemu:///system --vnc --noautoconsole -v
ERROR    Virtual network 'default' has not been started.
Traceback (most recent call last):
  File "/usr/bin/virt-install", line 943, in <module>
    main()
  File "/usr/bin/virt-install", line 770, in main
    options.nonetworks, guest)
  File "/usr/bin/virt-install", line 335, in get_networks
    map(lambda kwargs: cli.get_network(kwargs, guest), net_kwargs)
  File "/usr/bin/virt-install", line 335, in <lambda>
    map(lambda kwargs: cli.get_network(kwargs, guest), net_kwargs)
  File "/usr/lib/pymodules/python2.6/virtinst/cli.py", line 548, in get_network
    n = VirtualNetworkInterface(**net_kwargs)
  File "/usr/lib/pymodules/python2.6/virtinst/VirtualNetworkInterface.py", line 67, in __init__
    self.network = network
  File "/usr/lib/pymodules/python2.6/virtinst/VirtualNetworkInterface.py", line 117, in set_network
    "started.") % newnet)
ValueError: Virtual network 'default' has not been started.

Solustion

$sudo  virsh net-start default
Network default started



--
Dikirim dari suwidi.or.id dengan dukungan dev-NET(system)