← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1350119] [NEW] get_agent_gw_ports_exist_for_network in l3_dvr_db.py should use arrays for filter values

 

Public bug reported:

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.

** Affects: neutron
     Importance: Undecided
     Assignee: Carl Baldwin (carl-baldwin)
         Status: In Progress


** Tags: l3-dvr-backlog

** Tags added: l3-dvr-backlog

** Changed in: neutron
     Assignee: (unassigned) => Carl Baldwin (carl-baldwin)

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1350119

Title:
  get_agent_gw_ports_exist_for_network in l3_dvr_db.py should use arrays
  for filter values

Status in OpenStack Neutron (virtual network service):
  In Progress

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1350119/+subscriptions


Follow ups

References