neutron/neutron/agent/ovn/metadata
Rodolfo Alonso Hernandez c8409a33d9 [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:24 +02:00
..
__init__.py [OVN] Move OVN metadata agent 2019-12-09 10:48:39 +00:00
agent.py [OVN] Allow to execute ``MetadataProxyHandler`` in a local thread 2022-10-05 19:35:24 +02:00
driver.py [OVN] Move OVN metadata agent 2019-12-09 10:48:39 +00:00
ovsdb.py Fix setting table monitoring conditions 2022-04-26 13:41:03 +00:00
server.py [OVN] Allow to execute ``MetadataProxyHandler`` in a local thread 2022-10-05 19:35:24 +02:00