Merge "Switch to use $NETWORK_uri for memcached"

This commit is contained in:
Zuul 2019-05-30 16:48:13 +00:00 committed by Gerrit Code Review
commit d0b443a67d
2 changed files with 34 additions and 28 deletions

View File

@ -94,6 +94,12 @@ outputs:
"%{hiera('$NETWORK')}"
params:
$NETWORK: {get_param: [ServiceNetMap, MemcachedNetwork]}
memcached::listen_ip_uri:
str_replace:
template:
"%{hiera('$NETWORK_uri')}"
params:
$NETWORK: {get_param: [ServiceNetMap, MemcachedNetwork]}
memcached::max_memory: {get_param: MemcachedMaxMemory}
# https://access.redhat.com/security/cve/cve-2018-1000115
# Only accept TCP to avoid spoofed traffic amplification DoS on UDP.

View File

@ -194,31 +194,31 @@ parameter_defaults:
KeepalivedRestart: true
SshFirewallAllowAll: true
UndercloudExtraConfig:
aodh::keystone::authtoken::memcached_servers: "%{hiera('memcached::listen_ip')}:11211"
barbican::keystone::authtoken::memcached_servers: "%{hiera('memcached::listen_ip')}:11211"
ceilometer::keystone::authtoken::memcached_servers: "%{hiera('memcached::listen_ip')}:11211"
cinder::keystone::authtoken::memcached_servers: "%{hiera('memcached::listen_ip')}:11211"
congress::keystone::authtoken::memcached_servers: "%{hiera('memcached::listen_ip')}:11211"
ec2api::keystone::authtoken::memcached_servers: "%{hiera('memcached::listen_ip')}:11211"
glance::api::authtoken::memcached_servers: "%{hiera('memcached::listen_ip')}:11211"
gnocchi::keystone::authtoken::memcached_servers: "%{hiera('memcached::listen_ip')}:11211"
heat::keystone::authtoken::memcached_servers: "%{hiera('memcached::listen_ip')}:11211"
heat::cache::memcache_servers: "%{hiera('memcached::listen_ip')}:11211"
horizon::cache_server_ip: "%{hiera('memcached::listen_ip')}:11211"
ironic::api::authtoken::memcached_servers: "%{hiera('memcached::listen_ip')}:11211"
ironic::inspector::authtoken::memcached_servers: "%{hiera('memcached::listen_ip')}:11211"
keystone::cache_memcache_servers: "%{hiera('memcached::listen_ip')}:11211"
manila::keystone::authtoken::memcached_servers: "%{hiera('memcached::listen_ip')}:11211"
manila::keystone::authtoken::memcached_servers: "%{hiera('memcached::listen_ip')}:11211"
mistral::keystone::authtoken::memcached_servers: "%{hiera('memcached::listen_ip')}:11211"
neutron::keystone::authtoken::memcached_servers: "%{hiera('memcached::listen_ip')}:11211"
nova::keystone::authtoken::memcached_servers: "%{hiera('memcached::listen_ip')}:11211"
nova::cache::memcache_servers: "%{hiera('memcached::listen_ip')}:11211"
nova::keystone::authtoken::memcached_servers: "%{hiera('memcached::listen_ip')}:11211"
panko::keystone::authtoken::memcached_servers: "%{hiera('memcached::listen_ip')}:11211"
sahara::keystone::authtoken::memcached_servers: "%{hiera('memcached::listen_ip')}:11211"
swift::proxy::authtoken::memcache_servers: "%{hiera('memcached::listen_ip')}:11211"
swift::proxy::cache::memcache_servers: "%{hiera('memcached::listen_ip')}:11211"
tacker::keystone::authtoken::memcached_servers: "%{hiera('memcached::listen_ip')}:11211"
zaqar::keystone::authtoken::memcached_servers: "%{hiera('memcached::listen_ip')}:11211"
swift::objectexpirer::memcached_servers: "%{hiera('memcached::listen_ip')}:11211"
aodh::keystone::authtoken::memcached_servers: "%{hiera('memcached::listen_ip_uri')}:11211"
barbican::keystone::authtoken::memcached_servers: "%{hiera('memcached::listen_ip_uri')}:11211"
ceilometer::keystone::authtoken::memcached_servers: "%{hiera('memcached::listen_ip_uri')}:11211"
cinder::keystone::authtoken::memcached_servers: "%{hiera('memcached::listen_ip_uri')}:11211"
congress::keystone::authtoken::memcached_servers: "%{hiera('memcached::listen_ip_uri')}:11211"
ec2api::keystone::authtoken::memcached_servers: "%{hiera('memcached::listen_ip_uri')}:11211"
glance::api::authtoken::memcached_servers: "%{hiera('memcached::listen_ip_uri')}:11211"
gnocchi::keystone::authtoken::memcached_servers: "%{hiera('memcached::listen_ip_uri')}:11211"
heat::keystone::authtoken::memcached_servers: "%{hiera('memcached::listen_ip_uri')}:11211"
heat::cache::memcache_servers: "%{hiera('memcached::listen_ip_uri')}:11211"
horizon::cache_server_ip: "%{hiera('memcached::listen_ip_uri')}:11211"
ironic::api::authtoken::memcached_servers: "%{hiera('memcached::listen_ip_uri')}:11211"
ironic::inspector::authtoken::memcached_servers: "%{hiera('memcached::listen_ip_uri')}:11211"
keystone::cache_memcache_servers: "%{hiera('memcached::listen_ip_uri')}:11211"
manila::keystone::authtoken::memcached_servers: "%{hiera('memcached::listen_ip_uri')}:11211"
manila::keystone::authtoken::memcached_servers: "%{hiera('memcached::listen_ip_uri')}:11211"
mistral::keystone::authtoken::memcached_servers: "%{hiera('memcached::listen_ip_uri')}:11211"
neutron::keystone::authtoken::memcached_servers: "%{hiera('memcached::listen_ip_uri')}:11211"
nova::keystone::authtoken::memcached_servers: "%{hiera('memcached::listen_ip_uri')}:11211"
nova::cache::memcache_servers: "%{hiera('memcached::listen_ip_uri')}:11211"
nova::keystone::authtoken::memcached_servers: "%{hiera('memcached::listen_ip_uri')}:11211"
panko::keystone::authtoken::memcached_servers: "%{hiera('memcached::listen_ip_uri')}:11211"
sahara::keystone::authtoken::memcached_servers: "%{hiera('memcached::listen_ip_uri')}:11211"
swift::proxy::authtoken::memcache_servers: "%{hiera('memcached::listen_ip_uri')}:11211"
swift::proxy::cache::memcache_servers: "%{hiera('memcached::listen_ip_uri')}:11211"
tacker::keystone::authtoken::memcached_servers: "%{hiera('memcached::listen_ip_uri')}:11211"
zaqar::keystone::authtoken::memcached_servers: "%{hiera('memcached::listen_ip_uri')}:11211"
swift::objectexpirer::memcached_servers: "%{hiera('memcached::listen_ip_uri')}:11211"