Public bug reported: The OVN Octavia provider driver in OvnProviderHelper caches attributes [1]:
ovn_nbdb_api_for_events = None ovn_nb_idl_for_events = None ovn_nbdb_api = None to not re-create each time OVN IDL that is used for handling events. Now we are able to use Octavia Driver Agent [2] instead to not have those long-living IDLs in API process. TODO: - create driver agent and register its entry point - While setting up the driver agent instance start IDL that will handle events: https://opendev.org/openstack/ovn-octavia-provider/src/branch/master/ovn_octavia_provider/driver.py#L279 - stop caching ovn_nbdb_api, ovn_nb_idl_for_events and ovn_nbdb_api_for_events in the OvnProviderHelper. [1] https://opendev.org/openstack/ovn-octavia-provider/src/branch/master/ovn_octavia_provider/driver.py#L273 [2] https://docs.openstack.org/octavia/latest/contributor/guides/providers.html#provider-agent-method-invocation ** Affects: neutron Importance: Undecided Status: New ** Tags: ovn-octavia-provider -- You received this bug notification because you are a member of Yahoo! Engineering Team, which is subscribed to neutron. https://bugs.launchpad.net/bugs/1871355 Title: OVN octavia provider driver should spawn long-living process in driver agent Status in neutron: New Bug description: The OVN Octavia provider driver in OvnProviderHelper caches attributes [1]: ovn_nbdb_api_for_events = None ovn_nb_idl_for_events = None ovn_nbdb_api = None to not re-create each time OVN IDL that is used for handling events. Now we are able to use Octavia Driver Agent [2] instead to not have those long-living IDLs in API process. TODO: - create driver agent and register its entry point - While setting up the driver agent instance start IDL that will handle events: https://opendev.org/openstack/ovn-octavia-provider/src/branch/master/ovn_octavia_provider/driver.py#L279 - stop caching ovn_nbdb_api, ovn_nb_idl_for_events and ovn_nbdb_api_for_events in the OvnProviderHelper. [1] https://opendev.org/openstack/ovn-octavia-provider/src/branch/master/ovn_octavia_provider/driver.py#L273 [2] https://docs.openstack.org/octavia/latest/contributor/guides/providers.html#provider-agent-method-invocation To manage notifications about this bug go to: https://bugs.launchpad.net/neutron/+bug/1871355/+subscriptions -- Mailing list: https://launchpad.net/~yahoo-eng-team Post to : [email protected] Unsubscribe : https://launchpad.net/~yahoo-eng-team More help : https://help.launchpad.net/ListHelp

