big switch L3: missing tenant ID for external gateway causes expensive query on backend

Bug #1393991 reported by Kevin Benton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Undecided
Kevin Benton

Bug Description

The external gateway info in the router update only includes the network_id. Even though this is a unique ID on the openstack side, this field isn't unique on the backend so the query is very expensive. The plugin side should just lookup the network and include it in the request to the backend.

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

Fix proposed to branch: master
Review: https://review.openstack.org/135460

Changed in neutron:
assignee: nobody → Kevin Benton (kevinbenton)
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/135460
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=1825b0fdf9b383566c5f509108b88de39ca0bc31
Submitter: Jenkins
Branch: master

commit 1825b0fdf9b383566c5f509108b88de39ca0bc31
Author: Kevin Benton <email address hidden>
Date: Mon Nov 17 23:12:03 2014 -0800

    BSN: Add network to ext_gw_info sent to backend

    Include the full network info in the external gateway info
    sent to the backend controller. This alleviates a very expensive
    query across all tenants on the backend controller.

    Closes-Bug: #1393991
    Change-Id: If3601ccbce21e683924a7056cdfe4e3c2d4d4a93

Changed in neutron:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in neutron:
milestone: none → kilo-1
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in neutron:
milestone: kilo-1 → 2015.1.0
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.