rcbops / ansible-lxc-rpc

Ansible Playbooks to deploy openstack
https://rcbops.github.io/ansible-lxc-rpc/
Apache License 2.0
38 stars 31 forks source link

Keystone is not using the proper cache vip for dogpile cache #676

Closed cloudnull closed 9 years ago

cloudnull commented 9 years ago

In 9.0.0 we used the load balancer vip address for the caching, in 10.0.0 we changed to using memcached_servers as a list of servers and removed the lb vip address for memcached however this change was not done for dogpile cache in keystone.

This is the line that needs to be changed: https://github.com/rcbops/ansible-lxc-rpc/blob/master/rpc_deployment/roles/keystone_common/templates/keystone.conf.j2#L26

Purposed change:

backend_argument = url:{% for host in groups['memcached'] %}{{ hostvars[host]['container_address'] }}:{{ memcached_port|default('11211') }}{% if not loop.last %},{% endif %}:{{ memcached_port }}