Skip to content

Commit

Permalink
Switch to using public endpoint for URIs
Browse files Browse the repository at this point in the history
The URI options in Heat all need to be public facing or otherwise
any instances spawned by Heat could have problems working with
things like SoftwareDeployment's such as Heat.

This patch makes the appropriate changes.

Change-Id: I210cedbdc527d981c49ff52264ee6028242202d2
(cherry picked from commit 785fcfd)
  • Loading branch information
mnaser committed Nov 21, 2018
1 parent 25bdb78 commit 1b70515
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions templates/heat.conf.j2
Expand Up @@ -43,13 +43,13 @@ endpoint_type = {{ heat_clients_heat_endpoint }}
[clients_keystone]
insecure = {{ keystone_service_internaluri_insecure | bool }}
endpoint_type = {{ heat_clients_endpoint }}
auth_uri = {{ keystone_service_internaluri }}
auth_uri = {{ keystone_service_publicuri }}

[database]
connection = mysql+pymysql://{{ heat_galera_user }}:{{ heat_container_mysql_password }}@{{ heat_galera_address }}/{{ heat_galera_database }}?charset=utf8{% if heat_galera_use_ssl | bool %}&ssl_ca={{ heat_galera_ssl_ca_cert }}{% endif %}

[ec2authtoken]
auth_uri = {{ keystone_service_internalurl }}
auth_uri = {{ keystone_service_publicuri }}

[heat_api]
bind_port = {{ heat_service_port }}
Expand Down Expand Up @@ -83,7 +83,7 @@ trace_sqlalchemy = {{ heat_profiler_trace_sqlalchemy }}
insecure = {{ keystone_service_internaluri_insecure | bool }}
auth_type = {{ heat_keystone_auth_plugin }}
auth_url = {{ keystone_service_adminurl }}
www_authenticate_uri = {{ keystone_service_internaluri }}
www_authenticate_uri = {{ keystone_service_publicuri }}
project_domain_id = {{ heat_service_project_domain_id }}
user_domain_id = {{ heat_service_user_domain_id }}
project_name = {{ heat_service_project_name }}
Expand Down

0 comments on commit 1b70515

Please sign in to comment.