-
Notifications
You must be signed in to change notification settings - Fork 254
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
permanent mac_bindig cause traffic blackhole #238
Comments
Hi @ardenisov! Thanks for your report! CC: @almusil It's however something we can't easily fix in the general case because mac bindings (ARP cache) are for IPs that may also be outside of OVN. Partially related to this we added support for mac binding aging in 22.09: Quoting from the original bug report that triggered that change:
Would it be an option for you to upgrade to a version that has it and enable the feature? Thanks, |
It does, please have a look at the The only case that we fail to reproduce at the moment is snat/dnat adding/removal following adding/removing Keeping in mind aging function it seems like this case is loosing its priority |
Hello @dceara!
r2:
p1:
p2:
mac1:
mac2:
There is no traffic between routers and timestamps in mac_bindings are not updated. |
Hi, what is the OVN version that you are testing the aging with? Also could you please show the relevant datapath bindings ( |
Hello, @almusil ! Sorry, I miss your request.
r2:
p1:
p2:
mac1:
dp1:
mac2:
dp2:
As you can see, mac_binding_age_threshold=5, but related mac_bindings alive as related router live without any traffic between them and timestamps don't updated. |
Hello!
I want to report a bug in patch for MAC_binding functionality, seems that it just adding but not updating or deleting MAC_Bindig rows.
a2b88dc
In my setup I have logical router with DNAT rules.
Whenever I create or delete logical routers or DNAT rules on them with same IPs, I can see that MAC_Binding rows are not updated or deleted in SBDB.
Let me show some example of relationships between Port_Binding and Mac_Binding, which I expect to be properly served by OVN controller pinctrl module. But its not :(
Port_Binding
MAC_binding
Port_Binding
MAC_binding
Port_Binding
MAC_binding
Port_Binding
MAC_binding
So in the above examples I tried to create/delete logical routers with same external IP address twice, and traffic, when router created second time to its external IP, blackholed.
The same picture I can see when, some DNAT rules were added to first router then router deleted and then DNAT rules repeated on second router with same IPs - traffic blackholed again.
My setup:
The text was updated successfully, but these errors were encountered: