Bug 622661
Summary: | virt-install should error if --extra-args specified without --location | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 6 | Reporter: | weizhang <weizhan> |
Component: | python-virtinst | Assignee: | Cole Robinson <crobinso> |
Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
Severity: | medium | Docs Contact: | |
Priority: | low | ||
Version: | 6.0 | CC: | berrange, dallan, dyuan, kxiong, llim, mhideo, weizhan, xen-maint, yoyzhang, zpeng |
Target Milestone: | rc | Keywords: | RHELNAK |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
Previous versions of virt-install would not display an error message if --extra-args is specified without --location. This fix displays an error message informing the user of the correct usage.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2011-05-19 13:45:47 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
weizhang
2010-08-10 05:19:40 UTC
This issue has been proposed when we are only considering blocker issues in the current Red Hat Enterprise Linux release. ** If you would still like this issue considered for the current release, ask your support representative to file as a blocker on your behalf. Otherwise ask that it be considered for the next Red Hat Enterprise Linux release. ** --extra-args doesn't work with CDROM installs, as mentioned in the docs. We should probably raise an error in this case. Yep, raising an error would be very good - people are constantly hitting this limitation and filing unnecessary bugs. with no --extra-args "console=ttyS0,115200" the result is same. So I think the problem is not come from --extra-args weizhang, that extra-args bit is required to get text console during install with KVM. however, extra-args only works with --location installs. so basically, there is no way via command line options to get a serial console with a CDROM install, you have to hack up the iso. Fix built in python-virtinst-0.500.5-1.el6 Verified with python-virtinst-0.500.5-1.el6 passed 1.virt-install -n text -r 1024 --disk path=/var/lib/libvirt/images/test1,size=1 -c /dev/cdrom --extra-args "console=ttyS0,115200" 2.It will output ERROR --extra-args only work if specified with --location. 3.virt-install -n text -r 1024 --disk path=/var/lib/libvirt/images/test1,size=1 -c /dev/cdrom --nographics --extra-args "console=ttyS0,115200" 4.It will output ERROR --extra-args only work if specified with --location. Now it will give an error message about --extra-args usage Verification is passed. verified this bug with: Linux localhost.localdomain 2.6.32-130.el6.x86_64 #1 SMP Tue Apr 5 19:58:31 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux python-virtinst-0.500.5-3.el6.noarch libvirt-0.8.7-17.el6.x86_64 passed. Technical note added. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. New Contents: * Previous versions of virt-install would not display an error message if --extra-args is specified without --location. This fix displays an error message informing the user of the correct usage. (BZ#622661) Technical note updated. If any revisions are required, please edit the "Technical Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. Diffed Contents: @@ -1 +1 @@ -* Previous versions of virt-install would not display an error message if --extra-args is specified without --location. This fix displays an error message informing the user of the correct usage. (BZ#622661)+Previous versions of virt-install would not display an error message if --extra-args is specified without --location. This fix displays an error message informing the user of the correct usage. An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2011-0636.html |