From de31cdc77b9f339f2876df2864503f9b708d4b7d Mon Sep 17 00:00:00 2001 From: Eduardo Gonzalez Date: Mon, 13 Mar 2017 15:35:15 +0000 Subject: [PATCH] Fix heat ec2 keystone auth Heat-api-cfn need to point to keystone v3 version. Otherwise heat fail while authenticating for scaling policies. ``AWS authentication failure.`` Change-Id: I1950cd7359d8ad589feced870de76f02ef2c8a76 Closes-Bug: #1672431 --- ansible/roles/heat/templates/heat.conf.j2 | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ansible/roles/heat/templates/heat.conf.j2 b/ansible/roles/heat/templates/heat.conf.j2 index a5b84c05d9..3b1b1abba3 100644 --- a/ansible/roles/heat/templates/heat.conf.j2 +++ b/ansible/roles/heat/templates/heat.conf.j2 @@ -76,9 +76,9 @@ password = {{ heat_keystone_password }} [ec2authtoken] {% if orchestration_engine == 'KUBERNETES' %} -auth_uri = {{ keystone_internal_url }} +auth_uri = {{ keystone_internal_url }}/v3 {% else %} -auth_uri = {{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ keystone_public_port }} +auth_uri = {{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ keystone_public_port }}/v3 {% endif %} [clients_keystone]