Bug 758590
| Summary: | domblklist will returen non zero value when everything is ok | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | weizhang <weizhan> |
| Component: | libvirt | Assignee: | Alex Jia <ajia> |
| Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 6.2 | CC: | acathrow, ajia, dallan, dyuan, mzhan, rwu, veillard, wentao.ma, yupzhang |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | libvirt-0.9.9-1.el6 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2012-06-20 06:37:22 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
2011-11-30 07:09:35 UTC
Patch for upstream: http://www.redhat.com/archives/libvir-list/2011-November/msg01762.html Alex, I've put this in POST, can you comment with the commit message? Dave, thanks.
commit d082e1b966231743a142cc355d5da4edbec4dc9a
Author: Alex Jia <ajia>
Date: Wed Nov 30 16:25:07 2011 +0800
virsh: correct return value error
Fix cmdDomblklist to return 'true' on success instead of '0'
https://bugzilla.redhat.com/show_bug.cgi?id=758590
Reproduce this bug with libvirt-0.9.4-23.el6.x86_64. Verified this bug with libvirt-0.9.9-1.el6 with below steps: Steps: # virsh domblklist rhel62 Target Source ------------------------------------------------ hda /var/lib/libvirt/images/rhel62.img # echo $? 0 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/RHSA-2012-0748.html |