Bug 2079861
| Summary: | 'debug=True' in ipahealthcheck.conf doesnot display debug output when ipa-healthcheck tool is run | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 9 | Reporter: | Sudhir Menon <sumenon> |
| Component: | ipa-healthcheck | Assignee: | Rob Crittenden <rcritten> |
| Status: | CLOSED ERRATA | QA Contact: | ipa-qe <ipa-qe> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | medium | ||
| Version: | 9.1 | CC: | fcami, mpolovka, ssidhaye |
| Target Milestone: | rc | Keywords: | Triaged |
| Target Release: | --- | Flags: | pm-rhel:
mirror+
|
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | ipa-healthcheck-0.9-7.el9 | Doc Type: | If docs needed, set a value |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2022-11-15 10:22:33 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
Sudhir Menon
2022-04-28 11:58:55 UTC
This also affects the verbose option, both of which are assigned prior to the merging of the cli and file options. Pre-verified manually using RHEL9.1 with ipa-healthcheck-0.9-7.el9.noarch # cat /etc/ipahealthcheck/ipahealthcheck.conf [default] debug=True # cat /etc/ipa-healthcheck Loading StateFile from '/var/lib/ipa/sysrestore/sysrestore.state' Loading StateFile from '/var/lib/ipa/sysrestore/sysrestore.state' Reading Dogtag specific config values Loading StateFile from '/var/lib/ipa/sysrestore/sysrestore.state' Loading StateFile from '/var/lib/ipa/sysrestore/sysrestore.state' importing all plugin modules in ipaserver.plugins... importing plugin module ipaserver.plugins.aci importing plugin module ipaserver.plugins.automember importing plugin module ipaserver.plugins.automount importing plugin module ipaserver.plugins.baseldap ipaserver.plugins.baseldap is not a valid plugin module ... Debug mode is respected, therefore marking as verified - tested. Automation pending. Verified using the automation from with the package ipa-healthcheck-0.9-8.el9.noarch tests/test_options.py::test_incorrect_output_type_cfg_file on RHEL9.1 machine # python3 -m pytest -vvv tests/test_options.py ==================================================================================== test session starts ===================================================================================== platform linux -- Python 3.9.10, pytest-6.2.2, py-1.10.0, pluggy-0.13.1 -- /usr/bin/python3 cachedir: .pytest_cache rootdir: /root/freeipa-healthcheck collected 3 items tests/test_options.py::test_options_merge PASSED [ 33%] tests/test_options.py::test_cfg_file_debug_option PASSED [ 66%] tests/test_options.py::test_incorrect_output_type_cfg_file PASSED [100%] ===================================================================================== 3 passed in 2.54s ====================================================================================== Therefore marking as verified. 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 (ipa-healthcheck 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/RHBA-2022:8113 |