← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1291695] [NEW] BigSwitch: should call eventlet sleep in watchdog

 

Public bug reported:

The consistency watchdog in eventlet currently calls time.sleep which
will block other greenthreads who are members of the same pool.

https://github.com/openstack/neutron/blob/288e3127440158f177beaae1972236def4916251/neutron/plugins/bigswitch/servermanager.py#L554

It should use eventlet.sleep so it yields to other members of the same
pool.

** Affects: neutron
     Importance: Undecided
     Assignee: Kevin Benton (kevinbenton)
         Status: In Progress


** Tags: bigswitch

** Changed in: neutron
     Assignee: (unassigned) => Kevin Benton (kevinbenton)

** Tags added: bigswitch

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

Title:
  BigSwitch: should call eventlet sleep in watchdog

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

Bug description:
  The consistency watchdog in eventlet currently calls time.sleep which
  will block other greenthreads who are members of the same pool.

  https://github.com/openstack/neutron/blob/288e3127440158f177beaae1972236def4916251/neutron/plugins/bigswitch/servermanager.py#L554

  It should use eventlet.sleep so it yields to other members of the same
  pool.

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


Follow ups

References