Skip to content

Conversation

@trozet
Copy link
Contributor

@trozet trozet commented Jan 30, 2025

Includes latest performance and other fixes merged upstream.

Includes unmerged upstream PR: ovn-kubernetes/ovn-kubernetes#5013

do not remove the hold on this PR unless the upstream PR has been approved by @jcaamano or @kyrtapz

trozet and others added 11 commits January 29, 2025 10:48
Fixes NPE seen at:
openshift#2427 (comment)

Certain network types may not have a pod handler or retry framework for
cluster manager.

Signed-off-by: Tim Rozet <trozet@redhat.com>
Compare annotations directly if possible.
For network specific map entries only compare raw json
entries without parsing the map in full.

Co-authored-by: Tim Rozet <trozet@redhat.com>
Signed-off-by: Patryk Diak <pdiak@redhat.com>
Instead of always parsing all node/join subnets
parse the raw json map and only compute the results
for the affected network.

Signed-off-by: Patryk Diak <pdiak@redhat.com>
Signed-off-by: Patryk Diak <pdiak@redhat.com>
Secondary network controllers should ingore resources
that do not belong to the current network.

Signed-off-by: Patryk Diak <pdiak@redhat.com>
UserDefinedNetworks Performance improvements
GetActiveNetworkForNamespace was being called in controllers that are
secondary UDN only. There is no reason to do this, and can cause
problems when a secondary NAD is being used by several namespaces,
networks.

Additionally, GetNetworkRole function is flawed with a note that says do
not call this function if a pod is not related to the network
controller. If a primary controller (not default) was to call
GetNetworkRole on a pod that doesn't belong to it, it would
unintentionally return the role as Secondary. This is not possible and
we should panic in this case. This will enforce the comment that
GetNetworkRole should not be called on a pod that has no network on this
controller.

Signed-off-by: Tim Rozet <trozet@redhat.com>
The code for default controller was checking if the role of the
controller on the pod was not primary. Really it should check if the
role is infrastructure-locked. That means there is a primary UDN and the
default controller should open ports.

Signed-off-by: Tim Rozet <trozet@redhat.com>
Services should not be started on a secondary UDN/NAD controller.
Multinetpol should not be started on a primary UDN controller.

Signed-off-by: Tim Rozet <trozet@redhat.com>
Order of status may not always be predictable. Allow for it.

Signed-off-by: Tim Rozet <trozet@redhat.com>
@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Jan 30, 2025
@openshift-ci-robot
Copy link
Contributor

openshift-ci-robot commented Jan 30, 2025

@trozet: This pull request references SDN-4930 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 epic to target either version "4.19." or "openshift-4.19.", but it targets "openshift-4.18" instead.

Details

In response to this:

Includes latest performance and other fixes merged upstream.

Includes unmerged upstream PR: ovn-kubernetes/ovn-kubernetes#5013

do not remove the hold on this PR unless the upstream PR has been approved by @jcaamano or @kyrtapz

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.

@trozet
Copy link
Contributor Author

trozet commented Jan 30, 2025

/hold

@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 30, 2025
@openshift-ci openshift-ci bot requested review from jcaamano and tssurya January 30, 2025 00:41
@openshift-ci openshift-ci bot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Jan 30, 2025
@trozet
Copy link
Contributor Author

trozet commented Jan 30, 2025

extra tests...

/test e2e-metal-ipi-ovn-ipv6-techpreview
/test e2e-aws-ovn-hypershift-conformance-techpreview
/test e2e-azure-ovn-techpreview
/test e2e-metal-ipi-ovn-dualstack-techpreview
/test e2e-vsphere-ovn-techpreview
/test e2e-aws-ovn-techpreview
/test e2e-gcp-ovn-techpreview
/test e2e-metal-ipi-ovn-techpreview
/test openshift-e2e-gcp-ovn-techpreview-upgrade

also, let's get a look at payload jobs:

/payload 4.19 ci blocking
/payload 4.19 nightly blocking

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 30, 2025

@trozet: trigger 4 job(s) of type blocking for the ci release of OCP 4.19

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

See details on https://pr-payload-tests.ci.openshift.org/runs/ci/f84f4eb0-dea2-11ef-90c9-85ca78663186-0

trigger 14 job(s) of type blocking for the nightly release of OCP 4.19

  • periodic-ci-openshift-release-master-ci-4.19-e2e-aws-upgrade-ovn-single-node
  • periodic-ci-openshift-release-master-ci-4.19-e2e-aws-ovn-upgrade
  • periodic-ci-openshift-release-master-ci-4.19-e2e-azure-ovn-upgrade
  • periodic-ci-openshift-release-master-ci-4.19-upgrade-from-stable-4.18-e2e-gcp-ovn-rt-upgrade
  • periodic-ci-openshift-hypershift-release-4.19-periodics-e2e-aws-ovn-conformance
  • periodic-ci-openshift-release-master-nightly-4.19-e2e-aws-ovn-serial
  • periodic-ci-openshift-release-master-ci-4.19-e2e-aws-ovn-techpreview
  • periodic-ci-openshift-release-master-ci-4.19-e2e-aws-ovn-techpreview-serial
  • periodic-ci-openshift-release-master-nightly-4.19-fips-payload-scan
  • periodic-ci-openshift-release-master-nightly-4.19-e2e-metal-ipi-ovn-bm
  • periodic-ci-openshift-release-master-nightly-4.19-e2e-metal-ipi-ovn-ipv6
  • periodic-ci-openshift-microshift-release-4.19-periodics-e2e-aws-ovn-ocp-conformance
  • periodic-ci-openshift-microshift-release-4.19-periodics-e2e-aws-ovn-ocp-conformance-serial
  • periodic-ci-openshift-release-master-nightly-4.19-e2e-rosa-sts-ovn

See details on https://pr-payload-tests.ci.openshift.org/runs/ci/f84f4eb0-dea2-11ef-90c9-85ca78663186-1

@knobunc
Copy link
Contributor

knobunc commented Jan 30, 2025

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jan 30, 2025
@knobunc knobunc added acknowledge-critical-fixes-only Indicates if the issuer of the label is OK with the policy. and removed lgtm Indicates that a PR is ready to be merged. labels Jan 30, 2025
@jluhrsen
Copy link
Contributor

I checked all the passing techpreview jobs and there were no UDN flakes :)

the payload jobs look good too.

retesting these two failed jobs because I think we can get them to pass with a re-run or two
/test okd-scos-e2e-aws-ovn
/test e2e-aws-ovn-hypershift-conformance-techpreview

the bgp-techpreview job is a mess (109 failures), but nothing UDN related and I think it's expected to fail like that for now.

the ipv6-techpreview job is failing as expected with the insights-operator tests not being v6 ready.

I think this is fine to go in when folks are ready.

@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 30, 2025

@trozet: 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/security 7665e0e link false /test security
ci/prow/e2e-metal-ipi-ovn-ipv6-techpreview 7665e0e link false /test e2e-metal-ipi-ovn-ipv6-techpreview
ci/prow/e2e-metal-ipi-ovn-ipv4-bgp-techpreview 7665e0e link false /test e2e-metal-ipi-ovn-ipv4-bgp-techpreview

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.

@trozet
Copy link
Contributor Author

trozet commented Jan 30, 2025

/hold cancel

upstream PR was merged as is

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

knobunc commented Jan 30, 2025

/lgtm

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Jan 30, 2025
@openshift-ci
Copy link
Contributor

openshift-ci bot commented Jan 30, 2025

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: knobunc, trozet

The full list of commands accepted by this bot can be found here.

The pull request process is described 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

@jluhrsen
Copy link
Contributor

/cherry-pick release-4.18

@openshift-cherrypick-robot

@jluhrsen: once the present PR merges, I will cherry-pick it on top of release-4.18 in a new PR and assign it to you.

Details

In response to this:

/cherry-pick 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 kubernetes-sigs/prow repository.

@openshift-merge-bot openshift-merge-bot bot merged commit 9e16d94 into openshift:master Jan 30, 2025
36 of 39 checks passed
@openshift-cherrypick-robot

@jluhrsen: new pull request created: #2430

Details

In response to this:

/cherry-pick 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 kubernetes-sigs/prow repository.

@openshift-bot
Copy link
Contributor

[ART PR BUILD NOTIFIER]

Distgit: ovn-kubernetes-base
This PR has been included in build ose-ovn-kubernetes-base-container-v4.19.0-202501302040.p0.g9e16d94.assembly.stream.el9.
All builds following this will include this PR.

@openshift-bot
Copy link
Contributor

[ART PR BUILD NOTIFIER]

Distgit: ovn-kubernetes-microshift
This PR has been included in build ovn-kubernetes-microshift-container-v4.19.0-202501302040.p0.g9e16d94.assembly.stream.el9.
All builds following this will include this PR.

@openshift-bot
Copy link
Contributor

[ART PR BUILD NOTIFIER]

Distgit: ose-ovn-kubernetes
This PR has been included in build ose-ovn-kubernetes-container-v4.19.0-202501302040.p0.g9e16d94.assembly.stream.el9.
All builds following this will include this PR.

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

Labels

acknowledge-critical-fixes-only Indicates if the issuer of the label is OK with the policy. approved Indicates a PR has been approved by an approver from all required OWNERS files. jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. lgtm Indicates that a PR is ready to be merged.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants