You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 <[email protected]>
Acked-by: Ales Musil <[email protected]>
Signed-off-by: Dumitru Ceara <[email protected]>
(cherry picked from commit c0af418)
0 commit comments