← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 2119093] Re: [OVN] The ``OVNExtensionEvent`` class is hardcoded to work only with the "metadata" extension

 

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

commit 61aefa25f5d5bf76d82fe95666843327c08a77f1
Author: Rodolfo Alonso Hernandez <ralonsoh@xxxxxxxxxx>
Date:   Wed Jul 30 14:12:27 2025 +0000

    [OVN] Provide the extension name to ``OVNExtensionEvent`` classes
    
    All ``OVNExtensionEvent`` child classes should define the extension
    name in the definition. This extension name is used to retrieve the
    extension object from the OVN agent extension manager.
    
    Closes-Bug: #2119093
    Signed-off-by: Rodolfo Alonso Hernandez <ralonsoh@xxxxxxxxxx>
    Change-Id: If403420970caf0e2707e7a9ee092f861f68e8810


** 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/2119093

Title:
  [OVN] The ``OVNExtensionEvent`` class is hardcoded to work only with
  the "metadata" extension

Status in neutron:
  Fix Released

Bug description:
  The ``OVNExtensionEvent`` class is intended to be the metaclass for
  any OVN agent extension event. When the child event is called, the
  ``agent`` property should return the agent extension object.
  Currently, the property returns always the agent "metadata" extension
  [1], that is incorrect.

  [1]https://github.com/openstack/neutron/blob/758dbfa135e4bb1c2bee0823f2203a66adcdd5a2/neutron/agent/ovn/metadata/agent.py#L113

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



References