Fixed keystone cache vip for dogpile

The keystone cache vip was being pinned to the internal lb vip address
this causes issues with consistant hashing in caches and removes the
requirement for having memcached on a vip address powered by the
LB.

Change-Id: I6aaecbbf0ebf5aa2433d68e8c139ddfff810c973
Closes-Bug: 1398649
This commit is contained in:
Kevin Carter 2014-12-03 21:46:59 -06:00
parent 00a6981497
commit e6076ee41b

View File

@ -23,7 +23,7 @@ max_compare_and_set_retry = 16
[cache]
backend = dogpile.cache.memcached
backend_argument = url:{{ internal_vip_address }}:{{ memcached_port }}
backend_argument = url:{% for host in groups['memcached'] %}{{ hostvars[host]['container_address'] }}{% if not loop.last %},{% endif %}{% endfor %}:{{ memcached_port }}
config_prefix = cache.keystone
distributed_lock = True
expiration_time = 5400