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

OVN load balancer backend health checks #13769

Open
tomponline opened this issue Jul 15, 2024 · 1 comment
Open

OVN load balancer backend health checks #13769

tomponline opened this issue Jul 15, 2024 · 1 comment
Labels
Feature New feature, not a bug

Comments

@tomponline
Copy link
Member

tomponline commented Jul 15, 2024

At this time OVN load balancers will not support health monitoring of backends due to limitations in the OVN implementation. This means that should one backend fail, the load balancer will fail in handling any requests destined for that backend.

The limitations in the current OVN health check system are:

  • Health checks must be associated with a logical switch port, meaning they must be tightly coupled to an instance NIC rather than target IP address. This is incompatible with our requirements.
  • Health checks seemingly do not work unless the source address of the health check is reachable inside the OVN network, as such it appears that a local port is required to be added to each OVN network with an IP for use as the healthcheck source.
  • Health checks don’t work with IPv6 backends.

See https://discuss.linuxcontainers.org/t/lxd-network-load-balancers-ovn/14317#further-information-12

See also https://github.com/ovn-org/ovn/blob/94aad069df918cbe7be800abc0790450931863ac/tests/system-ovn.at#L4506-L4508

@tomponline tomponline added the Feature New feature, not a bug label Jul 15, 2024
@tomponline tomponline changed the title OVN load balancer health checks OVN load balancer backend health checks Jul 15, 2024
@tomponline
Copy link
Member Author

tomponline commented Aug 1, 2024

Similar discussion here:
lxc/incus#1020 (comment)

lxc/incus#1127

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature New feature, not a bug
Projects
None yet
Development

No branches or pull requests

1 participant