RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1250287 - domfsinfo do not have output in quiet mode
Summary: domfsinfo do not have output in quiet mode
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: libvirt
Version: 7.2
Hardware: x86_64
OS: Linux
low
low
Target Milestone: rc
: ---
Assignee: Ján Tomko
QA Contact: Virtualization Bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-08-05 02:59 UTC by Luyao Huang
Modified: 2016-11-03 18:22 UTC (History)
5 users (show)

Fixed In Version: libvirt-1.3.1-1.el7
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-11-03 18:22:18 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2016:2577 0 normal SHIPPED_LIVE Moderate: libvirt security, bug fix, and enhancement update 2016-11-03 12:07:06 UTC

Description Luyao Huang 2015-08-05 02:59:56 UTC
Description of problem:
domfsinfo do not have output in quiet mode

Version-Release number of selected component (if applicable):
libvirt-1.2.17-3.el7.x86_64

How reproducible:
100%

Steps to Reproduce:
1.
# virsh domfsinfo rhel7.0-rhel
Mountpoint                           Name     Type     Target
-------------------------------------------------------------------
/                                    dm-1     ext4     vda
/boot                                vda1     ext4     vda


2.
# virsh -q domfsinfo rhel7.0-rhel



3.

Actual results:
domfsinfo do not have output in quiet mode

Expected results:
# virsh -q domfsinfo rhel7.0-rhel
/                                    dm-1     ext4     vda
/boot                                vda1     ext4     vda


Additional info:

Comment 1 Ján Tomko 2015-08-05 08:00:53 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

Comment 3 Dongmin Wang 2016-03-28 02:33:30 UTC
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

Comment 4 Fangge Jin 2016-07-15 06:25:31 UTC
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

Comment 6 errata-xmlrpc 2016-11-03 18:22:18 UTC
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


Note You need to log in before you can comment on or make changes to this bug.