-
Bug
-
Resolution: Done-Errata
-
Undefined
-
rhel-9.4
-
None
-
Moderate
-
rhel-sst-idm-cs
-
ssg_idm
-
None
-
False
-
-
None
-
None
-
Pass
-
-
Manual
-
If docs needed, set a value
-
-
x86_64
-
None
-
57,005
Description of problem: 1] ipa-healthcheck is using retired server
2] 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.
3] Since it is failing without a stack trace it may
be difficult to reproduce and/or track down exactly where the problem is.
Note: As per the discussion with our Engineering team, Bug is required to open
Version-Release number of selected component (if applicable):
ipa-server-4.9.8-7.module+el8.6.0+14337+19b76db2.x86_64
rhel8
How reproducible:
Steps to Reproduce:
ipa-healthcheck --debug --failures-only
Loading StateFile from '/var/lib/ipa/sysrestore/sysrestore.state'
Loading StateFile from '/var/lib/ipa/sysrestore/sysrestore.state'
keyctl_search: Required key not available
Enter password for :
Internal server error HTTPSConnectionPool((host='test1.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',))
[
{
"source": "pki.server.healthcheck.clones.connectivity_and_data",
"check": "ClonesConnectivyAndDataCheck",
"result": "ERROR",
"uuid": "72ad2788-e0b7-4f5e-9eeb-*******",
"when": "20210707180422Z",
"duration": "37.131043",
"kw":
},
{
"source": "ipahealthcheck.ds.dse",
"check": "DSECheck",
"result": "ERROR",
"uuid": "61862033-4c45-***-",
"when": "20220707180424Z",
"duration": "0.021794",
"kw":
},
{
"source": "ipahealthcheck.ds.dse",
"check": "DSECheck",
"result": "ERROR",
"uuid": "91908b4c-218d-433c-bf5d-************",
"when": "20220707180424Z",
"duration": "0.021849",
"kw":
},
{
"source": "ipahealthcheck.ds.replication",
"check": "ReplicationCheck",
"result": "WARNING",
"uuid": "dc74ec0e-1a72-493e-beb7-c43338d1810a",
"when": "20210707180426Z",
"duration": "1.219723",
"kw":
},
{
"source": "ipahealthcheck.ipa.dna",
"check": "IPADNARangeCheck",
"result": "WARNING",
"uuid": "433da2f7-434f-4a2c-862f-***",
"when": "20220707180430Z",
"duration": "0.200231",
"kw":
}
]
Actual results:
It should point exact stack point of failure in terms of retired node (ipa replica)
Expected results: ipa health-check should return the exact point of failure .
It would be great help from customer point of prospective.
Additional info:
Somewhere there
is a record of this now-removed machine and it could cause runtime
issues at some point.
The best way forward, if the host has been removed, is to examine LDAP
for where this hostname is referenced.
but this is not helpful for customer point of prospective.
Though this is a opensource and we can modify the script .