-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
FRR/zebra error messages for routes from kernel default table #12753
Comments
Thanks for opening this issue! |
This was referenced Nov 18, 2022
7 tasks
yxieca
pushed a commit
that referenced
this issue
Dec 8, 2022
…12912) Why I did it As described in detail in #12753, the current FRR patch 0009-ignore-route-from-default-table.patch is causing unwanted FRR/zebra error logs. This change gets rid of the error messages for routes from kernel default table while these routes are ignored in prefix encoding. How I did it This fix updates the original 0009 patch by checking if the routes are from table default before printing the error logs. The original patch checks the same condition and ignores the routes from table default in prefix encoding. How to verify it Follow the steps to repro as described in #12753. Also verify the test case ipfwd/test_nhop_count.py no longer fails due to the error messages. Signed-off-by: Stephen Xu <[email protected]>
mssonicbld
pushed a commit
to mssonicbld/sonic-buildimage
that referenced
this issue
Dec 8, 2022
…onic-net#12912) Why I did it As described in detail in sonic-net#12753, the current FRR patch 0009-ignore-route-from-default-table.patch is causing unwanted FRR/zebra error logs. This change gets rid of the error messages for routes from kernel default table while these routes are ignored in prefix encoding. How I did it This fix updates the original 0009 patch by checking if the routes are from table default before printing the error logs. The original patch checks the same condition and ignores the routes from table default in prefix encoding. How to verify it Follow the steps to repro as described in sonic-net#12753. Also verify the test case ipfwd/test_nhop_count.py no longer fails due to the error messages. Signed-off-by: Stephen Xu <[email protected]>
Fixed by #12912 |
theasianpianist
pushed a commit
to theasianpianist/sonic-buildimage
that referenced
this issue
Jan 18, 2023
…onic-net#12912) Why I did it As described in detail in sonic-net#12753, the current FRR patch 0009-ignore-route-from-default-table.patch is causing unwanted FRR/zebra error logs. This change gets rid of the error messages for routes from kernel default table while these routes are ignored in prefix encoding. How I did it This fix updates the original 0009 patch by checking if the routes are from table default before printing the error logs. The original patch checks the same condition and ignores the routes from table default in prefix encoding. How to verify it Follow the steps to repro as described in sonic-net#12753. Also verify the test case ipfwd/test_nhop_count.py no longer fails due to the error messages. Signed-off-by: Stephen Xu <[email protected]>
8 tasks
qiluo-msft
pushed a commit
that referenced
this issue
Jan 25, 2023
…12912) (#13423) …(#12912) Why I did it As described in detail in #12753, the current FRR patch 0009-ignore-route-from-default-table.patch is causing unwanted FRR/zebra error logs. This change gets rid of the error messages for routes from kernel default table while these routes are ignored in prefix encoding. How I did it This fix updates the original 0009 patch by checking if the routes are from table default before printing the error logs. The original patch checks the same condition and ignores the routes from table default in prefix encoding. How to verify it Follow the steps to repro as described in #12753. Also verify the test case ipfwd/test_nhop_count.py no longer fails due to the error messages. #### Why I did it Resolve cherry-pick conflict for #12912
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
With the patch from #12018, the routes from kernel default table are ignored in function
netlink_route_info_fill()
. However, this change also introduces unwanted error messages with this sequence of function calls from FRR:zfpm_build_route_updates()
->zfpm_encode_route()
->zfpm_netlink_encode_route()
->netlink_route_info_fill()
As
netlink_route_info_fill()
returns 0 for routes from default table,zfpm_build_route_updates()
will throw out error messages, for instance, as follows:While these error messages are harmless functionally, they may cause one or more test failures. In our sanity, the test case
ipfwd/test_nhop_count.py
fails because the operation from the test case triggers the above call flow and then loganalyzer complains about the errors.Steps to reproduce the issue:
Describe the results you received:
FRR/zebra error messages as shown above.
Describe the results you expected:
No FRR/zebra error messages.
Additional information you deem important (e.g. issue happens only occasionally):
Our SONiC code is based off 202012, but the FRR code here is same as the latest.
The text was updated successfully, but these errors were encountered: