Thanks, Frode,

Acked-by: Mark Michelson <mmich...@redhat.com>

On 3/17/25 13:41, Frode Nordahl wrote:
Common macros set up a SSL or TCP connection for communication
between ovn-controller and SB DB in the test environment.

This connection is subject to the default inactivity_probe value
of 5000ms.

On slow systems, this may not be enough.  Consequently set the
inactivity_probe to 15000ms on both ends of the connection.

Reported-at: https://launchpad.net/bugs/2103444
Signed-off-by: Frode Nordahl <fnord...@ubuntu.com>
---
  tests/ovn-macros.at | 3 +++
  1 file changed, 3 insertions(+)

diff --git a/tests/ovn-macros.at b/tests/ovn-macros.at
index 1ef511c25..573353e3d 100644
--- a/tests/ovn-macros.at
+++ b/tests/ovn-macros.at
@@ -613,12 +613,14 @@ ovn_start () {
          ovn-sbctl \
              -- --id=@c create connection \
                  target=\"ptcp:0:127.0.0.1\" \
+                inactivity_probe=15000 \
              -- add SB_Global . connections @c
      elif test X$HAVE_OPENSSL = Xyes; then
          # Create the SB DB pssl+RBAC connection.
          ovn-sbctl \
              -- --id=@c create connection \
                  target=\"pssl:0:127.0.0.1\" role=ovn-controller \
+                inactivity_probe=15000 \
              -- add SB_Global . connections @c
          local d=$ovs_base
          if test -n "$AZ"; then
@@ -743,6 +745,7 @@ ovn_az_attach() {
          -- set Open_vSwitch . external-ids:hostname=$sandbox \
          -- set Open_vSwitch . external-ids:system-id=$systemid \
          -- set Open_vSwitch . external-ids:ovn-remote=$ovn_remote \
+        -- set Open_vSwitch . external-ids:ovn-remote-probe-interval=15000 \
          -- set Open_vSwitch . external-ids:ovn-encap-type=$encap \
          -- set Open_vSwitch . external-ids:ovn-encap-ip=$ip \
          -- --may-exist add-br br-int \

_______________________________________________
dev mailing list
d...@openvswitch.org
https://mail.openvswitch.org/mailman/listinfo/ovs-dev

Reply via email to