[OVN] Since "service type" for OVN routers feature, previously created routers cannot be deleted

Bug #2053122 reported by Rodolfo Alonso
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
High
Rodolfo Alonso

Bug Description

Since [1], any new OVN router has a service provider configuration. This is something not present in OVN routers created before this functionality.

When we try to delete a "old" OVN router, this is the exception received: [3].

The associated ``ProviderResourceAssociation`` register in missing for those OVN routers created before this feature.

[1]https://review.opendev.org/c/openstack/neutron/+/883988
[2]https://review.opendev.org/c/openstack/neutron/+/883988/83/neutron/services/ovn_l3/service_providers/driver_controller.py#42
[3]https://paste.opendev.org/show/bXHekK7yKUj7fbvma6Bf/

Changed in neutron:
importance: Undecided → High
assignee: nobody → Rodolfo Alonso (rodolfo-alonso-hernandez)
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/+/908986

Changed in neutron:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : 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

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.

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.