get_agent_gw_ports_exist_for_network in l3_dvr_db.py should use arrays for filter values

Bug #1350119 reported by Carl Baldwin
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Undecided
Carl Baldwin

Bug Description

This code is incorrect: https://github.com/openstack/neutron/blob/master/neutron/db/l3_dvr_db.py#L297

The result is that no port is found by the query. Because of this, a new port gets created each time the L3 agent restarts and tries to find the external gw port for the DVR router.

tags: added: l3-dvr-backlog
Changed in neutron:
assignee: nobody → Carl Baldwin (carl-baldwin)
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/110513

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.openstack.org/110513
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=7a7291794eb718fc0a6105efacf88b2ee5594043
Submitter: Jenkins
Branch: master

commit 7a7291794eb718fc0a6105efacf88b2ee5594043
Author: Carl Baldwin <email address hidden>
Date: Wed Jul 30 00:45:54 2014 +0000

    Pass filters in arrays in get_agent_gw_ports_exist_for_network

    Change-Id: I8925d7072b7cae7645e772b8a769a7e6f03ec64f
    Closes-Bug: #1350119

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