If az2 was paused while its ISB connection handshake was not
fully finalized, then ovsdb_idl_is_lock_contended() was still false,
no unlock was sent, and no "locked" appeared in the log.
Fixes: bbd79471160a ("ovn-ic: Cancel contended ISB lock when ovn-ic is paused.")
Signed-off-by: Xavier Simonart <[email protected]>
---
tests/ovn-ic.at | 1 +
1 file changed, 1 insertion(+)
diff --git a/tests/ovn-ic.at b/tests/ovn-ic.at
index 638d96f79..2ef5db51d 100644
--- a/tests/ovn-ic.at
+++ b/tests/ovn-ic.at
@@ -6360,6 +6360,7 @@ OVS_WAIT_UNTIL([grep -q "OVN ISB lock acquired"
az1/ic/ovn-ic.log])
ovn_start az2
+OVS_WAIT_UNTIL([grep -q "Acquiring OVN ISB lock" az2/ic/ovn-ic.log])
AS_BOX([az2 paused])
check as az2 ovn-appctl -t ic/ovn-ic pause
OVS_WAIT_UNTIL([test "x$(as az2 ovn-appctl -t ic/ovn-ic status | grep
"Status")" = "xStatus: paused"])
--
2.47.1
_______________________________________________
dev mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-dev