From 0011124f66edf2f8f0eded5ea840037c8361a9bb Mon Sep 17 00:00:00 2001 From: "wu.chunyang" Date: Thu, 2 Aug 2018 05:17:35 +0000 Subject: [PATCH] fix aodh warning the memcache_servers has Deprecated ,and auth_uri is marked deprecated . and these will cause aodh containers warning refer to [0] [0]https://docs.openstack.org/aodh/latest/configuration/aodh-config-file.html Change-Id: I0c1eed6707fd85ace6b2bdddec600e5adee3a4de --- ansible/roles/aodh/templates/aodh.conf.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ansible/roles/aodh/templates/aodh.conf.j2 b/ansible/roles/aodh/templates/aodh.conf.j2 index 4fb1b19716..b0a376f692 100644 --- a/ansible/roles/aodh/templates/aodh.conf.j2 +++ b/ansible/roles/aodh/templates/aodh.conf.j2 @@ -17,8 +17,8 @@ connection = mysql+pymysql://{{ aodh_database_user }}:{{ aodh_database_password [keystone_authtoken] memcache_security_strategy = ENCRYPT memcache_secret_key = {{ memcache_secret_key }} -memcache_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 }} +memcached_servers = {% for host in groups['memcached'] %}{{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }}:{{ memcached_port }}{% if not loop.last %},{% endif %}{% endfor %} +www_authenticate_uri = {{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ keystone_public_port }} project_domain_name = {{ default_project_domain_name }} project_name = service user_domain_name = {{ default_user_domain_name }}