-
Notifications
You must be signed in to change notification settings - Fork 544
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
Infinite loop in the RouteSpecController causing a lot of CPU consumption #7592
Comments
So the bug in Talos is that it handles incorrectly two routes which are identical except for the priority (metric). A workaround for you might be to delete that route from the machine configuration, as it's already coming from the platform source. A fix will be done for the 1.5, thanks for reporting it! |
Fixes siderolabs#7592 The problem was a mismatch between a "primary key" (ID) of the `RouteSpec` and the way routes are looked up in the kernel - with two idential routes but different priority Talos would end up in an infinite loop fighting to remove and re-add back same route, as priority never matches. Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com>
I also ran into the same issue yesterday; in my case I had configured a static IP address + route using the dashboard. |
The bug will be fixed for 1.5.0 release, thanks for reporting that! |
Fixes siderolabs#7592 The problem was a mismatch between a "primary key" (ID) of the `RouteSpec` and the way routes are looked up in the kernel - with two idential routes but different priority Talos would end up in an infinite loop fighting to remove and re-add back same route, as priority never matches. Signed-off-by: Andrey Smirnov <andrey.smirnov@siderolabs.com> (cherry picked from commit ee6d639)
Bug Report
Description
When installing a node of my Talos cluster, a lot of logs are generated by the RouteSpecController consuming a lot of CPU.
Also the gateways displayed in the console are endlessly "flapping".
The initial network configuration was made using the console (network settings), or by editing the grub configuration. In both case, the bug appears.
Logs
It seems that there is 2 routespecs on this "looping" instead of one :
Environment
The bug is also present at least in 1.4.6, 1.4.7, 1.5.0-beta.0
The text was updated successfully, but these errors were encountered: