Merge "Allow heat services to use independent hostnames"
This commit is contained in:
commit
7a9f485165
ansible
@ -233,8 +233,14 @@ grafana_server_port: "3000"
|
||||
haproxy_stats_port: "1984"
|
||||
haproxy_monitor_port: "61313"
|
||||
|
||||
heat_internal_fqdn: "{{ kolla_internal_fqdn }}"
|
||||
heat_external_fqdn: "{{ kolla_external_fqdn }}"
|
||||
heat_api_port: "8004"
|
||||
heat_api_listen_port: "{{ heat_api_port }}"
|
||||
heat_cfn_internal_fqdn: "{{ kolla_internal_fqdn }}"
|
||||
heat_cfn_external_fqdn: "{{ kolla_external_fqdn }}"
|
||||
heat_api_cfn_port: "8000"
|
||||
heat_api_cfn_listen_port: "{{ heat_api_cfn_port }}"
|
||||
|
||||
horizon_port: "80"
|
||||
|
||||
|
@ -19,11 +19,13 @@ heat_services:
|
||||
mode: "http"
|
||||
external: false
|
||||
port: "{{ heat_api_port }}"
|
||||
listen_port: "{{ heat_api_listen_port }}"
|
||||
heat_api_external:
|
||||
enabled: "{{ enable_heat }}"
|
||||
mode: "http"
|
||||
external: true
|
||||
port: "{{ heat_api_port }}"
|
||||
listen_port: "{{ heat_api_listen_port }}"
|
||||
heat-api-cfn:
|
||||
container_name: heat_api_cfn
|
||||
group: heat-api-cfn
|
||||
@ -41,11 +43,13 @@ heat_services:
|
||||
mode: "http"
|
||||
external: false
|
||||
port: "{{ heat_api_cfn_port }}"
|
||||
listen_port: "{{ heat_api_cfn_listen_port }}"
|
||||
heat_api_cfn_external:
|
||||
enabled: "{{ enable_heat }}"
|
||||
mode: "http"
|
||||
external: true
|
||||
port: "{{ heat_api_cfn_port }}"
|
||||
listen_port: "{{ heat_api_cfn_listen_port }}"
|
||||
heat-engine:
|
||||
container_name: heat_engine
|
||||
group: heat-engine
|
||||
@ -92,12 +96,12 @@ heat_engine_dimensions: "{{ default_container_dimensions }}"
|
||||
####################
|
||||
# OpenStack
|
||||
####################
|
||||
heat_admin_endpoint: "{{ admin_protocol }}://{{ kolla_internal_fqdn }}:{{ heat_api_port }}/v1/%(tenant_id)s"
|
||||
heat_internal_endpoint: "{{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ heat_api_port }}/v1/%(tenant_id)s"
|
||||
heat_public_endpoint: "{{ public_protocol }}://{{ kolla_external_fqdn }}:{{ heat_api_port }}/v1/%(tenant_id)s"
|
||||
heat_cfn_admin_endpoint: "{{ admin_protocol }}://{{ kolla_internal_fqdn }}:{{ heat_api_cfn_port }}/v1"
|
||||
heat_cfn_internal_endpoint: "{{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ heat_api_cfn_port }}/v1"
|
||||
heat_cfn_public_endpoint: "{{ public_protocol }}://{{ kolla_external_fqdn }}:{{ heat_api_cfn_port }}/v1"
|
||||
heat_admin_endpoint: "{{ admin_protocol }}://{{ heat_internal_fqdn }}:{{ heat_api_port }}/v1/%(tenant_id)s"
|
||||
heat_internal_endpoint: "{{ internal_protocol }}://{{ heat_internal_fqdn }}:{{ heat_api_port }}/v1/%(tenant_id)s"
|
||||
heat_public_endpoint: "{{ public_protocol }}://{{ heat_external_fqdn }}:{{ heat_api_port }}/v1/%(tenant_id)s"
|
||||
heat_cfn_admin_endpoint: "{{ admin_protocol }}://{{ heat_cfn_internal_fqdn }}:{{ heat_api_cfn_port }}/v1"
|
||||
heat_cfn_internal_endpoint: "{{ internal_protocol }}://{{ heat_cfn_internal_fqdn }}:{{ heat_api_cfn_port }}/v1"
|
||||
heat_cfn_public_endpoint: "{{ public_protocol }}://{{ heat_cfn_external_fqdn }}:{{ heat_api_cfn_port }}/v1"
|
||||
|
||||
heat_logging_debug: "{{ openstack_logging_debug }}"
|
||||
|
||||
|
@ -9,7 +9,7 @@
|
||||
- name: Checking free port for Heat API
|
||||
wait_for:
|
||||
host: "{{ api_interface_address }}"
|
||||
port: "{{ heat_api_port }}"
|
||||
port: "{{ heat_api_listen_port }}"
|
||||
connect_timeout: 1
|
||||
timeout: 1
|
||||
state: stopped
|
||||
@ -20,7 +20,7 @@
|
||||
- name: Checking free port for Heat API CFN
|
||||
wait_for:
|
||||
host: "{{ api_interface_address }}"
|
||||
port: "{{ heat_api_cfn_port }}"
|
||||
port: "{{ heat_api_cfn_listen_port }}"
|
||||
connect_timeout: 1
|
||||
timeout: 1
|
||||
state: stopped
|
||||
|
@ -3,9 +3,9 @@ debug = {{ heat_logging_debug }}
|
||||
|
||||
log_dir = /var/log/kolla/heat
|
||||
|
||||
heat_watch_server_url = {{ public_protocol }}://{{ kolla_external_fqdn }}:{{ heat_api_cfn_port }}
|
||||
heat_metadata_server_url = {{ public_protocol }}://{{ kolla_external_fqdn }}:{{ heat_api_cfn_port }}
|
||||
heat_waitcondition_server_url = {{ public_protocol }}://{{ kolla_external_fqdn }}:{{ heat_api_cfn_port }}/v1/waitcondition
|
||||
heat_watch_server_url = {{ public_protocol }}://{{ heat_cfn_external_fqdn }}:{{ heat_api_cfn_port }}
|
||||
heat_metadata_server_url = {{ public_protocol }}://{{ heat_cfn_external_fqdn }}:{{ heat_api_cfn_port }}
|
||||
heat_waitcondition_server_url = {{ public_protocol }}://{{ heat_cfn_external_fqdn }}:{{ heat_api_cfn_port }}/v1/waitcondition
|
||||
|
||||
heat_stack_user_role = {{ heat_stack_user_role }}
|
||||
|
||||
@ -26,14 +26,14 @@ region_name_for_services = {{ openstack_region_name }}
|
||||
{% if service_name == 'heat-api' %}
|
||||
[heat_api]
|
||||
bind_host = {{ api_interface_address }}
|
||||
bind_port = {{ heat_api_port }}
|
||||
bind_port = {{ heat_api_listen_port }}
|
||||
workers = {{ openstack_service_workers }}
|
||||
{% endif %}
|
||||
|
||||
{% if service_name == 'heat-api-cfn' %}
|
||||
[heat_api_cfn]
|
||||
bind_host = {{ api_interface_address }}
|
||||
bind_port = {{ heat_api_cfn_port }}
|
||||
bind_port = {{ heat_api_cfn_listen_port }}
|
||||
workers = {{ openstack_service_workers }}
|
||||
{% endif %}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user