#8892 [RFE] When IPA system is healthy, ipa-healthcheck --failures-only should display proper message instead of empty list
Closed: fixed 2 years ago by frenaud. Opened 2 years ago by mpolovka.

Description of problem: When IPA system is healthy, ipa-healthcheck --failures-only should display proper message instead of empty list

Version-Release number of selected component (if applicable):
ipa-server-4.8.0-11.module+el8.1.0+4247+9f3fd721.x86_64

How reproducible: Always

Steps to Reproduce:
1. Lets assume ipa system is healthy.
2. Now run ipa-healthcheck-tool --failures-only
3. Check the output

Actual results:
The output displays an empty list i.e []

Expected results:
Instead of displaying an empty list i.e [], which doesn't make sense when a report is revisited, instead it should display user-friendly message e.g 'IPA system is/was in healthy state : <timestamp>'.
This makes sense for the customer viewing the report


To be clear it will only display the message when --output-type is human.

master:

  • b43ac4f ipatests: test_ipahealthcheck: print a message if a system is healthy

ipa-4-9:

  • 7f910eb ipatests: test_ipahealthcheck: print a message if a system is healthy

Metadata Update from @frenaud:
- Issue close_status updated to: fixed
- Issue status updated to: Closed (was: Open)

2 years ago

Login to comment on this ticket.

Metadata