Comment 14 for bug 1922934

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to neutron (master)

Reviewed: https://review.opendev.org/c/openstack/neutron/+/790912
Committed: https://opendev.org/openstack/neutron/commit/f9bda4b1e439b5e761b445ce6686166eb41a0e45
Submitter: "Zuul (22348)"
Branch: master

commit f9bda4b1e439b5e761b445ce6686166eb41a0e45
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Wed May 12 07:55:06 2021 +0000

    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