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 2041995 - ipa-healthcheck: Source 'pki.server.healthcheck.clones.connectivity_and_data' not found
Summary: ipa-healthcheck: Source 'pki.server.healthcheck.clones.connectivity_and_data'...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 8
Classification: Red Hat
Component: ipa-healthcheck
Version: 8.6
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: rc
: ---
Assignee: Rob Crittenden
QA Contact: ipa-qe
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-01-18 16:45 UTC by Sudhir Menon
Modified: 2022-05-10 14:35 UTC (History)
8 users (show)

Fixed In Version: ipa-healthcheck-0.7-9.el8
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-05-10 14:09:17 UTC
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker FREEIPA-7716 0 None None None 2022-01-18 16:57:21 UTC
Red Hat Issue Tracker RHELPLAN-108510 0 None None None 2022-01-18 16:57:28 UTC
Red Hat Product Errata RHEA-2022:1884 0 None None None 2022-05-10 14:09:52 UTC

Description Sudhir Menon 2022-01-18 16:45:16 UTC
Description of problem: pki related checks are missing for ipa-healthcheck


Version-Release number of selected component (if applicable):
ipa-server-4.9.8-2.module+el8.6.0+13621+937b8cd9.x86_64
ipa-healthcheck-0.7-8.module+el8.6.0+13764+6ba37dc8.noarch

How reproducible: Always


Steps to Reproduce:

[root@server ~]# ipa-healthcheck --debug --source pki.server.healthcheck.clones.connectivity_and_data

Actual results:
Loading StateFile from '/var/lib/ipa/sysrestore/sysrestore.state'
Loading StateFile from '/var/lib/ipa/sysrestore/sysrestore.state'
Source 'pki.server.healthcheck.clones.connectivity_and_data' not found

Expected results:
pki related checks should be available.

Additional info:

Comment 5 Michal Polovka 2022-02-08 15:22:51 UTC
Pre-verified using test compose http://artifacts.osci.redhat.com/comp/rhel-8.6.0-mbs/14113-672-idm with ipa-healthcheck-0.7-9.module+el8.6.0+14113+b87cb360.noarch


# ipa-healthcheck --debug --source pki.server.healthcheck.clones.connectivity_and_data
Loading StateFile from '/var/lib/ipa/sysrestore/sysrestore.state'
Loading StateFile from '/var/lib/ipa/sysrestore/sysrestore.state'
[]
# echo $?
0


Reported issue fixed, therefore marking as verified: tested.

Comment 10 Sudhir Menon 2022-02-25 10:59:33 UTC
Marking the bug as verified using latest nightly

ipa-healthcheck-0.7-10.module+el8.6.0+14292+18b36d36.noarch
ipa-healthcheck-core-0.7-10.module+el8.6.0+14292+18b36d36.noarch
ipa-server-4.9.8-6.module+el8.6.0+14224+4c38d4ea.x86_64
pki-ca-10.12.0-2.module+el8.6.0+14115+8b467244.noarch

[root@server ~]# ipa-healthcheck --source pki.server.healthcheck.clones.connectivity_and_data
[]

Replica without CA
[root@replica2 ~]# pki-healthcheck --source pki.server.healthcheck.clones.connectivity_and_data
[
  {
    "source": "pki.server.healthcheck.clones.connectivity_and_data",
    "check": "ClonesConnectivyAndDataCheck",
    "result": "CRITICAL",
    "uuid": "698c474e-1ec4-4ed3-8102-60fffa3217e1",
    "when": "20220225105622Z",
    "duration": "0.000190",
    "kw": {
      "status": "Invalid PKI instance: pki-tomcat"
    }
  }
]

Comment 11 Florence Blanc-Renaud 2022-03-22 07:41:11 UTC
Test added upstream in freeipa repo:
master:
https://pagure.io/freeipa/c/67488d2342577cd226539c72d2a79362d9736b30

The test is located in freeipa/ipatests/test_integration/test_ipahealthcheck.py::TestIpaHealthCheck::test_source_pki_server_clones_connectivity_and_data

Comment 12 Florence Blanc-Renaud 2022-03-22 12:52:08 UTC
Test added upstream in freeipa repo:
ipa-4-9:
https://pagure.io/freeipa/c/98eb661fd8eed87119e7b299379cba48bde0f387

Comment 15 errata-xmlrpc 2022-05-10 14:09:17 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 (idm:client and idm:DL1 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/RHEA-2022:1884


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