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: 7c3f7f415f1d ("northd, controller: Flood ARP and NA packet on transit 
router.")
Signed-off-by: Xavier Simonart <[email protected]>
---
 tests/ovn-controller.at | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tests/ovn-controller.at b/tests/ovn-controller.at
index 388e5d810..1988c370b 100644
--- a/tests/ovn-controller.at
+++ b/tests/ovn-controller.at
@@ -3782,6 +3782,9 @@ check ovn-sbctl chassis-add hv2 geneve 192.168.0.12 \
 check ovn-sbctl chassis-add hv3 vxlan 192.168.0.14 \
     -- set chassis hv3 other_config:is-remote=true
 
+# Wait for tunnel to hv3 to be created.
+OVN_WAIT_REMOTE_OUTPUT_FLOWS(["hv1"],["hv3"])
+
 check ovn-nbctl --wait=hv sync
 
 chassis_cookie() {
-- 
2.47.1

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

Reply via email to