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

Delete legacy non-IC static routes #2675

Merged
merged 1 commit into from
Sep 8, 2023

Conversation

vthapar
Copy link
Contributor

@vthapar vthapar commented Sep 7, 2023

When a deployment moves from non IC to IC, it may still have old static routes pointing to old nextHop. Remove such stale flows.

This also adds following changes to make it easy to troubleshoot issues caused by stale flows/static-routes:

  • Set external-id:submariner to <version> instead of true. This will help with detecting stale flows from earlier deployment in future.
  • Set external-id:submariner for static routes. In future this will provide a better check to find routes/policies created by submariner.

When a deployment moves from non IC to IC, it may still have old static
routes pointing to old nextHop. Remove such stale flows.

This also adds following changes to make it easy to troubleshoot issues
caused by stale flows/static-routes:

 * Set `external-id:submariner` to <version> instead of `true`. This
   will help with detecting stale flows from earlier deployment in
   future.
 * Set `external-id:submariner` for static routes. In future this will
   provide a better check to find routes/policies created by submariner.

Signed-off-by: Vishal Thapar <5137689+vthapar@users.noreply.github.com>
@submariner-bot
Copy link
Contributor

🤖 Created branch: z_pr2675/vthapar/ovn-stale-flows
🚀 Full E2E won't run until the "ready-to-test" label is applied. I will add it automatically once the PR has 2 approvals, or you can add it manually.

@submariner-bot submariner-bot added the ready-to-test When a PR is ready for full E2E testing label Sep 8, 2023
@skitt skitt merged commit ea10edb into submariner-io:devel Sep 8, 2023
39 of 40 checks passed
@submariner-bot
Copy link
Contributor

🤖 Closed branches: [z_pr2675/vthapar/ovn-stale-flows]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ready-to-test When a PR is ready for full E2E testing
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants