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

fix ovn-speaker router bug #2433

Merged
merged 1 commit into from
Mar 7, 2023
Merged

fix ovn-speaker router bug #2433

merged 1 commit into from
Mar 7, 2023

Conversation

KillMaster9
Copy link
Contributor

What type of this PR

  • Bug fixes

when the ovn-speaker uses BGP to update the route, it determines whether the route is sent by the local node by nexthop == router-id condition.This condition is incorrect.
The nexthop information carried in the BGP message sent by the local node must be the IP of the local node interface. So,we can use the route.Type == unix.RTN_LOCAL condition.

@oilbeater oilbeater added bug Something isn't working need backport labels Mar 7, 2023
@oilbeater oilbeater merged commit f4bef89 into kubeovn:master Mar 7, 2023
oilbeater pushed a commit that referenced this pull request Mar 7, 2023
Co-authored-by: Edison Meng (孟志慧)-浪潮数据 <mengzhihui01@inspur.com>
(cherry picked from commit f4bef89)
oilbeater pushed a commit that referenced this pull request Mar 7, 2023
Co-authored-by: Edison Meng (孟志慧)-浪潮数据 <mengzhihui01@inspur.com>
(cherry picked from commit f4bef89)
oilbeater pushed a commit that referenced this pull request Mar 7, 2023
Co-authored-by: Edison Meng (孟志慧)-浪潮数据 <mengzhihui01@inspur.com>
(cherry picked from commit f4bef89)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working need backport
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants