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
diff --git a/tests/pillar/cluster.sls b/tests/pillar/cluster.sls
index 35d5f62..45adbdb 100644
--- a/tests/pillar/cluster.sls
+++ b/tests/pillar/cluster.sls
@@ -60,6 +60,10 @@
user_storage: 0
cache:
engine: memcached
+ expiration_time: 600
+ backend_argument:
+ memcached_expire_time:
+ value: 660
members:
- host: 127.0.0.1
port: 11211