← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1128684] Re: When using eventlet tpool, we need to monkey patch thread=False

 

** Changed in: nova
       Status: In Progress => Won't Fix

** Changed in: nova
    Milestone: grizzly-3 => None

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1128684

Title:
  When using eventlet tpool, we need to monkey patch thread=False

Status in OpenStack Compute (Nova):
  Won't Fix

Bug description:
  eventlet tpool combined with use of threading locks is broken:

  https://bitbucket.org/eventlet/eventlet/issue/137/use-of-threading-
  locks-causes-deadlock

  Unfortunately the python logging module uses threading.RLock and you
  can deadlock due to the above issue if anything happens to use it
  combined with eventlet.tpool.

  As a workaround, the problem goes away with you monkey patch with
  thread=False

  We use tpool in the virt layer... as well as it being an experimental
  feature for DB API calls.

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