ovn-nbctl --wait=hv does not wait for tunnel creation to be completed:
ovn creates the interfaces in ovs db, then ovs-vswitchd writes ofport
in ovsdb, then ovn creates the related openflows.

Fixes: a6f5a68eb660 ("physical: Fix remote chassis flood ingress flows for 
multiple encaps.")
Signed-off-by: Xavier Simonart <[email protected]>
---
 tests/ovn-controller.at | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/ovn-controller.at b/tests/ovn-controller.at
index 96f489df2..29f39c0d2 100644
--- a/tests/ovn-controller.at
+++ b/tests/ovn-controller.at
@@ -3842,6 +3842,8 @@ check_uuid ovn-sbctl --id=@encap create Encap type=geneve 
ip=192.168.0.13 \
     -- add Chassis hv2 encaps @encap
 check ovn-sbctl set chassis hv2 other_config:is-remote=true
 
+as hv1 wait_and_get_ofport name=ovn-hv2-0
+as hv1 wait_and_get_ofport name=ovn-hv2-1
 check ovn-nbctl --wait=hv sync
 
 # Wait for both tunnels to be created by checking ovn-chassis-id external_ids.
-- 
2.47.1

_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to