On 2/9/26 3:06 PM, Ales Musil via dev wrote: > On Wed, Feb 4, 2026 at 12:08 PM Alexandra Rukomoinikova > <[email protected]> wrote: > >> 1) Added new option "distributed" for load balancers. >> With this feature, balancers will work distributedly across compute >> nodes, >> balancing to only local backends (excluded east-west traffic) >> >> 2) If load balancer is running on a router with dgp, the router will no >> longer be centralized on gateway - this means that access to physical >> network will also be available from hosts where the distributed balancer >> backends are located. >> >> 3) Configuration requirement for distributed load balancers: >> 1) ip_port_mapping must be specified >> 2) Balancing in underlay fabric between hosts with backends >> >> Example: >> Load Balancer: lb1 with VIP 1.1.1.1 and distributed option enabled. >> Fabric is configured with a static ECMP route for 10.255.0.1/32: >> nexthop via ip_host1 weight 1 (hosts backend1) >> nexthop via ip_host2 weight 1 (hosts backend2) >> nexthop via ip_host3 weight 2 (hosts backend3 and backend4) >> >> As part of testing, following estimates of distribution of requests to >> balancers were obtained: >> for i in $(seq 5000); do curl http://10.255.0.1:80 2>/dev/null ; echo ; >> done | awk '{print $2}' | sort | uniq -c >> 1265 “backend 4", >> 1260 “backend 3", >> 1224 “backend 2", >> 1251 “backend 1", >> Thus, requests using ecmp balancing are distributed between backends >> approximately evenly. >> >> Suggested-by: Vladislav Odintsov <[email protected]> >> Signed-off-by: Alexandra Rukomoinikova <[email protected]> >> -- >> v6 --> v7: fixed Ales comments >> --- >> > > Hi Alexandra, > > thank you for v7. I have some small nits down below. > > >
[...] > > > I took care of the nits and merged this into main. > > Regards, > Ales Hi Alexandra, Ales, I didn't check in too much depth but it seems that this patch is causing the following multinode test to fail: 14: ovn multinode load-balancer with multiple DGPs and multiple chassis - ECMP environment FAILED (ovs-macros.at:258) It seems all runs since this patch have been red: https://github.com/ovn-org/ovn/actions/workflows/ovn-fake-multinode-tests.yml I did a quick test with this patch reverted and the test passed 1st try in my fork: https://github.com/dceara/ovn/actions/runs/21906624033/attempts/1 While I'm doing some more runs, would you have time by any chance to look into it? Thanks, Dumitru _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
