Skip to content

BGP state doesn't resync correctly when adding a BGP session via node labels #181

@danderson

Description

@danderson

Is this a bug report or a feature request?:

Bug, thanks to @jpiper for reporting on slack.

What happened:

If you cause a BGP session to be added to a node by editing node labels, the session comes up, but the existing advertised IPs don't get propagated on that BGP session.

How to reproduce it (as minimally and precisely as possible):

Add a BGP peer to MetalLB's config, with a node selector.
Make the selector match some nodes, so that BGP sessions establish.
Set up a service, verify that speaker is advertising it.
Edit node labels so selector no longer matches. Verify speaker tore down the BGP session.
Edit node labels so selector applies again. Verify speaker sets up BGP session, but does not readvertise IPs.

Environment:

  • MetalLB version: 0.4.1

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions