Comment 2 for bug 1993181

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

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

commit f43891bf866b65ceef0e51633afbbf57ee2a6be8
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Wed Oct 5 13:22:29 2022 +0200

    [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