← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2046939] Re: [OVN] ``OVNAgentExtensionManager`` is resetting the ``agent_api`` during the initialization

 

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

commit 86efc8be9934713ad79b3415b8b5b72bd475e01c
Author: Rodolfo Alonso Hernandez <ralonsoh@xxxxxxxxxx>
Date:   Tue Dec 19 10:57:56 2023 +0000

    [OVN] OVN agent extensions correctly consume agent API
    
    Now the ``OVNAgentExtension`` class do not clear the agent API during
    the extension initialization.
    
    This patch also passes the agent object to the OVN agent extensions
    as agent API. Any method required will be implemented directly on the
    OVN agent class.
    
    Closes-Bug: #2046939
    Change-Id: Ia635ca1ff97c3db43a34d3dec6a7f9df154dfe28


** Changed in: neutron
       Status: In Progress => Fix Released

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/2046939

Title:
  [OVN] ``OVNAgentExtensionManager`` is resetting the ``agent_api``
  during the  initialization

Status in neutron:
  Fix Released

Bug description:
  The ``OVNAgentExtensionManager`` instance of the OVN agent is resetting the ``agent_api`` member during the extensions manager initialization. The ``OVNAgentExtensionManager`` inherits from ``AgentExtensionsManager``. The ``initialize`` method iterates through the loaded extensions and execute the following methods:
  * ``consume_api``: assigns the agent API to the extension.
  * ``initialize``: due to a wrong implementation, this method is now assigning None to the agent API, previously assigned.

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/2046939/+subscriptions



References