From b0ec5296c369b5037136d8ec2989de53fbfca04d Mon Sep 17 00:00:00 2001 From: Takashi Kajinami Date: Thu, 2 Apr 2020 21:24:53 +0900 Subject: [PATCH] Enable caching in heat This patch enables caching in heat with memacached on controller nodes, to improve perfornance to retrieve informaiton about heat resources. Note that resource finder cache is still disabled because of known issue with stack recreated with the same name before cache invalidation. Depends-on: https://review.opendev.org/#/c/715586/ Depends-on: https://review.opendev.org/#/c/715573/ Change-Id: If9c0baba6503014919512e758fe20a9a23c6e666 --- deployment/heat/heat-base-puppet.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/deployment/heat/heat-base-puppet.yaml b/deployment/heat/heat-base-puppet.yaml index 3af950caf6..31871a7682 100644 --- a/deployment/heat/heat-base-puppet.yaml +++ b/deployment/heat/heat-base-puppet.yaml @@ -163,6 +163,9 @@ outputs: heat::keystone::authtoken::password: {get_param: HeatPassword} heat::keystone::authtoken::region_name: {get_param: KeystoneRegion} heat::heat_keystone_clients_url: {get_param: [EndpointMap, KeystonePublic, uri_no_suffix] } + heat::cache::enabled: true + heat::cache::backend: 'dogpile.cache.memcached' + heat::cache::resource_finder_caching: false heat::keystone::domain::domain_name: 'heat_stack' heat::keystone::domain::domain_admin: 'heat_stack_domain_admin' heat::keystone::domain::domain_admin_email: 'heat_stack_domain_admin@localhost'