← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1152050] Re: get_sync_data fails if router interface subnet is deleted

 

** Changed in: quantum
       Status: Fix Committed => Fix Released

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

Title:
  get_sync_data fails if router interface subnet is deleted

Status in OpenStack Quantum (virtual network service):
  Fix Released

Bug description:
  The routine for gathering routers' synchronisation data currently
  assumes each port with device_id == router_id and device_owner =
  network:router_interface has a fixed ip.

  This is unfortunately not true in the case in which a subnet attached
  to a router is deleted. This will leave a port which is in theory
  owned by a router, but since it does not have any IP it can't really
  be used for packet forwarding.

  This bug is about adding a check in get_sync_data for avoiding a
  failure, and this check should just filter out ports without an IP,
  which makes sense.

  However, there are probably some other aspects which needs to be
  addressed, with separate bug fixes:

  1) If a subnet attached to a router is deleted, this will leave the l3 agent (or equivalent l3 implementation on another plugin) configured. For instance, the gateway IP address will still be configured on the agent.
  2) If the IPs on a port attached to a router are removed/updated, this will have probably no effect on the l3 agent.

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