Enable oslo.cache library
Add glance:server:cache metadata
cache:
engine: memcached
expiration_time: 600
backend_argument:
memcached_expire_time:
value: 660
members:
- host: ${_param:cluster_node01_address}
port: 11211
- host: ${_param:cluster_node02_address}
port: 11211
- host: ${_param:cluster_node01_address}
port: 11211
Enable oslo.cache in the glance config files:
- glance-api.conf
- glance-registry.conf
Change-Id: I0d183ea7e551b59cea5ff125d550cd5f5914239e
Related-Prod: PROD-26960
(cherry picked from commit 0aabf5453dafa07c13e460a892376a96aeb6f641)
diff --git a/metadata/service/control/cluster.yml b/metadata/service/control/cluster.yml
index d50efba..561dc31 100644
--- a/metadata/service/control/cluster.yml
+++ b/metadata/service/control/cluster.yml
@@ -56,6 +56,10 @@
virtual_host: '/openstack'
cache:
engine: memcached
+ expiration_time: 600
+ backend_argument:
+ memcached_expire_time:
+ value: 660
members:
- host: ${_param:cluster_node01_address}
port: 11211