summaryrefslogtreecommitdiff
path: root/requirements.txt
diff options
context:
space:
mode:
authorRodolfo Alonso Hernandez <ralonsoh@redhat.com>2021-05-12 07:55:06 +0000
committerRodolfo Alonso <ralonsoh@redhat.com>2021-05-17 07:46:02 +0000
commitf9bda4b1e439b5e761b445ce6686166eb41a0e45 (patch)
treee637394e62eea46354c6b07ea7fff31f3e4dc471 /requirements.txt
parent3b3398b8c5c0d597e0995ab7fdccef6d64d456cf (diff)
downloadneutron-f9bda4b1e439b5e761b445ce6686166eb41a0e45.tar.gz
Set the default ``Backend.lookup`` timeout to 2 seconds
In order to broadly cover the issue described in the referred bug, this patch sets a default timeout of 2 seconds in the ``ovs_idl.Backend.lookup`` method. This timeout should cover most of the situations where the IDL local cache update is delayed. This patch does not change the default behavior, except it will not fail if the DB cache is synchronized within 2 seconds. If we don't pass the notify handler or the backend does not implement one, in case of not finding the requested register, the method will raise like before. ovsdbapp library is bumped to version 1.10.0 to receive the change that introduces the active wait in ``Backend.lookup`` and adds the timeout parameter to the method signature. Change-Id: Ib40eabd6a8e9d59896e0e20383d8061eb4b5c710 Related-Bug: #1922934
Diffstat (limited to 'requirements.txt')
-rw-r--r--requirements.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/requirements.txt b/requirements.txt
index ceddb370d0..94586c3af2 100644
--- a/requirements.txt
+++ b/requirements.txt
@@ -45,7 +45,7 @@ oslo.versionedobjects>=1.35.1 # Apache-2.0
osprofiler>=2.3.0 # Apache-2.0
os-ken >= 0.3.0 # Apache-2.0
ovs>=2.10.0 # Apache-2.0
-ovsdbapp>=1.7.0 # Apache-2.0
+ovsdbapp>=1.10.0 # Apache-2.0
packaging>=20.4 # Apache-2.0
psutil>=5.3.0 # BSD
pyroute2>=0.5.13;sys_platform!='win32' # Apache-2.0 (+ dual licensed GPL2)