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-1.8: do not check static route conflict #1817

Merged
merged 1 commit into from
Aug 16, 2022

Conversation

zhangzujian
Copy link
Member

@zhangzujian zhangzujian commented Aug 16, 2022

What type of this PR

  • Bug fixes

Which issue(s) this PR fixes:

Fixes #(issue-number)

Duplicate IP addresses will block LSP creation so there is no need to check static route conflict. This patch fixes the following error:

static route "policy=src-ip ip_prefix=10.3.0.132" with different nexthop already exists on logical router ovn-cluster, requeuing

@zhangzujian zhangzujian marked this pull request as ready for review August 16, 2022 06:51
@zhangzujian zhangzujian marked this pull request as draft August 16, 2022 09:29
@zhangzujian zhangzujian marked this pull request as ready for review August 16, 2022 10:30
@zhangzujian zhangzujian added the bug Something isn't working label Aug 16, 2022
@zhangzujian zhangzujian changed the title always delete static route on Pod deletion release-1.8: do not check static route conflict Aug 16, 2022
@zhangzujian zhangzujian requested review from oilbeater and removed request for hongzhen-ma August 16, 2022 10:35
@zhangzujian zhangzujian merged commit dfc8992 into kubeovn:release-1.8 Aug 16, 2022
@zhangzujian zhangzujian deleted the fix-route-1.8 branch August 16, 2022 10:49
}
}

ports, err := c.ovnClient.ListPodLogicalSwitchPorts(podName, pod.Namespace)
ports, err := c.ovnClient.ListPodLogicalSwitchPorts(pod.Name, pod.Namespace)
Copy link
Collaborator

Choose a reason for hiding this comment

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

这里要用 podName,vm 保留IP的时候,podName 是 vmName ,部署 vm pod name

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
No open projects
Status: Done
Development

Successfully merging this pull request may close these issues.

2 participants