Creating subnet for exsiting external network is time-comsuming

Bug #2043761 reported by LIU Yulong
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Medium
LIU Yulong

Bug Description

If an external network has many router on it, then create a subnet will be time-consuming. Neutron will try to update all routers' external gateway ports anyway, ignore the subnet service_type.

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/+/901225

Changed in neutron:
status: New → In Progress
LIU Yulong (dragon889)
Changed in neutron:
importance: Undecided → Medium
assignee: nobody → LIU Yulong (dragon889)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

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

commit 20dbc47fc65f6ff33fa730fcb8ba02e45b8cab11
Author: LIU Yulong <email address hidden>
Date: Fri Nov 17 12:01:19 2023 +0800

    Check subnet service_type for subnet_create

    If create subnet for existing external network, check the service_type
    to skip all exsiting router gateway ports updating. And this check is
    added only for L3RouterPlugin.

    IPv6 subnet creation for external network will keep the current behavior.
    IPv6 subnet has not 'floatingip' types. And IPv6 subnet should be created
    once enough, because a /64 CIDR is large enough typically. Creating IPv6
    subnets many times does not occur frequently. So make IPv6 run as it is.

    Closes-Bug: #2043761
    Change-Id: Ica03d091572025fd6938ad1fdf4b13854625f267

Changed in neutron:
status: In Progress → Fix Released
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.