|
...
|
...
|
@@ -218,6 +218,14 @@ function configure_keystone {
|
|
218
|
218
|
iniset $KEYSTONE_CONF role driver "$KEYSTONE_ROLE_BACKEND"
|
|
219
|
219
|
iniset $KEYSTONE_CONF resource driver "$KEYSTONE_RESOURCE_BACKEND"
|
|
220
|
220
|
|
|
|
221
|
+ # Enable caching
|
|
|
222
|
+ iniset $KEYSTONE_CONF cache enabled "True"
|
|
|
223
|
+ iniset $KEYSTONE_CONF cache backend "oslo_cache.memcache_pool"
|
|
|
224
|
+ iniset $KEYSTONE_CONF cache memcache_servers $SERVICE_HOST:11211
|
|
|
225
|
+
|
|
|
226
|
+ # Do not cache the catalog backend due to https://bugs.launchpad.net/keystone/+bug/1537617
|
|
|
227
|
+ iniset $KEYSTONE_CONF catalog caching "False"
|
|
|
228
|
+
|
|
221
|
229
|
iniset_rpc_backend keystone $KEYSTONE_CONF
|
|
222
|
230
|
|
|
223
|
231
|
# Register SSL certificates if provided
|