[ovs-git] [ovn-org/ovn] 0c414d: ovn-trace: fix trigger_event warning.
Lorenzo Bianconi
noreply at github.com
Fri Jan 8 12:42:50 UTC 2021
Branch: refs/heads/branch-20.06
Home: https://github.com/ovn-org/ovn
Commit: 0c414d4b5953931b4c190e265921d3a8f90d7d91
https://github.com/ovn-org/ovn/commit/0c414d4b5953931b4c190e265921d3a8f90d7d91
Author: Lorenzo Bianconi <lorenzo.bianconi at redhat.com>
Date: 2021-01-08 (Fri, 08 Jan 2021)
Changed paths:
M tests/ovn.at
M utilities/ovn-trace.c
Log Message:
-----------
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 at redhat.com>
Signed-off-by: Lorenzo Bianconi <lorenzo.bianconi at redhat.com>
Signed-off-by: Numan Siddique <numans at ovn.org>
(cherry-picked from master commit f35e33228f6fec97bbecc1f01e28e366d826b585)
More information about the git
mailing list