OCPBUGS-99208: iptables-alerter: ignore Azure Monitor Agent rules - #3088
OCPBUGS-99208: iptables-alerter: ignore Azure Monitor Agent rules#3088danwinship wants to merge 1 commit into
Conversation
|
Pipeline controller notification For optional jobs, comment This repository is configured in: LGTM mode |
|
@danwinship: This pull request references Jira Issue OCPBUGS-99208, 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. |
WalkthroughThe iptables alerter excludes rules containing Changesiptables alerter filtering
Estimated code review effort: 1 (Trivial) | ~2 minutes Suggested reviewers: 🔕 Pre-merge checks override appliedThe pre-merge checks have been overridden successfully. You can now proceed with the merge. Overridden by ❌ Failed checks (3 errors)
✅ Passed checks (21 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Comment |
|
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: danwinship 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 |
|
/jira refresh |
|
@danwinship: This pull request references Jira Issue OCPBUGS-99208, 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. |
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 `@bindata/network/iptables-alerter/002-script.yaml`:
- Line 40: Reuse the existing 127.0.0.1:8421 exclusion in the per-pod iptables
scan around the pod-selection pipeline at lines 80-83, not only in the
node-level pre-scan. Ensure pod rules containing only the Azure Monitor Agent
endpoint are filtered out before reporting a false-positive event.
- Line 40: Update the iptables filtering pipeline to remove the inline comment
from the continuation line and replace the grep-based 127.0.0.1:8421 exclusion
with an awk filter that handles all-matching exclusions without causing pipefail
failure; place any explanatory comment on its own line.
🪄 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 YAML (base), Central YAML (inherited)
Review profile: CHILL
Plan: Enterprise
Run ID: 6f28da9f-f176-4701-8eda-caacb320b43e
📒 Files selected for processing (1)
bindata/network/iptables-alerter/002-script.yaml
0e94db8 to
17976d2
Compare
|
@danwinship: 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. |
|
/verified by @danwinship |
|
@danwinship: This PR has been marked as verified 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. |
|
@danwinship: This pull request references Jira Issue OCPBUGS-99208, 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. |
In (some?) ARO clusters, there is an upstream Azure Monitor Agent that creates iptables rules in its pods. There's a bug telling the ARO team they need to get rid of them (https://redhat.atlassian.net/browse/OCPBUGS-99624). Make CNO ignore them now rather than logging errors about them (since it's not something end users can fix).