-
Notifications
You must be signed in to change notification settings - Fork 1.5k
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
[BGP] The 'set src' command is sometimes set with no loopback ip address #21931
Comments
@kperumalbfn Have you encountered this bug starting 202411? We have seen this twice until now after config load_minigraph. |
@hasan-brcm @adyeung For visibility. |
@StormLiangMS can you please help to assign or investigate this issue? |
ack |
@prsunny for viz.. |
I think it is a display issue, when you use below vtysh command to show all, you can see the set src info completely. but if you are using show run bgp, it will display as you found. I see this issue since 202405, 202411 is same. below is the frr zebra version for 202405. and I checked the routes in kernal, which has the src info correctly. @dgsudharsan this is more like frr bug for show command, could you help to follow up with FRR community? |
@StormLiangMS . No. This time around its a functional issue. We see test_default_route fails. The expectation is it should be like below
However in the problem state it has the following
|
I see, do we have the steps to repro this? Failed on any sonic-mgmt with this? @dgsudharsan |
There are no concrete steps. It's a statistical issue seen immediately after deployment and running config load minigraph. Seen twice until now. |
I see, I will try to repro from our end. Could you check the results by vtysh -c "show run" when you see this issue in next time? I'd like to know if this is a config missing or something else. |
This issue is seen starting 202411.
bgpcfgd has logic to apply set src command when receiving loopback interface
sonic-buildimage/dockers/docker-fpm-frr/frr/zebra/zebra.set_src.conf.j2
Line 5 in a1e2c1f
We find it rarely that this logic doesn't result in set src being set with loopback ip address
During this time, there is no indication of any error from zebra
Checking on swss rec. the intf_table for loopback is only set later in time than bgpcfg processing
Hence it is not clear if this is an FRR issue or bgpcfgd issue. Currently there are no logs or records for the commit command in bgpcfgd. I recommend adding one which can be helpful in debug
Tech support logs
frr.running_config
The text was updated successfully, but these errors were encountered: