Skip to content

Mitigate false alarm when lb target routes arrive at a non-lb node#456

Open
byteocean wants to merge 2 commits into
mainfrom
enh/pick
Open

Mitigate false alarm when lb target routes arrive at a non-lb node#456
byteocean wants to merge 2 commits into
mainfrom
enh/pick

Conversation

@byteocean

Copy link
Copy Markdown
Contributor

Mitigate false alarm when LB target routes arrive at a non-LB node.

time="2026-06-12T00:52:43Z" level=error msg="Client.RemoveRoute call failed: no registered LoadBalancer on this client for vni 2183930 and ip 194.11.242.30"
time="2026-06-12T00:52:43Z" level=error msg="Client.AddRoute call failed: no registered LoadBalancer on this client for vni 2183930 and ip 194.11.242.30"

Re-add received LB target routes once LB is created, to ensure no LB target route is missing in dpservice.

@github-actions github-actions Bot added size/M enhancement New feature or request labels Jun 12, 2026
@byteocean
byteocean force-pushed the enh/pick branch 2 times, most recently from e6d282f to febd0de Compare June 12, 2026 13:54
FlorinPeter and others added 2 commits July 9, 2026 12:33
Replaced error returns with log messages and null returns when no LoadBalancer is registered for the given VNI and IP. This prevents abrupt failures and provides better visibility through logs.

Signed-off-by: Tao Li <tao.li06@sap.com>
mainly due to restart of metalnet

Signed-off-by: Tao Li <tao.li06@sap.com>
@byteocean
byteocean marked this pull request as ready for review July 9, 2026 13:55
@byteocean
byteocean requested a review from mkalcok July 17, 2026 09:39

@mkalcok mkalcok left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Overall LGTM, thank you.

I have one nit with the second commit (Defer connecting with metalbond and replay routes the lb targets) as a whole though. Would you mind splitting it in two separate commits with more detailed message?
Especially the change that moves mbInstance.AddPeer() couple of lines down, could benefit from explaining how exactly it helps. It's not clear to me just from the diff alone. Is it preventing some sort of race condition?

@byteocean byteocean self-assigned this Jul 17, 2026
@byteocean byteocean moved this to In Progress in Networking Jul 17, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request size/M

Projects

Status: In Progress

Development

Successfully merging this pull request may close these issues.

3 participants