Bug 2143901 - ipa-healthcheck is using retired server
Summary: ipa-healthcheck is using retired server
Keywords:
Status: POST
Alias: None
Product: Red Hat Enterprise Linux 9
Classification: Red Hat
Component: pki-core
Version: 9.4
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: rc
: ---
Assignee: RHCS Maintainers
QA Contact: idm-cs-qe-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2022-11-18 09:50 UTC by Rakesh Kumar
Modified: 2023-08-03 15:41 UTC (History)
6 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed:
Type: Bug
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker RHCS-4333 0 None None None 2023-07-20 13:57:48 UTC
Red Hat Issue Tracker RHELPLAN-139901 0 None None None 2022-11-18 10:27:06 UTC

Comment 1 Rob Crittenden 2022-11-18 13:46:22 UTC
Please clarify which of the posted healthcheck output you are concerned with.

Only the first one appears to be related:

  {
    "source": "pki.server.healthcheck.clones.connectivity_and_data",
    "check": "ClonesConnectivyAndDataCheck",
    "result": "ERROR",
    "uuid": "72ad2788-e0b7-4f5e-9eeb-*******",
    "when": "20210707180422Z",
    "duration": "37.131043",
    "kw": {
      "status": "ERROR:  pki-tomcat : Internal error testing CA clone. Host: test1.example.com Port: 443"
    }
  },

How does this not already provide information that a host is not fully removed?

Comment 7 Ding-Yi Chen 2023-01-10 06:41:08 UTC
Summary about the case

1. Command ran: ipa-healthcheck --debug --failures-only

2. DNS entry of the failed server is removed

3. ipa-healthcheck returns Internal server error HTTPSConnectionPool(host='removed.example.com', port=443): Max retries exceeded with url: /ca/rest/certs/search?size=3 (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7f4097949e48>: Failed to establish a new connection: [Errno -2] Name or service not known',))

4. Customer ask:  If a server is removed, but for some reason it didn't remove all the pieces from IDM, then ipa-healthcheck should actually be reporting on that, instead of just failing because the method it used to determine the server list, and the one it picked, didn't remove properly.  


Well, I would say, ipa-healthcheck generally right. It mentioned that it failed to eastablish a new connection because it is unable to find the name (from DNS).

It also does not showing the working servers and services because **--failures-only**


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