Skip to content

NO-JIRA: Branch Sync release-4.19 to release-4.18 [03-02-2026]#3017

Closed
openshift-pr-manager[bot] wants to merge 5 commits intorelease-4.18from
sync-release-4.19-to-release-4.18-03-02-2026
Closed

NO-JIRA: Branch Sync release-4.19 to release-4.18 [03-02-2026]#3017
openshift-pr-manager[bot] wants to merge 5 commits intorelease-4.18from
sync-release-4.19-to-release-4.18-03-02-2026

Conversation

@openshift-pr-manager
Copy link
Copy Markdown

Automated branch sync: release-4.19 to release-4.18.

Riccardo Ravaioli and others added 5 commits February 24, 2026 11:50
Remove the temporary migration code that was added in 2023 to support
the transition to OVN Interconnect (IC) architecture. This HACK code
tracked whether remote zone nodes had completed migration using the
"k8s.ovn.org/remote-zone-migrated" annotation.

This code is no longer needed.

Changes:
- Remove OvnNodeMigratedZoneName constant and helper functions
  (SetNodeZoneMigrated, HasNodeMigratedZone, NodeMigratedZoneAnnotationChanged)
- Remove migrated field from nodeInfo struct in node_tracker.go
- Simplify isLocalZoneNode() in base_network_controller.go and egressip.go
- Remove HACK helper functions (checkOVNSBNodeLRSR, fetchLBNames, lbExists,
  portExists) and migration sync flow from default_node_network_controller.go
- Remove remote-zone-migrated annotation from webhook allowed annotations
- Update tests to remove references to the migration annotation

Assisted by Claude Opus 4.5 <noreply@anthropic.com>

Signed-off-by: Riccardo Ravaioli <rravaiol@redhat.com>
(cherry picked from commit 7d408c1)
(cherry picked from commit 83de58c)
Signed-off-by: Riccardo Ravaioli <rravaiol@redhat.com>
(cherry picked from commit e61ba4b)
The layer2 UDN cleanup tests for IC clusters were failing because of a
zone mismatch between the controller and the test node:
- Controller zone: read from NBGlobal.Name ("global")
- Node zone: set via annotation ("test" when IC enabled)

This mismatch was previously masked in two spots:

1. The HACK in isLocalZoneNode() (removed by commit 7d408c1):
   When the controller's zone was "global" (the default), the HACK
   bypassed the zone comparison entirely and instead checked whether
   the node had a migration annotation. Since the test node had no
   migration annotation, it was treated as local despite the zone
   mismatch.

2. Unconditional gateway cleanup in deleteNodeEvent (changed by
   commit 8725a93 to only cleanup nodes tracked in localZoneNodes)

With both items above removed/changed, the test correctly fails because
the node is treated as remote (zones don't match), so it's not added to
localZoneNodes, and cleanup is skipped.

Fix the test by:
- using setupConfig() to set config.Default.Zone to testICZone when IC
  is enabled
- setting NBGlobal.Name to config.Default.Zone (which setupConfig()
  already configured correctly)

This ensures the controller and node are in the same zone, so the node
is correctly treated as local and its gateway entities are cleaned up.

🤖 Assisted by [Claude Code](https://claude.com/claude-code)

Signed-off-by: Riccardo Ravaioli <rravaiol@redhat.com>
(cherry picked from commit acb088c)
(cherry picked from commit e950ad5)
(cherry picked from commit c8ada1f)
When the hybrid overlay feature is enabled (specifically when hybrid overlay
cluster subnets are configured), the HandleDeleteNode function would return
early after releasing the hybrid overlay subnet. This caused the regular
cluster subnets allocated to the node to never be released, leading to a
subnet leak that eventually exhausts the cluster CIDR pool.

This commit fixes the issue by removing the early return, ensuring that
both the hybrid overlay subnets and the standard node subnets are
properly released upon node deletion.

A new test case TestNodeAllocator_HandleDeleteNode is added to verify
that both types of subnets are correctly released.

Signed-off-by: Aswin Suryanarayanan <asuryan@redhat.com>
(cherry picked from commit c44cbbf)
(cherry picked from commit 7826344)
(cherry picked from commit 26f2508)
OCPBUGS-77082,OCPBUGS-77096: [release-4.19]  combined backport PR for 2 escalations
@openshift-pr-manager
Copy link
Copy Markdown
Author

/ok-to-test
/payload 4.18 ci blocking
/payload 4.18 nightly blocking

@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Mar 2, 2026
@openshift-ci-robot
Copy link
Copy Markdown
Contributor

@openshift-pr-manager[bot]: This pull request explicitly references no jira issue.

Details

In response to this:

Automated branch sync: release-4.19 to release-4.18.

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.

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Mar 2, 2026

@openshift-pr-manager[bot]: trigger 4 job(s) of type blocking for the ci release of OCP 4.18

  • periodic-ci-openshift-release-main-ci-4.18-upgrade-from-stable-4.17-e2e-aws-ovn-upgrade
  • periodic-ci-openshift-release-main-ci-4.18-upgrade-from-stable-4.17-e2e-azure-ovn-upgrade
  • periodic-ci-openshift-release-main-ci-4.18-e2e-gcp-ovn-upgrade
  • periodic-ci-openshift-hypershift-release-4.18-periodics-e2e-aws-ovn

See details on https://pr-payload-tests.ci.openshift.org/runs/ci/a8e8f770-162f-11f1-9272-19ff837a72e9-0

trigger 10 job(s) of type blocking for the nightly release of OCP 4.18

  • periodic-ci-openshift-release-main-nightly-4.18-e2e-aws-ovn-serial
  • periodic-ci-openshift-release-main-ci-4.18-e2e-aws-upgrade-ovn-single-node
  • periodic-ci-openshift-release-main-ci-4.18-e2e-aws-ovn-techpreview
  • periodic-ci-openshift-release-main-ci-4.18-e2e-aws-ovn-techpreview-serial
  • periodic-ci-openshift-release-main-ci-4.18-e2e-aws-ovn-upgrade
  • periodic-ci-openshift-release-main-ci-4.18-e2e-azure-ovn-upgrade
  • periodic-ci-openshift-release-main-ci-4.18-upgrade-from-stable-4.17-e2e-gcp-ovn-rt-upgrade
  • periodic-ci-openshift-hypershift-release-4.18-periodics-e2e-aws-ovn-conformance
  • periodic-ci-openshift-release-main-nightly-4.18-e2e-metal-ipi-ovn-bm
  • periodic-ci-openshift-release-main-nightly-4.18-e2e-metal-ipi-ovn-ipv6

See details on https://pr-payload-tests.ci.openshift.org/runs/ci/a8e8f770-162f-11f1-9272-19ff837a72e9-1

@openshift-ci openshift-ci Bot requested review from jcaamano and kyrtapz March 2, 2026 12:02
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Mar 2, 2026

[APPROVALNOTIFIER] This PR is NOT APPROVED

This pull-request has been approved by: openshift-pr-manager[bot]
Once this PR has been reviewed and has the lgtm label, please assign abhat 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

@openshift-ci openshift-ci Bot added the ok-to-test Indicates a non-member PR verified by an org member that is safe to test. label Mar 2, 2026
@jluhrsen
Copy link
Copy Markdown
Contributor

jluhrsen commented Mar 2, 2026

/test e2e-aws-ovn-edge-zones
/test e2e-aws-ovn-hypershift
/test e2e-aws-ovn-local-to-shared-gateway-mode-migration
/test e2e-azure-ovn-upgrade
/test e2e-metal-ipi-ovn-ipv6

@jluhrsen
Copy link
Copy Markdown
Contributor

jluhrsen commented Mar 2, 2026

/payload-job periodic-ci-openshift-hypershift-release-4.18-periodics-e2e-aws-ovn-conformance

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Mar 2, 2026

@jluhrsen: trigger 1 job(s) for the /payload-(with-prs|job|aggregate|job-with-prs|aggregate-with-prs) command

  • periodic-ci-openshift-hypershift-release-4.18-periodics-e2e-aws-ovn-conformance

See details on https://pr-payload-tests.ci.openshift.org/runs/ci/f4642db0-1665-11f1-9973-79117140a35e-0

@jluhrsen
Copy link
Copy Markdown
Contributor

jluhrsen commented Mar 3, 2026

/test e2e-aws-ovn-edge-zones
/test e2e-azure-ovn-upgrade

@jluhrsen
Copy link
Copy Markdown
Contributor

jluhrsen commented Mar 3, 2026

/payload-job periodic-ci-openshift-hypershift-release-4.18-periodics-e2e-aws-ovn-conformance

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Mar 3, 2026

@jluhrsen: trigger 1 job(s) for the /payload-(with-prs|job|aggregate|job-with-prs|aggregate-with-prs) command

  • periodic-ci-openshift-hypershift-release-4.18-periodics-e2e-aws-ovn-conformance

See details on https://pr-payload-tests.ci.openshift.org/runs/ci/65bbd3b0-16a1-11f1-85b2-e658f71b566e-0

@jluhrsen
Copy link
Copy Markdown
Contributor

jluhrsen commented Mar 3, 2026

/test e2e-aws-ovn-edge-zones
/test e2e-azure-ovn-upgrade

@jluhrsen
Copy link
Copy Markdown
Contributor

jluhrsen commented Mar 3, 2026

/payload-job periodic-ci-openshift-hypershift-release-4.18-periodics-e2e-aws-ovn-conformance

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Mar 3, 2026

@jluhrsen: trigger 1 job(s) for the /payload-(with-prs|job|aggregate|job-with-prs|aggregate-with-prs) command

  • periodic-ci-openshift-hypershift-release-4.18-periodics-e2e-aws-ovn-conformance

See details on https://pr-payload-tests.ci.openshift.org/runs/ci/12a1ae70-16ba-11f1-8a75-bc5616669c3f-0

@jluhrsen
Copy link
Copy Markdown
Contributor

jluhrsen commented Mar 3, 2026

/retest-required

@jluhrsen
Copy link
Copy Markdown
Contributor

jluhrsen commented Mar 3, 2026

/test e2e-aws-ovn-edge-zones
/test e2e-azure-ovn-upgrade

@jluhrsen
Copy link
Copy Markdown
Contributor

jluhrsen commented Mar 3, 2026

/payload-job periodic-ci-openshift-hypershift-release-4.18-periodics-e2e-aws-ovn-conformance

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Mar 3, 2026

@jluhrsen: trigger 1 job(s) for the /payload-(with-prs|job|aggregate|job-with-prs|aggregate-with-prs) command

  • periodic-ci-openshift-hypershift-release-4.18-periodics-e2e-aws-ovn-conformance

See details on https://pr-payload-tests.ci.openshift.org/runs/ci/55f8d840-1720-11f1-9bf9-b9700e7fed93-0

@jluhrsen
Copy link
Copy Markdown
Contributor

jluhrsen commented Mar 3, 2026

/test e2e-aws-ovn-edge-zones

@jluhrsen
Copy link
Copy Markdown
Contributor

jluhrsen commented Mar 3, 2026

/payload-job periodic-ci-openshift-hypershift-release-4.18-periodics-e2e-aws-ovn-conformance

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Mar 3, 2026

@jluhrsen: trigger 1 job(s) for the /payload-(with-prs|job|aggregate|job-with-prs|aggregate-with-prs) command

  • periodic-ci-openshift-hypershift-release-4.18-periodics-e2e-aws-ovn-conformance

See details on https://pr-payload-tests.ci.openshift.org/runs/ci/fc2141a0-174b-11f1-9567-37b18a6da433-0

@jluhrsen
Copy link
Copy Markdown
Contributor

jluhrsen commented Mar 5, 2026

/payload-job periodic-ci-openshift-hypershift-release-4.18-periodics-e2e-aws-ovn-conformance

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Mar 5, 2026

@jluhrsen: trigger 1 job(s) for the /payload-(with-prs|job|aggregate|job-with-prs|aggregate-with-prs) command

  • periodic-ci-openshift-hypershift-release-4.18-periodics-e2e-aws-ovn-conformance

See details on https://pr-payload-tests.ci.openshift.org/runs/ci/a08ad8f0-18b4-11f1-86c7-582a6d5415a8-0

@jluhrsen
Copy link
Copy Markdown
Contributor

/payload-job periodic-ci-openshift-hypershift-release-4.18-periodics-e2e-aws-ovn-conformance

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Mar 13, 2026

@jluhrsen: trigger 1 job(s) for the /payload-(with-prs|job|aggregate|job-with-prs|aggregate-with-prs) command

  • periodic-ci-openshift-hypershift-release-4.18-periodics-e2e-aws-ovn-conformance

See details on https://pr-payload-tests.ci.openshift.org/runs/ci/12184100-1efb-11f1-8128-f59c3442f31d-0

@jluhrsen
Copy link
Copy Markdown
Contributor

/test e2e-aws-ovn-edge-zones

1 similar comment
@pperiyasamy
Copy link
Copy Markdown
Member

/test e2e-aws-ovn-edge-zones

@pperiyasamy
Copy link
Copy Markdown
Member

@jluhrsen The PR #2987 already got these 3 commits (ab1f578, d1bc30c and 28f5871) into 4.18, so is this PR still valid ?

@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Mar 31, 2026

@openshift-pr-manager[bot]: The following test 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/security 74d26d5 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.

@jluhrsen
Copy link
Copy Markdown
Contributor

@jluhrsen The PR #2987 already got these 3 commits (ab1f578, d1bc30c and 28f5871) into 4.18, so is this PR still valid ?

Actually, you are right about that.

/hold

we don't want this PR. we just need to keep it open to prevent automation from just recreating it. Once our 4.19 sync PR merges we can close this one and a new 4.18 sync will get opened with more commits.

BTW, these three commits will still be included in that new PR. it's the downside of doing the manual cherry picks and
also trying to do bulk syncs with git merge. But for this PR it's pointless because it's only duplicates. we just will wait until we know there will at least be something new

@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 Mar 31, 2026
@jluhrsen
Copy link
Copy Markdown
Contributor

jluhrsen commented Apr 3, 2026

/test e2e-aws-ovn-edge-zones

@jluhrsen
Copy link
Copy Markdown
Contributor

jluhrsen commented Apr 5, 2026

@jluhrsen The PR #2987 already got these 3 commits (ab1f578, d1bc30c and 28f5871) into 4.18, so is this PR still valid ?

Actually, you are right about that.

/hold

we don't want this PR. we just need to keep it open to prevent automation from just recreating it. Once our 4.19 sync PR merges we can close this one and a new 4.18 sync will get opened with more commits.

BTW, these three commits will still be included in that new PR. it's the downside of doing the manual cherry picks and also trying to do bulk syncs with git merge. But for this PR it's pointless because it's only duplicates. we just will wait until we know there will at least be something new

/close

looks like our 4.19 sync landed so we can close this and let automation create a new one.

@openshift-ci openshift-ci Bot closed this Apr 5, 2026
@openshift-ci
Copy link
Copy Markdown
Contributor

openshift-ci Bot commented Apr 5, 2026

@jluhrsen: Closed this PR.

Details

In response to this:

@jluhrsen The PR #2987 already got these 3 commits (ab1f578, d1bc30c and 28f5871) into 4.18, so is this PR still valid ?

Actually, you are right about that.

/hold

we don't want this PR. we just need to keep it open to prevent automation from just recreating it. Once our 4.19 sync PR merges we can close this one and a new 4.18 sync will get opened with more commits.

BTW, these three commits will still be included in that new PR. it's the downside of doing the manual cherry picks and also trying to do bulk syncs with git merge. But for this PR it's pointless because it's only duplicates. we just will wait until we know there will at least be something new

/close

looks like our 4.19 sync landed so we can close this and let automation create a new one.

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.

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. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. ok-to-test Indicates a non-member PR verified by an org member that is safe to test.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants