neutron/neutron/tests/functional/agent/ovn
Rodolfo Alonso Hernandez 753e7ceb2d [OVN] Allow to execute ``MetadataProxyHandler`` in a local thread
If configuration option "metadata_workers=0", the OVN metadata agent
will try to spawn the ``MetadataProxyHandler`` instance inside a local
thread, instead of creating a new process. In this case, the method
``MetadataProxyHandler.post_fork_initialize`` is never called and the
SB IDL is never created.

This patch passes the OVN metadata agent SB IDL instance to the proxy
handler instance. This also reduces the number of OVN database active
connections.

Closes-Bug: #1993181
Change-Id: If9d827228002de7e3a55be660da266b60b0dfb79
(cherry picked from commit f43891bf86)
2022-10-05 19:35:02 +02:00
..
metadata [OVN] Allow to execute ``MetadataProxyHandler`` in a local thread 2022-10-05 19:35:02 +02:00
__init__.py [OVN] Add OVN functional tests - part 1 2020-02-18 13:33:52 +00:00