Bug 1809215

Summary: Man page has incorrect examples; log location for healthcheck tool
Product: Red Hat Enterprise Linux 8 Reporter: Amy Farley <afarley>
Component: ipa-healthcheckAssignee: Rob Crittenden <rcritten>
Status: CLOSED ERRATA QA Contact: ipa-qe <ipa-qe>
Severity: low Docs Contact:
Priority: unspecified    
Version: 8.4CC: fcami, ksiddiqu, ndehadra, pvoborni, sumenon
Target Milestone: rc   
Target Release: 8.0   
Hardware: All   
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 Amy Farley 2020-03-02 15:34:21 UTC
Description of problem:
When trying to use ipa-healthcheck, the man page shows that a human readable option should be:
   Display in human-readble output a previous report:

        ipa-healthcheck --output-format human --input-file \
       /var/log/ipa/check.json  

The actual command should show:
  --output-type=TYPE
and the log location may be different fro m the current path.

Version-Release number of selected component (if applicable):

ipa-healthcheck-0.3-4.module+el8.1.0+4098+f286395e.noarch

How reproducible:


Steps to Reproduce:
1.# ipa-healthcheck --output-format human --input-file        /var/log/ipa/check.json

2.ipa-healthcheck: error: unrecognized arguments: --output-format human

3.man ipa-healthcheck

Actual results:
see above

Expected results: 


Additional info:

Comment 1 Rob Crittenden 2020-03-02 21:23:59 UTC
Upstream PR https://github.com/freeipa/freeipa-healthcheck/pull/121

Comment 9 Sudhir Menon 2020-12-17 07:51:34 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.

Display in human-readable output a previous report:
# ipa-healthcheck --output-type human --input-file \
        /var/log/ipa/healthcheck/healthcheck.log

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