Bug 1780328

Summary: ipa-healthcheck - Mention that the default output format is JSON.
Product: Red Hat Enterprise Linux 8 Reporter: Têko Mihinto <tmihinto>
Component: ipa-healthcheckAssignee: Rob Crittenden <rcritten>
Status: CLOSED ERRATA QA Contact: ipa-qe <ipa-qe>
Severity: low Docs Contact:
Priority: unspecified    
Version: 8.1CC: fcami, ksiddiqu, ndehadra, rcritten, sumenon, tscherf
Target Milestone: rc   
Target Release: 8.0   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: ipa-healthcheck-0.7-1.el8 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-05-18 15:47:50 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 Têko Mihinto 2019-12-05 17:17:50 UTC
Description of problem:
It would be nice to add in the man page that the default output format is JSON.

Version-Release number of selected component (if applicable):
# rpm -qa | grep ipa-server
ipa-server-common-4.8.0-11.module+el8.1.0+4247+9f3fd721.noarch
ipa-server-4.8.0-11.module+el8.1.0+4247+9f3fd721.x86_64
#

How reproducible:
Always.

Steps to Reproduce:
# ipa-healthcheck --help

Actual results:
...
json:
  Output information in JSON format

  --indent INDENT       Indention level of JSON output

human:
  Display output in a more human-friendly way
...

Expected results:
...
json:
  Output information in JSON format ( this is the default ).

  --indent INDENT       Indention level of JSON output
...

Additional info:

Comment 2 Rob Crittenden 2020-11-03 21:16:15 UTC
Fixed in upstream: 4defcc17f6e1ac181e07d792082eb5ee6982280c

Comment 9 Sudhir Menon 2020-12-17 07:53:23 UTC
Tested on RHEL8.4

[root@server1 ~]# cat /etc/redhat-release 
Red Hat Enterprise Linux release 8.4 Beta (Ootpa)
[root@server1 ~]# rpm -q ipa-server ipa-healthcheck
ipa-server-4.9.0-0.5.rc3.module+el8.4.0+9124+ced20601.x86_64
ipa-healthcheck-0.7-3.module+el8.4.0+9007+5084bdd8.noarch

#man ipa-healthcheck

--output-type=TYPE
  Set the output type. Supported variants are human and json. The default is
json.

Comment 11 errata-xmlrpc 2021-05-18 15:47:50 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 (Moderate: idm:DL1 and idm:client security, bug fix, and enhancement update), 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://access.redhat.com/errata/RHSA-2021:1846