diff --git a/manifests/profile/base/nova.pp b/manifests/profile/base/nova.pp index 9033f0b84..ae7fe231a 100644 --- a/manifests/profile/base/nova.pp +++ b/manifests/profile/base/nova.pp @@ -78,15 +78,6 @@ # (Optional) Array of ipv4 or ipv6 addresses for memcache. # Defaults to hiera('memcached_node_ips') # -# [*enable_cache*] -# (Optional) Enable the use of cache. Note that it is unsupported -# to disable this key. It is only useful for debugging purposes. -# Defaults to true -# -# [*cache_backend*] -# (Optional) Backend implementation to store cache -# Defaults to 'dogpile.cache.memcached' -# class tripleo::profile::base::nova ( $bootstrap_node = hiera('nova_api_short_bootstrap_node_name', undef), $oslomsg_rpc_proto = hiera('oslo_messaging_rpc_scheme', 'rabbit'), @@ -103,8 +94,6 @@ class tripleo::profile::base::nova ( $oslomsg_notify_use_ssl = hiera('oslo_messaging_notify_use_ssl', '0'), $step = Integer(hiera('step')), $memcached_ips = hiera('memcached_node_ips'), - $enable_cache = true, - $cache_backend = 'dogpile.cache.memcached', ) { if $::hostname == downcase($bootstrap_node) { @@ -130,8 +119,6 @@ class tripleo::profile::base::nova ( include nova::config include nova::logging class { 'nova::cache': - enabled => $enable_cache, - backend => $cache_backend, memcache_servers => $memcache_servers, } class { 'nova': diff --git a/releasenotes/notes/nova-cache-in-tht-533e048fd6ccc65f.yaml b/releasenotes/notes/nova-cache-in-tht-533e048fd6ccc65f.yaml new file mode 100644 index 000000000..2e6b438d2 --- /dev/null +++ b/releasenotes/notes/nova-cache-in-tht-533e048fd6ccc65f.yaml @@ -0,0 +1,6 @@ +--- +deprecations: + - | + The ``enable_cache`` and ``cache_backend`` in + ``tripleo::profile::base::nova`` class were removed because now these + parameters are defined in tripleo-heat-templates.