commit 700b8cc377c6caa79e8d98cd55b34d77f23ff780
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
(cherry picked from commit 09c0629bb728ad342a41d844143d8e7437c925c4)
(cherry picked from commit 26f073f0969cfd9719375a4edfc16ce4ec139c4f)
Reviewed: https:/ /review. opendev. org/c/openstack /os-vif/ +/841773 /opendev. org/openstack/ os-vif/ commit/ 700b8cc377c6caa 79e8d98cd55b34d 77f23ff780
Committed: https:/
Submitter: "Zuul (22348)"
Branch: stable/wallaby
commit 700b8cc377c6caa 79e8d98cd55b34d 77f23ff780
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: I984ec62730276f 8ee60d71a02a98f bfc4c37f7d8 42a41d844143d8e 7437c925c4) 719375a4edfc16c e4ec139c4f)
Related-Bug: #1930926
Partial-Bug: #1929446
(cherry picked from commit 09c0629bb728ad3
(cherry picked from commit 26f073f0969cfd9