Comment 9 for bug 1929446

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to os-vif (master)

Reviewed: https://review.opendev.org/c/openstack/os-vif/+/805223
Committed: https://opendev.org/openstack/os-vif/commit/09c0629bb728ad342a41d844143d8e7437c925c4
Submitter: "Zuul (22348)"
Branch: master

commit 09c0629bb728ad342a41d844143d8e7437c925c4
Author: Sean Mooney <email address hidden>
Date: Thu Aug 19 14:32:42 2021 +0100

    Use TCP keepalives for ovsdb connections

    Ultimately, this is something that should be fixed in python-ovs,
    but setting the SO_KEEPALIVE socket option benefits the client by
    removing the need to send 'echo' requests, which can time out on
    an overloaded ovsdb-server, which causes a disconnection which then#
    adds even more load on the ovsdb-server as it has to send the entire
    db contents over the wire after the connection is restored.

    This patch ports the optimisation form neutron to reduce the likelyhood
    of a reconnection which can cause the nova compute agent to hang
    temporarily while the connection is reestablished.

    Change-Id: I984ec62730276f8ee60d71a02a98fbfc4c37f7d8
    Related-Bug: #1930926
    Partial-Bug: #1929446