OCPBUGS-85087: Allow OVN-Kubernetes CIDROverlap pathological events#31131
OCPBUGS-85087: Allow OVN-Kubernetes CIDROverlap pathological events#31131openshift-merge-bot[bot] merged 1 commit intoopenshift:mainfrom
Conversation
Signed-off-by: Jaime Caamaño Ruiz <jcaamano@redhat.com>
|
Pipeline controller notification For optional jobs, comment This repository is configured in: automatic mode |
|
@jcaamano: This pull request references Jira Issue OCPBUGS-85087, which is valid. The bug has been moved to the POST state. 3 validation(s) were run on this bug
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. |
|
/cherry-pick release-4.22 |
|
@jcaamano: once the present PR merges, I will cherry-pick it on top of 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 kubernetes-sigs/prow repository. |
WalkthroughA new pathological event matcher is added to detect CIDR overlaps between OVN Kubernetes and VTEP configurations. The matcher is registered in the universal set of monitorable events with specific message patterns and a Jira issue link. ChangesOVN CIDR Overlap Event Matcher
Estimated code review effort🎯 2 (Simple) | ⏱️ ~5 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 |
|
@jcaamano: This pull request references Jira Issue OCPBUGS-85087, 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. |
There was a problem hiding this comment.
Actionable comments posted: 2
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In
`@pkg/monitortestlibrary/pathologicaleventlibrary/duplicated_event_patterns.go`:
- Around line 565-570: The Jira reference in the SimplePathologicalEventMatcher
block is inconsistent: update the inline comment and the jira field inside the
registry.AddPathologicalEventMatcherOrDie(&SimplePathologicalEventMatcher{...})
for the matcher named "OVNKubernetesCIDRsOverlapWithVTEPsEvents" to reference
the correct ticket OCPBUGS-85087 (replace the URL
"https://redhat.atlassian.net/browse/OCPBUGS-84917" and any nearby comment text
that mentions 84917 to 85087) so automation and reporting align with this PR.
- Around line 566-571: The matcher added via
registry.AddPathologicalEventMatcherOrDie using SimplePathologicalEventMatcher
with name "OVNKubernetesCIDRsOverlapWithVTEPsEvents" is too broad (matches only
by reason/message); narrow its scope by adding locatorKeyRegexes on the
SimplePathologicalEventMatcher to restrict matches to the OVN-related context
(e.g., require the event locator to include the OVN namespace and/or OVN
workload identity such as "namespace:ovn-" or specific pod/controller naming
patterns used by OVN), so update the struct to include locatorKeyRegexes:
[]regexp.Regexp{regexp.MustCompile(`...`), ...} that target the OVN
namespace/workload strings to prevent masking unrelated CIDROverlap regressions.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Repository: openshift/coderabbit/.coderabbit.yaml
Review profile: CHILL
Plan: Enterprise
Run ID: 0a171bdc-7cd9-454b-9d3a-69a898101a71
📒 Files selected for processing (1)
pkg/monitortestlibrary/pathologicaleventlibrary/duplicated_event_patterns.go
|
/test ? |
|
Scheduling required tests: |
|
/payload-job periodic-ci-openshift-ovn-kubernetes-release-5.0-periodics-e2e-metal-ipi-ovn-dualstack-bgp-local-gw-techpreview |
|
@jcaamano: trigger 1 job(s) for the /payload-(with-prs|job|aggregate|job-with-prs|aggregate-with-prs) command
See details on https://pr-payload-tests.ci.openshift.org/runs/ci/be13a660-4931-11f1-9c64-53ae7ba8d14e-0 |
|
/lgtm |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: dgoodwin, jcaamano 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 |
|
/test ? |
|
/verify later |
|
/retest-required |
|
/verify later @jcaamano |
|
/verified later |
|
@jcaamano: 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. |
|
/verified later @jcaamano |
|
@jcaamano: This PR has been marked to be verified later by 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. |
|
@jcaamano: all tests passed! 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. |
|
@jcaamano: Jira Issue OCPBUGS-85087: All pull requests linked via external trackers have merged: This pull request has the 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. |
|
@jcaamano: new pull request created: #31137 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 kubernetes-sigs/prow repository. |
|
Fix included in release 5.0.0-0.nightly-2026-05-07-054132 |
OVN-Kubernetes EVPN e2e tests when running in parallel create multiple VTEP resources with the same CIDR. OVN-Kubernetes logs this through events with no further consequence other than reporting the wasteful resource use. When sufficient EVPN e2e tests run in parallel, monitoring pathological event tracker picks this up and fails the job.
https://redhat.atlassian.net/browse/OCPBUGS-85087 will fix the tests to share the same VTEP resource. Until then, add an exception for the event.
Summary by CodeRabbit