← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1291637] [NEW] memcache client race

 

Public bug reported:

Nova uses thread-unsafe memcache client objects in multiple threads. For
instance, nova-api's metadata WSGI server uses the same
nova.api.metadata.handler.MetadataRequestHandler._cache object for every
request. A memcache client object is thread unsafe because it has a
single open socket connection to memcached. Thus the multiple threads
will read from & write to the same socket fd.

Keystoneclient has the same bug. See https://bugs.launchpad.net/python-
keystoneclient/+bug/1289074 for a patch to fix the problem.

** Affects: nova
     Importance: Undecided
         Status: New

-- 
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/1291637

Title:
  memcache client race

Status in OpenStack Compute (Nova):
  New

Bug description:
  Nova uses thread-unsafe memcache client objects in multiple threads.
  For instance, nova-api's metadata WSGI server uses the same
  nova.api.metadata.handler.MetadataRequestHandler._cache object for
  every request. A memcache client object is thread unsafe because it
  has a single open socket connection to memcached. Thus the multiple
  threads will read from & write to the same socket fd.

  Keystoneclient has the same bug. See https://bugs.launchpad.net
  /python-keystoneclient/+bug/1289074 for a patch to fix the problem.

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


Follow ups

References