← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1567413] Re: Keystone fetches data from Memcache even if caching is explicitly turned off

 

** Also affects: oslo.cache
   Importance: Undecided
       Status: New

** Changed in: keystone
       Status: Triaged => Invalid

** Changed in: oslo.cache
       Status: New => Confirmed

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

Title:
  Keystone fetches data from Memcache even if caching is explicitly
  turned off

Status in OpenStack Identity (keystone):
  Invalid
Status in oslo.cache:
  Confirmed

Bug description:
  == Abstract ==

  I'm profiling Keystone using OSprofiler tool and the appropriate
  Keystone+OSprofiler integration changes -
  https://review.openstack.org/#/q/status:open+project:openstack/keystone+branch:master+topic
  :osprofiler-support-in-keystone - currently on review. The idea was to
  analyse how does Keystone use DB/Cache layers.

  == Expected vs Observed==

  I'm turning off cache via setting

  [cache]
  enabled = False

  I'm expecting all data to be fetched from DB in this case, but I still
  see gets from Memcache. I mean, *real* gets, not just tries to grab
  values, but real operations happening with values got from memcache
  here
  https://bitbucket.org/zzzeek/dogpile.cache/src/c6913eb143b24b4a886124ff0da5c935ea34e3ac/dogpile/cache/region.py?at=master&fileviewer
  =file-view-default#region.py-617

  Adding OSprofiler HTML report from token issue API call.

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


References