← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1997970] Re: Prevent initializing "ovn-router" service if OVN mech driver is not called

 

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

commit 2fd17aa8762a2602527674896b86b3989899964e
Author: Rodolfo Alonso Hernandez <ralonsoh@xxxxxxxxxx>
Date:   Mon Dec 12 10:38:16 2022 +0000

    [OVN] Initialize the mech driver variable in ``OVNL3RouterPlugin``
    
    This initialization method will assign the mechanism driver variable
    and will check if any of the valid drivers ('ovn', 'ovn-sync') is
    loaded. If not, the execution will stop and the
    ``MechanismDriverNotFound`` exception will be raise. This exception
    is more informative than the reported error in the related bug, where
    one of the expected configuration variables for the
    ``OVNL3RouterPlugin`` class was not loaded.
    
    Closes-Bug: #1997970
    Change-Id: Ie8e184c85528cd1b3fed624fb003a71c5e6c7af3


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

Title:
  Prevent initializing "ovn-router" service if OVN mech driver is not
  called

Status in neutron:
  Fix Released

Bug description:
  This bug is related to [1]. If the OVN mech driver is not loaded, if the service plugin "ovn-router" is configured, do one of those two actions:
  1) Raise an exception with an explicit message.
  2) Skip this service (I don't like this one).

  [1]https://github.com/kubernetes-sigs/cluster-api-provider-
  openstack/issues/1397

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



References