Bug 977974

Summary: virt-install: give explicit descriptive error if default network not installed
Product: [Fedora] Fedora Reporter: Konrad Rzeszutek Wilk <ketuzsezr>
Component: virt-managerAssignee: Cole Robinson <crobinso>
Status: CLOSED WONTFIX QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 19CC: berrange, crobinso, hbrock, jforbes, virt-maint
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-08-31 17:28:19 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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