Bug 849079

Summary: A typo of virt-install error message when both parameters '--nonetworks' and '--bridge' included
Product: [Community] Virtualization Tools Reporter: Cui Lei <lcui>
Component: virt-managerAssignee: Cole Robinson <crobinso>
Status: CLOSED UPSTREAM QA Contact:
Severity: low Docs Contact:
Priority: low    
Version: unspecifiedCC: ajia, berrange, crobinso, dallan, dyasny, hyao, jwu, mzhan, rwu, tzheng
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-06-13 01:32:16 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 Cui Lei 2012-08-17 09:06:18 UTC
Description of problem:
Run a virt-install command with both parameters '--nonetworks' and '--bridge', such as:
# virt-install -n demo -r 1024 --disk path=/var/lib/libvirt/images/demo.img,size=6 --nonetworks --bridge=breth0sd -c /dev/cdrom
ERROR    Cannot use --bridges with --nonetworks

There is a typo of above error message, the '--bridges' should be changed to '--bridge'.
As '--bridges' was not valid parameters in virt-install. If you use '--bridges' in virt-install command, error message should pop up as:
"virt-install: error: no such option: --bridges"


Version-Release number of selected component (if applicable):
python-virtinst-0.600.0-8.el6.noarch

How reproducible:
100%

Steps to Reproduce:
Run a virt-install command with both parameters '--nonetworks' and '--bridge', such as:
# virt-install -n demo -r 1024 --disk path=/var/lib/libvirt/images/demo.img,size=6 --nonetworks --bridge=breth0sd -c /dev/cdrom
check the error message

Actual results:
ERROR    Cannot use --bridges with --nonetworks

Expect result:
ERROR    Cannot use --bridge with --nonetworks

Comment 2 Alex Jia 2012-08-17 10:55:27 UTC
Patch for upstream:
https://www.redhat.com/archives/virt-tools-list/2012-August/msg00044.html

Comment 3 Cole Robinson 2013-06-13 01:32:16 UTC
Fixed upstream a while ago.