Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Drop ClonesConnectivyAndDataCheck from pki-healthcheck #4843

Merged
merged 1 commit into from
Sep 6, 2024

Conversation

edewata
Copy link
Contributor

@edewata edewata commented Sep 6, 2024

pki-healthcheck is a tool to check the status of an instance or a node in a cluster so that if it reports a problem the admin can fix it or the monitoring service can replace it with a new node.

The ClonesConnectivyAndDataCheck on the other hand is a plugin that checks the connectivity from the instance to other clones. This plugin will report a problem if another clone is down even though the instance itself is fine, which would be misleading. Since it doesn't really fit the purpose of pki-healthcheck this plugin has been dropped.

Note:

Copy link
Member

@fmarco76 fmarco76 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

pki-healthcheck is a tool to check the status of an instance or
a node in a cluster so that if it reports a problem the admin can
fix it or the monitoring service can replace it with a new node.

The ClonesConnectivyAndDataCheck on the other hand is a plugin
that checks the connectivity from the instance to other clones.
This plugin will report a problem if another clone is down even
though the instance itself is fine, which would be misleading.
Since it doesn't really fit the purpose of pki-healthcheck this
plugin has been dropped.
Copy link

sonarcloud bot commented Sep 6, 2024

@edewata
Copy link
Contributor Author

edewata commented Sep 6, 2024

@fmarco76 Thanks! I've also fixed some tests affected by this change.

@edewata edewata merged commit 74dc799 into dogtagpki:master Sep 6, 2024
148 of 157 checks passed
@flo-renaud
Copy link

@edewata this change introduces a regression in our tests because we have one test that calls ipa-healthcheck --source pki.server.healthcheck.clones.connectivity_and_data and now it fails with Source 'pki.server.healthcheck.clones.connectivity_and_data' not found (see details).
I will adapt our test code but need to know for which version of PKI this change is targeted. Will it be PKI 11.6 only?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants