Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
northd: Fix action parsing in build_lb_vip_actions().
Fix the following error reported in build_lb_vip_actions() if the CMS configure a load balancer with no backends: 2025-01-21T18:18:26.668Z|04152|lflow|WARN|error parsing actions "flags.force_snat_for_lb = 1; drop;": Syntax error at `drop' expecting action. The issue can be triggered with the following reproducer in ovn-sandbox: $ovn-nbctl create load_balancer name=lb-empty vips:\"172.168.10.30\"=\"\" protocol=tcp options:skip_snat=true $ovn-nbctl lr-lb-add lr0 lb-empty $grep Syntax ./sandbox/ovn-controller.log 2025-01-22T17:13:49.709Z|00047|lflow|WARN|error parsing actions "flags.skip_snat_for_lb = 1; drop;": Syntax error at `drop' expecting action. Reported-at: https://issues.redhat.com/browse/FDP-1095 Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com> Acked-by: Ales Musil <amusil@redhat.com> Signed-off-by: Dumitru Ceara <dceara@redhat.com> (cherry picked from commit c0af418)
- Loading branch information