[RFE] Add flavor/service provider support to routers in the L3 OVN plugin

Bug #2020823 reported by Miguel Lavalle
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Wishlist
Miguel Lavalle

Bug Description

Operators have expressed interest in being able to create and operate virtual routers with different flavors under the OVN L3 plugin. This RFE proposes:

1) Disentangle the management of OVN routers from the OVN L3 plugin and move the associated functionality to a driver, that would be the default driver under the ML2/OVN mechanism driver.

2) Allow operators to define other drivers under the OVN L3 plugin, that will allow the creation and management of virtual routers flavors implemented in other back-ends outside of OVN

A proof of concept patch has been pushed to Gerrit to illustrate the intent of this proposal: https://review.opendev.org/c/openstack/neutron/+/883988

Miguel Lavalle (minsel)
Changed in neutron:
importance: Undecided → Wishlist
assignee: nobody → Miguel Lavalle (minsel)
Changed in neutron:
status: New → In Progress
yatin (yatinkarel)
tags: added: rfe
tags: added: ovn
Revision history for this message
yatin (yatinkarel) wrote :

Thanks Miguel for proposing it, can you also raise it in today or upcoming Driver Meeting for approval https://meetings.opendev.org/#Neutron_drivers_Meeting

Revision history for this message
Rodolfo Alonso (rodolfo-alonso-hernandez) wrote :

This RFE has been approved. A spec will be required to continue with the implementation.

tags: added: rfe-approved
removed: rfe
Revision history for this message
Miguel Lavalle (minsel) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on neutron (master)

Change abandoned by "Miguel Lavalle <email address hidden>" on branch: master
Review: https://review.opendev.org/c/openstack/neutron/+/887746
Reason: Not needed anymore. The L3 OVN plugin and the L3 OVN plugin with flavors became one

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

Reviewed: https://review.opendev.org/c/openstack/neutron/+/883988
Committed: https://opendev.org/openstack/neutron/commit/49366ecada529a929712ded7681d797c75b386cb
Submitter: "Zuul (22348)"
Branch: master

commit 49366ecada529a929712ded7681d797c75b386cb
Author: Miguel Lavalle <email address hidden>
Date: Tue May 23 19:48:49 2023 -0500

    Router flavors and service type for OVN

    Support is added to the OVN L3 service plugin for the router
    flavors and service type framework

    Partial-Bug: #2020823
    Change-Id: If40d7b39e7b59a39ff7622bd823dbdb14bfc69d2

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to neutron (master)

Related fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/neutron/+/908986

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to neutron (master)

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

commit d755c2551ff55696174554cb730e79903c922971
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Tue Feb 13 22:28:25 2024 +0000

    [OVN] Add ``ProviderResourceAssociation`` to any ML2/OVN router

    Since [1], any Neutron router created with ML2/OVN will have an
    associated ``ProviderResourceAssociation`` register. The routers
    created before this feature won't have any and it won't be possible
    to delete them. This patch adds a temporary maintenance task to
    create the needed register for these Neutron routers.

    [1]https://review.opendev.org/c/openstack/neutron/+/883988

    Closes-Bug: #2053122
    Related-Bug: #2020823
    Change-Id: Iecd5c7a66b16e25e9888dbd1e305586b2be2011e

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/neutron/+/910889

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix proposed to neutron-tempest-plugin (master)

Related fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/neutron-tempest-plugin/+/911081

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Related fix merged to neutron-tempest-plugin (master)

Reviewed: https://review.opendev.org/c/openstack/neutron-tempest-plugin/+/911081
Committed: https://opendev.org/openstack/neutron-tempest-plugin/commit/9286588fc0c3df370d4b906776432b7f3591e3b6
Submitter: "Zuul (22348)"
Branch: master

commit 9286588fc0c3df370d4b906776432b7f3591e3b6
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Mon Mar 4 20:30:40 2024 +0000

    [OVN] Do not check L3 agents state with ML2/OVN

    With [1], the ML2/OVN L3 plugin will have the "ha" API extension
    enabled. The OVN L3 plugin does not have L3 agents; this check
    should be skipped.

    [1]https://review.opendev.org/c/openstack/neutron/+/910889

    Related-Bug: #2020823
    Change-Id: I09c12ba36b007d4f6fdd3723974ecfe9e4466b72

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

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

commit b8953b543af0041fa2f3954271d8a8404c9e7a1c
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Mon Mar 4 10:39:30 2024 +0000

    [OVN] Enable "ha" API flag for OVN routers

    The "ha" API flag is now enabled for the OVN routers. Because of the
    current implementation, this flag must be always "True". When a new
    router is created, this flag is always set. If an OVN router is
    explicitly created or updated with "--no-ha" (ha=False), the server
    will raise an InvalidInput exception.

    Depends-On: https://review.opendev.org/c/openstack/neutron-tempest-plugin/+/911081

    Closes-Bug: #2020823
    Change-Id: I60ff33680dd5397a226a9051d51bfb0701f862b5

Changed in neutron:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 24.0.0.0rc1

This issue was fixed in the openstack/neutron 24.0.0.0rc1 release candidate.

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

Reviewed: https://review.opendev.org/c/openstack/neutron/+/901513
Committed: https://opendev.org/openstack/neutron/commit/8ff8203fd7133d9092fd70610c19c0dba9e90de2
Submitter: "Zuul (22348)"
Branch: master

commit 8ff8203fd7133d9092fd70610c19c0dba9e90de2
Author: Miguel Lavalle <email address hidden>
Date: Mon Nov 20 19:09:14 2023 -0600

    Enable HA for OVN router flavors

    In this change, we add the ability to create high availability
    user defined router flavors under the ML2/OVN L3 service
    plugin.

    Closes-Bug: #2020823

    Change-Id: I0d26f672d6239d840d3cf817a2553a06ef00a854

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.