Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[release-4.15] OCPBUGS-29001: kubevirt, Replace routes on migration #2052

Conversation

qinqon
Copy link
Contributor

@qinqon qinqon commented Feb 5, 2024

- What this PR does and why is it needed
Kubevirt live migration between nodes that do not own the VM subnet are creating wrongly at ECMP route since is not replacing the point to point routes, this breaks traffic.

This change use just just IPPrefix and Policy at the point to point routes predicate to prevent ECMP.

(cherry picked from commit fb4dec8)

Closes https://issues.redhat.com/browse/OCPBUGS-29001

Kubevirt live migration between nodes that do not own the VM subnet are
creating wrongly at ECMP route since is not replacing the point to point
routes, this breaks traffic.

This change use just just IPPrefix and Policy at the point to
point routes predicate to prevent ECMP.

Signed-off-by: Enrique Llorente <ellorent@redhat.com>
(cherry picked from commit fb4dec8)
@qinqon qinqon requested a review from dcbw as a code owner February 5, 2024 14:09
@openshift-ci-robot openshift-ci-robot added the jira/valid-reference Indicates that this PR references a valid Jira ticket of any type. label Feb 5, 2024
@openshift-ci-robot
Copy link
Contributor

@qinqon: This pull request references Jira Issue OCPBUGS-29001, which is invalid:

  • expected Jira Issue OCPBUGS-29001 to depend on a bug targeting a version in 4.16.0 and in one of the following states: MODIFIED, ON_QA, VERIFIED, but no dependents were found

Comment /jira refresh to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.

The bug has been updated to refer to the pull request using the external bug tracker.

In response to this:

- What this PR does and why is it needed
Kubevirt live migration between nodes that do not own the VM subnet are creating wrongly at ECMP route since is not replacing the point to point routes, this breaks traffic.

This change use just just IPPrefix and Policy at the point to point routes predicate to prevent ECMP.

Signed-off-by: Enrique Llorente ellorent@redhat.com
(cherry picked from commit fb4dec8)

Closes https://issues.redhat.com/browse/OCPBUGS-29001

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-robot openshift-ci-robot added the jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. label Feb 5, 2024
@qinqon
Copy link
Contributor Author

qinqon commented Feb 5, 2024

/jira refresh

@openshift-ci-robot
Copy link
Contributor

@qinqon: This pull request references Jira Issue OCPBUGS-29001, which is invalid:

  • expected Jira Issue OCPBUGS-29001 to depend on a bug targeting a version in 4.16.0 and in one of the following states: MODIFIED, ON_QA, VERIFIED, but no dependents were found

Comment /jira refresh to re-evaluate validity if changes to the Jira bug are made, or edit the title of this pull request to link to a different bug.

In response to this:

/jira refresh

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 openshift-ci bot requested review from trozet and tssurya February 5, 2024 14:11
@qinqon
Copy link
Contributor Author

qinqon commented Feb 5, 2024

/jira refresh

@openshift-ci-robot openshift-ci-robot added jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. and removed jira/invalid-bug Indicates that a referenced Jira bug is invalid for the branch this PR is targeting. labels Feb 5, 2024
@openshift-ci-robot
Copy link
Contributor

@qinqon: This pull request references Jira Issue OCPBUGS-29001, which is valid. The bug has been moved to the POST state.

6 validation(s) were run on this bug
  • bug is open, matching expected state (open)
  • bug target version (4.15.0) matches configured target version for branch (4.15.0)
  • bug is in the state New, which is one of the valid states (NEW, ASSIGNED, POST)
  • dependent bug Jira Issue OCPBUGS-27215 is in the state ON_QA, which is one of the valid states (MODIFIED, ON_QA, VERIFIED)
  • dependent Jira Issue OCPBUGS-27215 targets the "4.16.0" version, which is one of the valid target versions: 4.16.0
  • bug has dependents

No GitHub users were found matching the public email listed for the QA contact in Jira (jechen@redhat.com), skipping review request.

In response to this:

/jira refresh

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.

@qinqon
Copy link
Contributor Author

qinqon commented Feb 5, 2024

/cherry-pick release-4.14

@openshift-cherrypick-robot

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

In response to this:

/cherry-pick release-4.14

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/test-infra repository.

@maiqueb
Copy link
Contributor

maiqueb commented Feb 5, 2024

hm, CI fails pretty bad ...

Are we sure this PR is OK ?

@qinqon
Copy link
Contributor Author

qinqon commented Feb 5, 2024

/retest

@qinqon
Copy link
Contributor Author

qinqon commented Feb 6, 2024

/retest-required

@qinqon
Copy link
Contributor Author

qinqon commented Feb 6, 2024

/test e2e-aws-ovn-kubevirt

Copy link
Contributor

@maiqueb maiqueb left a comment

Choose a reason for hiding this comment

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

Thank you.

Copy link
Contributor

openshift-ci bot commented Feb 6, 2024

@qinqon: 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 5738f0a link false /test security

Full PR test history. Your PR dashboard.

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

Copy link
Contributor

@tssurya tssurya left a comment

Choose a reason for hiding this comment

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

/lgtm
label backport-risk-assessed
exactly same clean pick of 7f99281

@openshift-ci openshift-ci bot added the lgtm Indicates that a PR is ready to be merged. label Feb 6, 2024
Copy link
Contributor

openshift-ci bot commented Feb 6, 2024

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: maiqueb, qinqon, tssurya

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

The pull request process is described here

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 approved Indicates a PR has been approved by an approver from all required OWNERS files. label Feb 6, 2024
@tssurya
Copy link
Contributor

tssurya commented Feb 6, 2024

/label backport-risk-assessed

@openshift-ci openshift-ci bot added the backport-risk-assessed Indicates a PR to a release branch has been evaluated and considered safe to accept. label Feb 6, 2024
@qiowang721
Copy link

/label cherry-pick-approved

@openshift-ci openshift-ci bot added the cherry-pick-approved Indicates a cherry-pick PR into a release branch has been approved by the release branch manager. label Feb 6, 2024
@openshift-merge-bot openshift-merge-bot bot merged commit 6a4ea84 into openshift:release-4.15 Feb 6, 2024
29 of 30 checks passed
@openshift-ci-robot
Copy link
Contributor

@qinqon: Jira Issue OCPBUGS-29001: All pull requests linked via external trackers have merged:

Jira Issue OCPBUGS-29001 has been moved to the MODIFIED state.

In response to this:

- What this PR does and why is it needed
Kubevirt live migration between nodes that do not own the VM subnet are creating wrongly at ECMP route since is not replacing the point to point routes, this breaks traffic.

This change use just just IPPrefix and Policy at the point to point routes predicate to prevent ECMP.

(cherry picked from commit fb4dec8)

Closes https://issues.redhat.com/browse/OCPBUGS-29001

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-cherrypick-robot

@qinqon: #2052 failed to apply on top of branch "release-4.14":

Applying: kubevirt: Replace routes on migration
Using index info to reconstruct a base tree...
M	.github/workflows/test.yml
M	go-controller/pkg/kubevirt/router.go
M	go-controller/pkg/ovn/kubevirt_test.go
M	test/e2e/kubevirt.go
Falling back to patching base and 3-way merge...
Auto-merging test/e2e/kubevirt.go
CONFLICT (content): Merge conflict in test/e2e/kubevirt.go
Auto-merging go-controller/pkg/ovn/kubevirt_test.go
Auto-merging go-controller/pkg/kubevirt/router.go
Auto-merging .github/workflows/test.yml
error: Failed to merge in the changes.
hint: Use 'git am --show-current-patch=diff' to see the failed patch
Patch failed at 0001 kubevirt: Replace routes on migration
When you have resolved this problem, run "git am --continue".
If you prefer to skip this patch, run "git am --skip" instead.
To restore the original branch and stop patching, run "git am --abort".

In response to this:

/cherry-pick release-4.14

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/test-infra repository.

@openshift-bot
Copy link
Contributor

[ART PR BUILD NOTIFIER]

This PR has been included in build ose-ovn-kubernetes-base-container-v4.15.0-202402061338.p0.g6a4ea84.assembly.stream.el9 for distgit ovn-kubernetes-base.
All builds following this will include this PR.

@openshift-merge-robot
Copy link
Contributor

Fix included in accepted release 4.15.0-0.nightly-2024-02-06-174950

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. backport-risk-assessed Indicates a PR to a release branch has been evaluated and considered safe to accept. cherry-pick-approved Indicates a cherry-pick PR into a release branch has been approved by the release branch manager. jira/valid-bug Indicates that a referenced Jira bug is valid for the branch this PR is targeting. 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.

None yet