| Summary: | virt-install puts non-error output on stderr | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Greg Nichols <gnichols> |
| Component: | python-virtinst | Assignee: | Cole Robinson <crobinso> |
| Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 6.1 | CC: | dyuan, hjiang, mzhan, rlandry, zpeng |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
No description necessary
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2011-12-06 16:15:59 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Bug Depends On: | |||
| Bug Blocks: | 682115, 865546 | ||
|
Description
Greg Nichols
2011-03-15 15:07:25 UTC
Since RHEL 6.1 External Beta has begun, and this bug remains unresolved, it has been rejected as it is not proposed as exception or blocker. Red Hat invites you to ask your support representative to propose this request, if appropriate and relevant, in the next release of Red Hat Enterprise Linux. Weird, by default the progress reporting is sent to stderr. Fixed upstream now: http://git.fedorahosted.org/git?p=python-virtinst.git;a=commit;h=02f68f6650b60b65e6e26414f2f3bad4630ed6d8 virt-install can still print stderr output even if the command isn't going to fail, like various warnings (network doesn't support PXE is one of them). I'd recommend changing your tests to not report failure if there is stderr output, maybe just a warning or something. Since this isn't a regression and isn't high priority, moving to 6.2 Fixed in python-virtinst-0.600.0-1.el6 Verified with the following components: python-virtinst-0.600.0-1.el6. libvirt-0.9.4-0rc1.el6.x86_64 kernel-2.6.32-171.el6.x86_64 qemu-kvm-0.12.1.2-2.174.el6.x86_64 Steps: 1. # virt-install --name test -r 512 --disk path=/var/lib/libvirt/images/demo.img --disk path=/var/lib/libvirt/images/test1.img --network network:default --vnc --import --noreboot --noautoconsole 2>stderr.txt Starting install... Creating domain... | 0 B 00:00 Domain creation completed. You can restart your domain by running: virsh --connect qemu:///system start test [root@jhm images]# more stderr.txt [root@jhm images]# 2. # virt-install --name test -r 512 --disk path=/var/lib/libvirt/images/demo.img --disk path=/var/lib/libvirt/images/tes.img --network network:default --vnc --import --noreboot --noautoconsole 2>stderr.txt [root@jhm images]# more stderr.txt ERROR Error with storage parameters: Size must be specified for non existent volume path '/var/lib/libvirt/images/tes.img'
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:
No description necessary
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. http://rhn.redhat.com/errata/RHBA-2011-1643.html |