← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1330993] [NEW] L3-Agent does not process some router update messages due to missing thread synchronization

 

Public bug reported:

The L3-Agent  does not process some router update messages due to the
updates being overwritten due to missing thread synchronization. This
happens when a lot of FloatingIP and Router APIs are invoked.

The functions _rpc_loop and _sync_routers_task are annotated with
@lockutils.synchronized('l3-agent', 'neutron-'). This provides
concurrent access to the global variables updated_routers and
removed_routers.

However the same variables would be updated by the RPC methods such as
routers_updated, router_deleted etc.

As a temporary fix these methods could also be made synchronized, but
investigation is needed about a minor redesign to avoid using the global
variables to keep track of any updates.

** Affects: neutron
     Importance: Undecided
         Status: New

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

Title:
  L3-Agent does not process some router update messages due to missing
  thread synchronization

Status in OpenStack Neutron (virtual network service):
  New

Bug description:
  The L3-Agent  does not process some router update messages due to the
  updates being overwritten due to missing thread synchronization. This
  happens when a lot of FloatingIP and Router APIs are invoked.

  The functions _rpc_loop and _sync_routers_task are annotated with
  @lockutils.synchronized('l3-agent', 'neutron-'). This provides
  concurrent access to the global variables updated_routers and
  removed_routers.

  However the same variables would be updated by the RPC methods such as
  routers_updated, router_deleted etc.

  As a temporary fix these methods could also be made synchronized, but
  investigation is needed about a minor redesign to avoid using the
  global variables to keep track of any updates.

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


Follow ups

References