Bug 977974 - virt-install: give explicit descriptive error if default network not installed
Summary: virt-install: give explicit descriptive error if default network not installed
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: virt-manager
Version: 19
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Cole Robinson
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-06-25 17:25 UTC by Konrad Rzeszutek Wilk
Modified: 2013-08-31 17:28 UTC (History)
5 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2013-08-31 17:28:19 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Konrad Rzeszutek Wilk 2013-06-25 17:25:58 UTC
Description of problem:

In the past (F18) I believe when running virt-install on a freshly installed system the virt-install would use NAT and dnsmasq to setup a tunnel for a freshly launched guest. Not anymore.

Version-Release number of selected component (if applicable):
virt-install-0.10.0-0.5.gitde1695b2.fc19.noarch


How reproducible:

virt-install -l http://dl.fedoraproject.org/pub/alt/stage/19-RC1/Fedora/i386/ --ram 1024 --disk /dev/vg_guest/guest --name F18_64

Steps to Reproduce:
1. virt-install -l http://dl.fedoraproject.org/pub/alt/stage/19-RC1/Fedora/i386/ --ram 1024 --disk /dev/vg_guest/guest --name F18_64
2.
3.

Actual results:

WARNING  KVM acceleration not available, using 'qemu'
ERROR    Error in network device parameters: Virtual network 'default' does not exist: Network not found: no network with matching name 'default'

Expected results:
WARNING  KVM acceleration not available, using 'qemu'

Starting install...
Retrieving file .treeinfo...             

Additional info:

Comment 1 Cole Robinson 2013-06-25 18:02:09 UTC
You need to install libvirt-daemon-config-network and restart libvirtd. virt-install should warn about this better.

Comment 2 Konrad Rzeszutek Wilk 2013-06-26 15:52:44 UTC
Duh. Installing said rpm did indeed remove the warning.
x

Comment 3 Cole Robinson 2013-08-31 17:28:19 UTC
Actually, rather than add plumbing to give a warning about a distro specific package to install, we should just double down on recommending 'yum groupinstall Virtualization' which does the correct thing here. There are bigger fish to fry


Note You need to log in before you can comment on or make changes to this bug.