Skip to content
Snippets Groups Projects
Commit 1ab0c16b authored by Eduardo Gonzalez's avatar Eduardo Gonzalez
Browse files

Fix senlin workers and events

Remove deprecation warning about service_token_roles_required
Set number of engine workers to avoid too many resources consuming.
Senlin can poll events from ceilometer when is enabled.

Closes-Bug: #1679697
Change-Id: I8b13d1f492344ca0b65020eb56f0e016c6bb6369
parent 57fb2e73
No related branches found
No related tags found
No related merge requests found
......@@ -3,6 +3,10 @@ debug = {{ senlin_logging_debug }}
log_dir = /var/log/kolla/senlin
{% if service_name == 'senlin-engine' %}
num_engine_workers = {{ openstack_service_workers }}
{% endif %}
transport_url = rabbit://{% for host in groups['rabbitmq'] %}{{ rabbitmq_user }}:{{ rabbitmq_password }}@{{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }}:{{ rabbitmq_port }}{% if not loop.last %},{% endif %}{% endfor %}
{% if service_name == 'senlin-api' %}
......@@ -33,10 +37,16 @@ user_domain_id = default
project_name = service
username = {{ senlin_keystone_user }}
password = {{ senlin_keystone_password }}
service_token_roles_required = False
memcache_security_strategy = ENCRYPT
memcache_secret_key = {{ memcache_secret_key }}
memcached_servers = {% for host in groups['memcached'] %}{{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }}:{{ memcached_port }}{% if not loop.last %},{% endif %}{% endfor %}
[oslo_messaging_notifications]
{% if enable_ceilometer | bool %}
driver = messagingv2
topics = 'notifications'
{% else %}
driver = noop
{% endif %}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment