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

[BFD] New loxilb instance not retaining MASTER state after failover #565

Closed
nik-netlox opened this issue Mar 4, 2024 · 1 comment
Closed
Labels
bug Something isn't working

Comments

@nik-netlox
Copy link
Collaborator

nik-netlox commented Mar 4, 2024

Describe the bug
When Master loxilb instance is restarted then state switch is working fine but as the instance comes back again then it reclaims MASTER state before the connection sync completes. New Master does not have connection entries so it sends a RESET to the client.

To Reproduce
Running cicd/k8s-calico-ipvs2-ha-ka-sync/
llb1

$ sudo docker run -u root --cap-add SYS_ADMIN   --restart unless-stopped --privileged -dit -v /dev/log:/dev/log --net=host --name loxilb ghcr.io/loxilb-io/loxilb:latest --cluster=192.168.80.253 --self=0 --ka=192.168.80.253:192.168.80.252

llb2

$ sudo docker run -u root --cap-add SYS_ADMIN   --restart unless-stopped --privileged -dit -v /dev/log:/dev/log --net=host --name loxilb ghcr.io/loxilb-io/loxilb:latest --cluster=192.168.80.252 --self=1 --ka=192.168.80.252:192.168.80.253

Expected behavior
New Master loxilb must retain it's state when the other loxilb should get BACKUP state when it comes alive.

Screenshots
image

Environment (please complete the following information):

  • OS: Ubuntu 20.04
  • Kernel Version: 5.15.5
  • LoxiLB Version: latest
  • Cloud Environment: On-prem
  • K8s Version [N/A]

Additional context
Add any other context or topology about the problem here.

@nik-netlox nik-netlox added the bug Something isn't working label Mar 4, 2024
UltraInstinct14 added a commit that referenced this issue Mar 4, 2024
PR : gh-565 Fixed issue with mydisc persistence
@nik-netlox
Copy link
Collaborator Author

Verified. It is working.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant