-
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
FRR rejects SRv6 vtysh commands from bgpcfgd when doing bgp service restart #21829
Comments
Manual push of the commands file shows the same error:
|
@ahsalam, @cscarpitta, Nvidia team and we both found this issue when testing the latest 202412 image. |
Note: this issue may not be reproduced deterministically. |
The issue seems to be caused by BGP commands section didn't clean up the CLI context. A config snippet that aimed to reproduce the issue is as follows:
As we can see, even a simple static route command after the BGP commands will fail. |
When BGP container/service is restarted, the CONFIG_DB entries will be pushed to Bgpcfgd for programming into FRR. Bgpcfgd does so by batching a set of commands in a temporary file and run "vtysh -f /tmp/" to push the configuration to FRR.
Recently, we noticed that when there is SRv6 configuration in CONFIG_DB, such an operation failed because FRR complained that "segment-routing" command was not complete.
Example syslog:
Relevant content of the vtysh commands file in the case above:
The text was updated successfully, but these errors were encountered: