Skip to content

Conversation

@zeeke
Copy link
Contributor

@zeeke zeeke commented Jan 20, 2026

Image quay.io/openshift/origin-multus-networkpolicy has been updated with the nftables implemenation (https://github.com/k8snetworkplumbingwg/multi-networkpolicy-nftables). Adjust the deployment parameter to fit the new code.

depends on:

Image `quay.io/openshift/origin-multus-networkpolicy` has been updated with the nftables
implemenation (https://github.com/k8snetworkplumbingwg/multi-networkpolicy-nftables).
Adjust the deployment parameter to fit the new code.

Signed-off-by: Andrea Panattoni <apanatto@redhat.com>
@zeeke
Copy link
Contributor Author

zeeke commented Jan 20, 2026

/hold

@coderabbitai
Copy link

coderabbitai bot commented Jan 20, 2026

Walkthrough

The pull request modifies Multus network policy configuration files: reformatting icmpv6 rules from iptables syntax to shortened form in custom-iptables-rules.yaml, and removing explicit command override and pod-iptables argument from the multus-networkpolicy container specification.

Changes

Cohort / File(s) Summary
Multus network policy configuration
bindata/network/multus-networkpolicy/custom-iptables-rules.yaml, bindata/network/multus-networkpolicy/multus-networkpolicy.yaml
Converts icmpv6 firewall rules from iptables-style syntax to shortened form (neighbor-solicitation, neighbor-advertisement, router-solicitation, router-advertisement entries), and removes command override (/usr/bin/multi-networkpolicy-iptables) and --pod-iptables argument from container spec, deferring to image default entrypoint.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~8 minutes


Comment @coderabbitai help to get the list of available commands and usage tips.

@openshift-ci openshift-ci bot added the do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command. label Jan 20, 2026
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 20, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: zeeke
Once this PR has been reviewed and has the lgtm label, please assign kyrtapz 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

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

🤖 Fix all issues with AI agents
In `@bindata/network/multus-networkpolicy/custom-iptables-rules.yaml`:
- Around line 13-17: The YAML file contains tab characters in the indentation
for lines like "icmpv6 type nd-neighbor-solicit accept", "icmpv6 type
nd-router-advert accept", and "icmpv6 type nd-router-solicit accept" which
breaks YAML parsing; fix this by replacing all leading tabs with spaces (use
consistent space-based indentation) for those icmpv6 rule lines so the ConfigMap
parses correctly and the deployment can proceed.

Comment on lines +13 to +17
icmpv6 type nd-neighbor-solicit accept
icmpv6 type nd-neighbor-advert accept
# accept RA/RS
-p icmpv6 --icmpv6-type router-solicitation -j ACCEPT
-p icmpv6 --icmpv6-type router-advertisement -j ACCEPT
icmpv6 type nd-router-advert accept
icmpv6 type nd-router-solicit accept
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ Potential issue | 🔴 Critical

YAML syntax error: Tab characters will break parsing.

Lines 14, 16, and 17 use tab characters for indentation while line 13 uses spaces. YAML does not allow tabs for indentation—this will cause the ConfigMap to fail parsing and prevent deployment.

Proposed fix: Replace tabs with spaces
   custom-v6-rules.txt: |
     # accept NDP
     icmpv6 type nd-neighbor-solicit accept
-		icmpv6 type nd-neighbor-advert accept
+    icmpv6 type nd-neighbor-advert accept
     # accept RA/RS
-		icmpv6 type nd-router-advert accept
-		icmpv6 type nd-router-solicit accept
+    icmpv6 type nd-router-advert accept
+    icmpv6 type nd-router-solicit accept
🧰 Tools
🪛 YAMLlint (1.38.0)

[error] 14-14: syntax error: found character '\t' that cannot start any token

(syntax)

🤖 Prompt for AI Agents
In `@bindata/network/multus-networkpolicy/custom-iptables-rules.yaml` around lines
13 - 17, The YAML file contains tab characters in the indentation for lines like
"icmpv6 type nd-neighbor-solicit accept", "icmpv6 type nd-router-advert accept",
and "icmpv6 type nd-router-solicit accept" which breaks YAML parsing; fix this
by replacing all leading tabs with spaces (use consistent space-based
indentation) for those icmpv6 rule lines so the ConfigMap parses correctly and
the deployment can proceed.

namespace: openshift-multus
data:

custom-v6-rules.txt: |
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in addition to what the bot said, can you remove the stray blank line here (line 10), and also rename the yaml file to "custom-nftables-rules.yaml"? (Or just "custom-rules.yaml")

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 20, 2026

@zeeke: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name Commit Details Required Rerun command
ci/prow/unit 3bdbe60 link true /test unit
ci/prow/e2e-aws-ovn-serial-2of2 3bdbe60 link true /test e2e-aws-ovn-serial-2of2
ci/prow/security 3bdbe60 link false /test security
ci/prow/4.22-upgrade-from-stable-4.21-e2e-azure-ovn-upgrade 3bdbe60 link false /test 4.22-upgrade-from-stable-4.21-e2e-azure-ovn-upgrade
ci/prow/e2e-aws-ovn-upgrade 3bdbe60 link true /test e2e-aws-ovn-upgrade
ci/prow/e2e-azure-ovn-upgrade 3bdbe60 link true /test e2e-azure-ovn-upgrade
ci/prow/e2e-aws-ovn-serial-1of2 3bdbe60 link true /test e2e-aws-ovn-serial-1of2

Full PR test history. Your PR dashboard.

Details

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. I understand the commands that are listed here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

do-not-merge/hold Indicates that a PR should not merge because someone has issued a /hold command.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants