Memcache configuration for Ceilometer is broken

At the moment we use "memcached_servers =
{{ kolla_internal_fqdn }}:{{ memcached_port }}" in
keystone_authtoken for Ceilometer.
This cannot work because we our haproxy service does
not offer memcache, so fix it.

Change-Id: I7d9630b8b232f0e5e2a0a33304817a1b255d4855
Closes-Bug: #1634146
This commit is contained in:
ZhongShengping 2016-10-19 09:12:58 +08:00
parent 45ebb37043
commit 53150ca2c0
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ metering_connection = mysql+pymysql://{{ ceilometer_database_user }}:{{ ceilomet
{% endif %}
[keystone_authtoken]
memcached_servers = {{ kolla_internal_fqdn }}:{{ memcached_port }}
memcached_servers = {% for host in groups['memcached'] %}{{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }}:{{ memcached_port }}{% if not loop.last %},{% endif %}{% endfor %}
auth_uri = {{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ keystone_public_port }}
project_domain_name = Default
project_name = service