Comment 10 for bug 1993181

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

Reviewed: https://review.opendev.org/c/openstack/neutron/+/861735
Committed: https://opendev.org/openstack/neutron/commit/560ea25085720c5890e34ddf8cd9f3320fd9d583
Submitter: "Zuul (22348)"
Branch: stable/xena

commit 560ea25085720c5890e34ddf8cd9f3320fd9d583
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
    (cherry picked from commit f43891bf866b65ceef0e51633afbbf57ee2a6be8)