Refactor memcached_servers

This patch aims to add a prefix for memcached_server
on each role to give the ability for deployers to
override the location of memcached cluster. I.e users
wants to create a single memcached cluster with k8s
for each service.

We also add pymemcache based on [1]

[1] https://review.opendev.org/711429

Change-Id: If7bbef32ae1102ff586bd765052d984896bde43d
This commit is contained in:
Guilherme Steinmüller 2020-03-16 14:00:22 +00:00 committed by Guilherme Steinmuller Pimentel
parent b2205d121d
commit d5be854362
2 changed files with 6 additions and 2 deletions

View File

@ -170,9 +170,13 @@ magnum_pip_packages:
- magnum
- osprofiler
- PyMySQL
- pymemcache
- python-memcached
- systemd-python
# Memcached override
magnum_memcached_servers: "{{ memcached_servers }}"
# Specific pip packages provided by the user
magnum_user_pip_packages: []

View File

@ -38,7 +38,7 @@ auth_uri = {{ keystone_service_publicurl }}
www_authenticate_uri = {{ keystone_service_publicurl }}
auth_version = v3
insecure = {{ keystone_service_internaluri_insecure | bool }}
memcached_servers = {{ memcached_servers }}
memcached_servers = {{ magnum_memcached_servers }}
token_cache_time = 300
auth_type = {{ magnum_keystone_auth_plugin }}
auth_url = {{ keystone_service_internaluri }}
@ -54,7 +54,7 @@ auth_uri = {{ keystone_service_publicurl }}
www_authenticate_uri = {{ keystone_service_publicurl }}
auth_version = v3
insecure = {{ keystone_service_internaluri_insecure | bool }}
memcached_servers = {{ memcached_servers }}
memcached_servers = {{ magnum_memcached_servers }}
token_cache_time = 300
auth_type = {{ magnum_keystone_auth_plugin }}
auth_url = {{ keystone_service_internaluri }}