-
Notifications
You must be signed in to change notification settings - Fork 258
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
OVN-IC segfaulted due to a warn log #268
Comments
Commit ac1dc2b introduced re-use of the add_to_routes_ad() function for both connected and static routes, however it did not add conditionals for handling warning level logging of duplicate routes. Reported-at: ovn-org#268 Fixes: ac1dc2b ("ic: prevent advertising/learning multiple same routes") Signed-off-by: Frode Nordahl <[email protected]>
Thank you for the report! This appears to be an issue at main and as such is not specific to the Debian/Ubuntu packages. While we should definitively avoid crashing, reproducing the issue appears to require multiple LRPs to be configured with the same IP address in the same AZ. And I wonder if this is a valid configuration in the first place? Does this match what you see in your environment, and can you please elaborate a bit on the intended use case? In any case, this patch should fix the crash: https://mail.openvswitch.org/pipermail/ovs-dev/2025-January/419460.html |
Commit ac1dc2b introduced re-use of the add_to_routes_ad() function for both connected and static routes, however it did not add conditionals for handling warning level logging of duplicate routes. Reported-at: ovn-org#268 Fixes: ac1dc2b ("ic: prevent advertising/learning multiple same routes") Signed-off-by: Frode Nordahl <[email protected]> Signed-off-by: 0-day Robot <[email protected]>
Thanks for the quick fix and reply. I tried to reproduce the issue by reinstalling my two OVN test clusters. This led me to find small issues in my Ansible playbook, which resulted in a misconfiguration of the OVN IC database. I probably had two OVN IC DB leaders—one to which all other nodes connected and one alone—but all the OVN OC DB nodes were configured as northbound and southbound. With the Ansible playbook fixed and the OVN clusters reinstalled, I have not been able to reproduce the issue so far, despite using the same Incus commands. I will try some more and keep you updated. |
Hi,
When starting ovn-ic with a log level superior at Err, it segfaults.
Environment:
OS: Debian bookworm
ovn-ic version: 23.03.1-1~deb12u2 and was able to reproduce using 24.09.0-1 from debian testing
Here is the gdb full backtrace, I don't know what else could be usefull.
I briefly exchanged about it with @fnordahl on irc.
The text was updated successfully, but these errors were encountered: