Skip to content
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 issue with IPV6 and multipath/ecmp #8938

Open
vcharlet opened this issue Jun 25, 2024 · 1 comment
Open

BGP issue with IPV6 and multipath/ecmp #8938

vcharlet opened this issue Jun 25, 2024 · 1 comment

Comments

@vcharlet
Copy link

vcharlet commented Jun 25, 2024

On a cluster with IPV6 only connectivity, i'm trying to enable BGP with nodeToNodeMeshEnabled: true.
We have two routers in our datacenter that distribute the default gateway via router advertisements (RA) for redundancy.

By default, linux accepts both gateways and uses ecmp. The network works well, etc ...

However, there is an issue with Calico, see screenshot below :

image

Calico fail to parse the default route.

Steps to Reproduce (for bugs)

  1. Enable BGP in an IPV6 network with two routers.

Your Environment

Kubernetes RKE2 v1.27.12 +rke2r1
IPV6 only
Calico v3.27.2
All nodes are on Debian 12

Thanks for your help !

@caseydavenport
Copy link
Member

This error seems to be coming from the "CalicoNodeStatus" controller, here:

if len(previousDest) == 0 {
log.Errorf("No destination available, failed to parse (%s)", line)
return "", false
}

I think this means it shouldn't be impacting actual networking, which seems to match what you're describing, and can be circumvented by deleting and CalicoNodeStatus resources (https://docs.tigera.io/calico/latest/reference/resources/caliconodestatus)

This does seem like a bug though - that status logic likely isn't expecing the ECMP routes and doesn't have logic to parse them.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment