File: deprecate-caching-tokens-in-process-a412b0f1dea84cb9.yaml

package info (click to toggle)
python-keystonemiddleware 10.9.0-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 1,288 kB
  • sloc: python: 10,017; makefile: 93; sh: 2
file content (18 lines) | stat: -rw-r--r-- 823 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
---
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.