keystonemiddleware/releasenotes/notes/deprecate-caching-tokens-in-process-a412b0f1dea84cb9.yaml
Brant Knudson f1aa4866c1 Deprecate in-process cache
For a long time now if you don't configure memcache then
auth_token middleware would cache the tokens in process
memory.

This is not the job of auth_token middleware. If you need to
cache you should configure memcache otherwise auth_token will
authenticate with keystone for every token request.

As such, this feature is deprecated and may be removed in the
5.0.0 release or the "O" development cycle (whichever is later).

Change-Id: Ied2b88c8cefe5655a88d0c2f334de04e588fa75a
2016-01-22 11:01:41 -06:00

19 lines
823 B
YAML

---
deprecations:
- >
With the release of 4.2.0 of keystonemiddleware we no longer recommend
using the in-process token cache. In-process caching may result in
inconsistent validation, poor UX and race conditions.
It is recommended that the `memcached_servers` option is set in the
`keystone_authtoken` configuration section of the various services (e.g.
nova, glance, ...) with the endpoint of running memcached server(s).
When the feature is removed, not setting the `memcached_servers`
option will cause keystone to validate tokens more frequently, increasing
load. In production, use of caching is highly recommended.
This feature is deprecated as of 4.2.0 and is targeted for removal in
keystonemiddleware 5.0.0 or in the `O` development cycle, whichever is
later.