Bug 1250287
| Summary: | domfsinfo do not have output in quiet mode | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Luyao Huang <lhuang> |
| Component: | libvirt | Assignee: | Ján Tomko <jtomko> |
| Status: | CLOSED ERRATA | QA Contact: | Virtualization Bugs <virt-bugs> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 7.2 | CC: | dyuan, fjin, jtomko, mzhan, rbalakri |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | libvirt-1.3.1-1.el7 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-11-03 18:22:18 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
Luyao Huang
2015-08-05 02:59:56 UTC
Pushed upstream:
commit ee6160b549568133d904aa27a553d66f0b0c01d3
Author: Luyao Huang <lhuang>
CommitDate: 2015-08-05 09:58:32 +0200
virsh: fix domfsinfo output in quiet mode
https://bugzilla.redhat.com/show_bug.cgi?id=1250287
When run domfsinfo in quiet mode, we cannot get any
useful information (just get \n), this is because
we didn't use vshPrint to print useful information.
Signed-off-by: Luyao Huang <lhuang>
git describe: v1.2.18-27-gee6160b
Reproduced on libvirt-1.2.17-3.el7.x86_64 Try to verified with package: libvirt-1.3.2-1.el7.x86_64 Test steps: 1. [root@localhost libvirt]# virsh domfsinfo rhel7.2-bak Mountpoint Name Type Target ------------------------------------------------------------------- / dm-0 xfs vda /boot vda1 xfs vda 2. root@localhost libvirt]# virsh -q domfsinfo rhel7.2-bak / dm-0 xfs vda /boot vda1 xfs vda 3. The output is as expected. domfsinfo have expected output in quiet mode Verified on build libvirt-2.0.0-2.el7.x86_64 Steps: # virsh domfsinfo rhel7.2 Mountpoint Name Type Target ------------------------------------------------------------------- / dm-0 xfs vda /boot vda1 xfs vda # virsh -q domfsinfo rhel7.2 / dm-0 xfs vda /boot vda1 xfs vda 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. https://rhn.redhat.com/errata/RHSA-2016-2577.html |