Skip to content

fix: stop managing NodeHealthCheck (webhook requires a remediator)#231

Open
tiraboschi wants to merge 1 commit into
openshift-virtualization:mainfrom
tiraboschi:CNV-91410
Open

fix: stop managing NodeHealthCheck (webhook requires a remediator)#231
tiraboschi wants to merge 1 commit into
openshift-virtualization:mainfrom
tiraboschi:CNV-91410

Conversation

@tiraboschi

Copy link
Copy Markdown
Member

The NHC admission webhook (vnodehealthcheck.kb.io) requires either remediationTemplate or escalatingRemediations. After 57550c3 removed the SNR remediationTemplate for detection-only mode, the webhook rejects every apply, failing the asset on every reconciliation cycle.

Since the NHC API does not support detection-only mode, stop managing NodeHealthCheck entirely. Users who want node health checking must configure their own NHC with their preferred remediator.

  • Remove node-health-check from assets/active/metadata.yaml
  • Delete assets/active/node-health/
  • Add tombstone to clean up existing managed NHC resources
  • Update tests that referenced the removed asset

Fixes: https://redhat.atlassian.net/browse/CNV-91410

@openshift-ci

openshift-ci Bot commented Jul 3, 2026

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by:
Once this PR has been reviewed and has the lgtm label, please assign tiraboschi for approval. For more information see the Code Review Process.

The full list of commands accepted by this bot can be found here.

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@github-actions

github-actions Bot commented Jul 3, 2026

Copy link
Copy Markdown
Contributor

Generated Files Verification Failed

One or more generated files in this PR are out of sync:

  • CRDs: Run make update-crds if CRD verification failed
  • RBAC: Run make generate-rbac if RBAC verification failed

Please regenerate the files locally and commit the changes.

The NHC admission webhook (vnodehealthcheck.kb.io) requires either
remediationTemplate or escalatingRemediations. After 57550c3 removed
the SNR remediationTemplate for detection-only mode, the webhook
rejects every apply, failing the asset on every reconciliation cycle.

Since the NHC API does not support detection-only mode, stop managing
NodeHealthCheck entirely. Users who want node health checking must
configure their own NHC with their preferred remediator.

- Remove node-health-check from assets/active/metadata.yaml
- Delete assets/active/node-health/
- Add tombstone to clean up existing managed NHC resources
- Update tests that referenced the removed asset

Fixes: https://redhat.atlassian.net/browse/CNV-91410

Signed-off-by: Simone Tiraboschi <stirabos@redhat.com>
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.

1 participant