SREP-4796: Allow CreateMustGather alert in conformance tests#31128
SREP-4796: Allow CreateMustGather alert in conformance tests#31128dustman9000 wants to merge 2 commits intoopenshift:mainfrom
Conversation
CreateMustGather is a managed-cluster-config meta-alert that fires when any other alert has been active for 15 minutes, triggering CAD to collect a must-gather. It fires during cluster install settling and fails the alerts-in-firing-state conformance test. Jira: https://redhat.atlassian.net/browse/SREP-4796
|
Pipeline controller notification For optional jobs, comment This repository is configured in: automatic mode |
|
@dustman9000: This pull request references SREP-4796 which is a valid jira issue. Warning: The referenced jira issue has an invalid target version for the target branch this PR targets: expected the story to target the "5.0.0" version, but no target version was set. DetailsIn response to this:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the openshift-eng/jira-lifecycle-plugin repository. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository YAML (base), Central YAML (inherited) Review profile: CHILL Plan: Enterprise Run ID: 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
WalkthroughThe PR adds the alert name ChangesAllowed Alert Update
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes 🚥 Pre-merge checks | ✅ 12✅ Passed checks (12 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: dustman9000 The full list of commands accepted by this bot can be found here. DetailsNeeds approval from an approver in each of these files:Approvers can indicate their approval by writing |
|
Scheduling required tests: |
|
@dustman9000: The following test failed, say
Full PR test history. Your PR dashboard. DetailsInstructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
Summary
Add
CreateMustGatherto theAllowedAlertNameslist so it does not fail the "shouldn't report any alerts in firing state" conformance test.Why
CreateMustGatheris a managed-cluster-config meta-alert that fires when any other alert has been active for 15 minutes. It triggers CAD (configuration-anomaly-detection) to collect a must-gather for debugging. On CI clusters, transient alerts during cluster install settling trigger CreateMustGather, which persists after the underlying alert resolves and fails conformance testing.This has caused the alert to be reverted from MCC twice.
Context
Test plan
Summary by CodeRabbit