diff --git a/defaults/main.yml b/defaults/main.yml index fbc7872a..4bff01a3 100644 --- a/defaults/main.yml +++ b/defaults/main.yml @@ -155,6 +155,7 @@ octavia_pip_packages: - keystonemiddleware - osprofiler - PyMySQL + - pymemcache - python-glanceclient - python-keystoneclient - python-memcached @@ -166,6 +167,9 @@ octavia_pip_packages: - shade - systemd-python +# Memcached override +octavia_memcached_servers: "{{ memcached_servers }}" + # Specific pip packages provided by the user octavia_user_pip_packages: [] diff --git a/templates/octavia.conf.j2 b/templates/octavia.conf.j2 index dd1a4921..642ea3a6 100644 --- a/templates/octavia.conf.j2 +++ b/templates/octavia.conf.j2 @@ -93,7 +93,7 @@ password = {{ octavia_service_password }} region_name = {{ keystone_service_region }} auth_type = password endpoint_type = {{ octavia_clients_endpoint }} -memcached_servers = {{ memcached_servers }} +memcached_servers = {{ octavia_memcached_servers }} token_cache_time = 300 @@ -314,7 +314,7 @@ username = {{ octavia_service_user_name }} password = {{ octavia_service_password }} region_name = {{ keystone_service_region }} auth_type = password -memcached_servers = {{ memcached_servers }} +memcached_servers = {{ octavia_memcached_servers }} endpoint_type = {{ octavia_clients_endpoint }} token_cache_time = 300