Bug 1625367 - Do we support caching of fernet tokens?
Summary: Do we support caching of fernet tokens?
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-keystone
Version: 10.0 (Newton)
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ga
: 17.0
Assignee: Harry Rybacki
QA Contact: Jeremy Agee
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-09-04 18:08 UTC by Alex Stupnikov
Modified: 2023-06-07 09:06 UTC (History)
14 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2022-09-21 12:07:40 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Issue Tracker OSP-257 0 None None None 2021-12-10 17:24:38 UTC
Red Hat Knowledge Base (Solution) 3601661 0 None None None 2018-09-04 18:08:57 UTC
Red Hat Knowledge Base (Solution) 3679131 0 None None None 2021-07-01 10:15:36 UTC
Red Hat Product Errata RHEA-2022:6543 0 None None None 2022-09-21 12:09:14 UTC

Description Alex Stupnikov 2018-09-04 18:08:57 UTC
It is known that caching of fernet tokens provides 50%+ performance increase, but it also could break authentication service in case of any serious issue. Current documentation [1] doesn't contain any details about configuring [cache] section in keystone.conf.

Our partner is concerned if we support the environments with the following configuration parameters in keystone.conf:

/etc/keystone/keystone.conf::cache::backend oslo_cache.memcache_pool
/etc/keystone/keystone.conf::cache::memcache_servers 1.1.1.1:11211,1.1.1.2:11211,1.1.1.3:11211
/etc/keystone/keystone.conf::cache::enabled true
/etc/keystone/keystone.conf::token::caching true

Please treat this bug as one with high priority: it could have serious business impact.

[1] https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/10/html/configuration_reference/ch_configuring-openstack-identity

Comment 1 Alex Stupnikov 2018-09-04 18:12:12 UTC
Here is official configuration guide for fernet tokens in RHOSP 10:

https://access.redhat.com/documentation/en-us/red_hat_openstack_platform/10/html/deploy_fernet_on_the_overcloud/

Comment 35 errata-xmlrpc 2022-09-21 12:07:40 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory (Release of components for Red Hat OpenStack Platform 17.0 (Wallaby)), and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHEA-2022:6543

Comment 36 Mia Doherty 2023-02-23 10:13:34 UTC Comment hidden (spam)
Comment 37 Mia Doherty 2023-02-23 10:14:02 UTC Comment hidden (spam)

Note You need to log in before you can comment on or make changes to this bug.