OCPBUGS-99916: exclude openshift-debug-* namespaces from best-effort QoS invariant - #31437
OCPBUGS-99916: exclude openshift-debug-* namespaces from best-effort QoS invariant#31437mkowalski wants to merge 1 commit into
Conversation
…QoS invariant
`oc debug node/<node>` run without an explicit namespace creates a
transient openshift-debug-<random> namespace for its debug pod. Such
pods have no resource requests/limits and are best-effort QoS by
design. The [sig-auth][Feature:SecurityPenetration] tests run
`oc debug node/master-0` repeatedly during the parallel conformance
suite on baremetal, and when the QoS invariant scan races with one of
these pods it fails:
1 pods found in best-effort QoS:
openshift-debug-9m92k/master-0-debug-fl67x is running in best-effort QoS
Audit logs confirm the flagged pod is created by oc 2s before the
invariant test fails (Component Readiness regression 45061's sibling
44948, prow run 2079493268545998848).
Extend the existing ephemeral-debug-pod exclusion (which only covered
node.DebugNamespace) to also skip pods in openshift-debug-* namespaces
that match the oc-debug pod heuristics.
|
Pipeline controller notification For optional jobs, comment This repository is configured in: automatic mode |
|
@mkowalski: This pull request references Jira Issue OCPBUGS-99916, which is invalid:
Comment The bug has been updated to refer to the pull request using the external bug tracker. 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)
WalkthroughThe managed-cluster QoS test now skips ephemeral ChangesQoS validation filtering
Estimated code review effort: 1 (Trivial) | ~5 minutes 🚥 Pre-merge checks | ✅ 15✅ Passed checks (15 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
/jira refresh |
|
@mkowalski: This pull request references Jira Issue OCPBUGS-99916, which is valid. The bug has been moved to the POST state. 3 validation(s) were run on this bug
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. |
|
@mkowalski: This pull request references Jira Issue OCPBUGS-99916, which is valid. 3 validation(s) were run on this bug
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. |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: mkowalski, sdodson The full list of commands accepted by this bot can be found here. The pull request process is described here DetailsNeeds approval from an approver in each of these files:
Approvers can indicate their approval by writing |
|
Scheduling required tests: |
|
@mkowalski: The following tests 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. |
|
Risk analysis has seen new tests most likely introduced by this PR. New Test Risks for sha: 3623768
New tests seen in this PR at sha: 3623768
|
Fixes https://issues.redhat.com/browse/OCPBUGS-99916 (mirror: https://redhat.atlassian.net/browse/OCPBUGS-99916)
oc debug node/<node>run without an explicit namespace creates a transientopenshift-debug-<random>namespace for its debug pod. These pods have no resource requests/limits and are best-effort QoS by design — they are not control-plane workloads.The
[sig-auth][Feature:SecurityPenetration]tests (baremetal-gated) runoc debug node/master-0repeatedly during the parallel conformance suite. When the[sig-arch] Managed cluster should ensure control plane pods do not run in best-effort QoSinvariant scan races with one of these pods, it fails:Audit logs confirm causality: the flagged pod was created by
system:adminviaoc/5.0.0at 14:03:02, and the invariant test failed at 14:03:04 (prow run 2079493268545998848, Component Readiness regression 44948, triage 658).The test already excludes ephemeral debug pods in
node.DebugNamespace(openshift-machine-config-operator); this PR extends the sameisEphemeralDebugPodexclusion to pods in transientopenshift-debug-*namespaces.AI-generated content: This PR was created by AI as part of Component Readiness triage duty. Please verify before acting on it.
Summary by CodeRabbit