Update heat.conf template for mitaka compatability
The format of keystone_authtoken section changed for Mitaka. This change creates a new template for mitaka and above. Update amulet tests to requests 2G of memory for heat instance as CI continually failed due to memory allocation issues. Change-Id: Ie2670f3b68fec29867d510a50a2c5dd4b31836ab Partial-Bug: 1571347
This commit is contained in:
parent
6057e00537
commit
d8c94406f4
60
templates/mitaka/heat.conf
Normal file
60
templates/mitaka/heat.conf
Normal file
@ -0,0 +1,60 @@
|
|||||||
|
[DEFAULT]
|
||||||
|
use_syslog = {{ use_syslog }}
|
||||||
|
debug = {{ debug }}
|
||||||
|
verbose = {{ verbose }}
|
||||||
|
log_dir = /var/log/heat
|
||||||
|
instance_user = {{ instance_user }}
|
||||||
|
instance_driver = heat.engine.nova
|
||||||
|
plugin_dirs = /usr/lib64/heat,/usr/lib/heat
|
||||||
|
environment_dir = /etc/heat/environment.d
|
||||||
|
host = heat
|
||||||
|
auth_encryption_key = {{ encryption_key }}
|
||||||
|
deferred_auth_method = trusts
|
||||||
|
stack_domain_admin = heat_domain_admin
|
||||||
|
stack_domain_admin_password = {{ heat_domain_admin_passwd }}
|
||||||
|
stack_user_domain_name = heat
|
||||||
|
|
||||||
|
{% if auth_host -%}
|
||||||
|
{% include "section-keystone-authtoken-mitaka" %}
|
||||||
|
|
||||||
|
[trustee]
|
||||||
|
auth_plugin = password
|
||||||
|
auth_url = {{ auth_protocol }}://{{ auth_host }}:{{ auth_port }}
|
||||||
|
username = {{ admin_user }}
|
||||||
|
password = {{ admin_password }}
|
||||||
|
user_domain_name = default
|
||||||
|
|
||||||
|
[clients_keystone]
|
||||||
|
auth_uri = {{ service_protocol }}://{{ service_host }}:{{ service_port }}
|
||||||
|
|
||||||
|
[ec2_authtoken]
|
||||||
|
auth_uri = {{service_protocol }}://{{ service_host }}:{{ service_port }}
|
||||||
|
keystone_ec2_uri = {{service_protocol }}://{{ service_host }}:{{ service_port }}/v2.0/ec2tokens
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{% if database_host -%}
|
||||||
|
[database]
|
||||||
|
connection = {{ database_type }}://{{ database_user }}:{{ database_password }}@{{ database_host }}/{{ database }}{% if database_ssl_ca %}?ssl_ca={{ database_ssl_ca }}{% if database_ssl_cert %}&ssl_cert={{ database_ssl_cert }}&ssl_key={{ database_ssl_key }}{% endif %}{% endif %}
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
[paste_deploy]
|
||||||
|
api_paste_config=/etc/heat/api-paste.ini
|
||||||
|
|
||||||
|
[heat_api]
|
||||||
|
bind_host = {{ bind_host }}
|
||||||
|
{% if api_listen_port -%}
|
||||||
|
bind_port={{ api_listen_port }}
|
||||||
|
{% else -%}
|
||||||
|
bind_port=8004
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
[heat_api_cfn]
|
||||||
|
bind_host = {{ bind_host }}
|
||||||
|
{% if api_cfn_listen_port -%}
|
||||||
|
bind_port={{ api_cfn_listen_port }}
|
||||||
|
{% else -%}
|
||||||
|
bind_port=8000
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
|
{% include "section-rabbitmq-oslo" %}
|
||||||
|
|
@ -54,7 +54,7 @@ class HeatBasicDeployment(OpenStackAmuletDeployment):
|
|||||||
and the rest of the service are from lp branches that are
|
and the rest of the service are from lp branches that are
|
||||||
compatible with the local charm (e.g. stable or next).
|
compatible with the local charm (e.g. stable or next).
|
||||||
"""
|
"""
|
||||||
this_service = {'name': 'heat'}
|
this_service = {'name': 'heat', 'constraints': {'mem': '2G'}}
|
||||||
other_services = [{'name': 'keystone'},
|
other_services = [{'name': 'keystone'},
|
||||||
{'name': 'rabbitmq-server'},
|
{'name': 'rabbitmq-server'},
|
||||||
{'name': 'mysql'},
|
{'name': 'mysql'},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user