Skip to content

[release-4.22] NVIDIA-554: DPU-host mode: use ConfigMap for OVN feature enablement instead of per-node script gating#3029

Open
tsorya wants to merge 3 commits into
openshift:release-4.22from
tsorya:igal/cherry-pick-2944-to-release-4.22
Open

[release-4.22] NVIDIA-554: DPU-host mode: use ConfigMap for OVN feature enablement instead of per-node script gating#3029
tsorya wants to merge 3 commits into
openshift:release-4.22from
tsorya:igal/cherry-pick-2944-to-release-4.22

Conversation

@tsorya

@tsorya tsorya commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

This is a cherry-pick of #2944 to release-4.22.

Conflicts resolved against #3028 (runtime detection of --enable-interconnect).

Supersedes #2997 which had stale merge conflicts.

Resolved conflicts in:

Conflict 1 — Commit 2/3 (NVIDIA-554: DPU-host mode...):

bindata/network/ovn-kubernetes/managed/ovnkube-control-plane.yaml — kept the ${enable_interconnect_flag} runtime detection block, removed the other per-node flag variables that moved to ConfigMap.

Conflict 2 — Commit 3/3 (OCPBUGS-78731: Move enable-multicast...):
bindata/network/ovn-kubernetes/common/008-script-lib.yaml (line ~735)
bindata/network/ovn-kubernetes/managed/ovnkube-control-plane.yaml (line ~206)
bindata/network/ovn-kubernetes/self-hosted/ovnkube-control-plane.yaml (line ~162)

/assign tsorya

tsorya added 3 commits June 11, 2026 12:08
The OVN config map templates had broken conditional logic around
enable-multi-network: the self-hosted template used
"if not .OVN_MULTI_NETWORK_ENABLE" (inverted), while the managed
template had both "if" and "if not" branches — resulting in
enable-multi-network=true being emitted regardless of the flag.

Replace these broken conditionals with unconditional
enable-multi-network=true, remove the OVN_MULTI_NETWORK_ENABLE
template variable from the Go code, and decouple
OVN_MULTI_NETWORK_POLICY_ENABLE from DisableMultiNetwork so that
UseMultiNetworkPolicy is always respected.

DisableMultiNetwork continues to control Multus deployment in
render.go / multus.go — only the OVN feature-flag plumbing is
removed here.

Made-with: Cursor
…nstead of per-node script gating

All OVN-Kubernetes features (egress IP, egress firewall, multicast,
multi-network, admin network policy, multi-external-gateway, etc.)
are now enabled in DPU-host mode. The OVN controller on DPU-host
nodes processes the configuration but does not offload egress IP
datapath — traffic follows the regular kernel path instead.

Because these features are safe to enable cluster-wide, the per-node
gating logic in the startup script (008-script-lib.yaml) is no
longer needed. Feature flags are managed solely through the
cluster-wide ConfigMap (004-config.yaml) passed to ovnkube via
--config-file.

OVN_NODE_MODE remains used only for DPU-host structural differences:
gateway interface selection, --ovnkube-node-mode flag, and disabling
init-ovnkube-controller.

Also removes the redundant network_connect_enabled_flag CLI flag
from the node startup script — enable-network-connect is already
managed through the ConfigMap.

Made-with: Cursor
Remove enable-multicast=true from ovnkube config maps and pass it
directly as --enable-multicast on the ovnkube CLI for node and
control plane processes (both self-hosted and managed).

Made-with: Cursor
@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Jun 11, 2026
@openshift-ci-robot

openshift-ci-robot commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

@tsorya: This pull request references NVIDIA-554 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 task to target the "4.22.0" version, but no target version was set.

Details

In response to this:

This is a cherry-pick of #2944 to release-4.22.

Conflicts resolved against #3028 (runtime detection of --enable-interconnect).

Supersedes #2997 which had stale merge conflicts.

/assign tsorya

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.

@coderabbitai

coderabbitai Bot commented Jun 11, 2026

Copy link
Copy Markdown

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository: openshift/coderabbit/.coderabbit.yaml

Review profile: CHILL

Plan: Enterprise

Run ID: 4bc40b10-44cf-4905-b594-eab8b5ba51f0

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests

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

@openshift-ci openshift-ci Bot requested review from marty-power and miheer June 11, 2026 16:13
@openshift-ci

openshift-ci Bot commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

[APPROVALNOTIFIER] This PR is NOT APPROVED

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

@tsorya

tsorya commented Jun 11, 2026

Copy link
Copy Markdown
Contributor Author

/payload 4.22 ci blocking
/payload 4.22 nightly blocking

@openshift-ci

openshift-ci Bot commented Jun 11, 2026

Copy link
Copy Markdown
Contributor

@tsorya: trigger 5 job(s) of type blocking for the ci release of OCP 4.22

  • periodic-ci-openshift-release-main-ci-4.22-upgrade-from-stable-4.21-e2e-aws-ovn-upgrade
  • periodic-ci-openshift-release-main-ci-4.22-upgrade-from-stable-4.21-e2e-azure-ovn-upgrade
  • periodic-ci-openshift-release-main-ci-4.22-e2e-gcp-ovn-upgrade
  • periodic-ci-openshift-hypershift-release-4.22-periodics-e2e-aks
  • periodic-ci-openshift-hypershift-release-4.22-periodics-e2e-aws-ovn

See details on https://pr-payload-tests.ci.openshift.org/runs/ci/a4a60830-65b0-11f1-9f2f-8c97b3c486fd-0

trigger 13 job(s) of type blocking for the nightly release of OCP 4.22

  • periodic-ci-openshift-release-main-nightly-4.22-e2e-aws-ovn-serial-1of2
  • periodic-ci-openshift-release-main-nightly-4.22-e2e-aws-ovn-serial-2of2
  • periodic-ci-openshift-release-main-ci-4.22-e2e-aws-upgrade-ovn-single-node
  • periodic-ci-openshift-release-main-ci-4.22-e2e-aws-ovn-techpreview
  • periodic-ci-openshift-release-main-ci-4.22-e2e-aws-ovn-techpreview-serial-1of3
  • periodic-ci-openshift-release-main-ci-4.22-e2e-aws-ovn-techpreview-serial-2of3
  • periodic-ci-openshift-release-main-ci-4.22-e2e-aws-ovn-techpreview-serial-3of3
  • periodic-ci-openshift-release-main-nightly-4.22-e2e-aws-ovn-upgrade-fips
  • periodic-ci-openshift-release-main-ci-4.22-e2e-azure-ovn-upgrade
  • periodic-ci-openshift-release-main-ci-4.22-upgrade-from-stable-4.21-e2e-gcp-ovn-rt-upgrade
  • periodic-ci-openshift-hypershift-release-4.22-periodics-e2e-aws-ovn-conformance
  • periodic-ci-openshift-release-main-nightly-4.22-e2e-metal-ipi-ovn-ipv4
  • periodic-ci-openshift-release-main-nightly-4.22-e2e-metal-ipi-ovn-ipv6

See details on https://pr-payload-tests.ci.openshift.org/runs/ci/a4a60830-65b0-11f1-9f2f-8c97b3c486fd-1

@tsorya

tsorya commented Jun 11, 2026

Copy link
Copy Markdown
Contributor Author

@arkadeepsen can i get a review here please

@tsorya

tsorya commented Jun 11, 2026

Copy link
Copy Markdown
Contributor Author

/cc @arkadeepsen

@openshift-ci openshift-ci Bot requested a review from arkadeepsen June 11, 2026 17:00
@tsorya

tsorya commented Jun 12, 2026

Copy link
Copy Markdown
Contributor Author

/retest

@openshift-ci

openshift-ci Bot commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

@tsorya: 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/4.22-upgrade-from-stable-4.21-e2e-azure-ovn-upgrade 61a6209 link false /test 4.22-upgrade-from-stable-4.21-e2e-azure-ovn-upgrade
ci/prow/security 61a6209 link false /test security

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

jira/valid-reference Indicates that this PR references a valid Jira ticket of any type.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants