Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ovn-trace: fix trigger_event warning.
Fix the following ovn-trace warning triggered by controller_event: 00001|ovntrace|WARN|trigger_event(event = "empty_lb_backends", meter = "", vip = "192.168.0.100:80", protocol = "tcp", load_balancer = "2c5462a7-b6ca-4b02-86c9-b9aa98a570e8"); parsing actions failed (Syntax error a t `vip' expecting empty_lb_backends option name.) The issue can be triggered running the following reproducer in ovn-sanbox: $./ovn-setup.sh $ovn-nbctl lb-add lb0 192.168.0.100:80 "" $ovn-nbctl ls-lb-add sw0 lb0 $ovn-nbctl --wait=hv set NB_Global . options:controller_event=true $ovn-trace sw0 'inport == "sw0-port1" && eth.src == 50:54:00:00:00:01 && ip4.src==192.168.0.2 && eth.dst == 00:00:00:00:ff:01 && ip4.dst==192.168.0.100 && tcp && tcp.dst==80' Acked-by: Dumitru Ceara <dceara@redhat.com> Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi@redhat.com> Signed-off-by: Numan Siddique <numans@ovn.org> (cherry-picked from master commit f35e332)
- Loading branch information