diff --git a/ansible/roles/trove/templates/trove-taskmanager.conf.j2 b/ansible/roles/trove/templates/trove-taskmanager.conf.j2 index 1f6fff2d95..95423b0bfa 100644 --- a/ansible/roles/trove/templates/trove-taskmanager.conf.j2 +++ b/ansible/roles/trove/templates/trove-taskmanager.conf.j2 @@ -24,3 +24,11 @@ swift_url = {{ internal_protocol }}://{{ kolla_internal_fqdn }}:{{ swift_api_por [database] connection = mysql+pymysql://{{ trove_database_user }}:{{ trove_database_password }}@{{ trove_database_address }}/{{ trove_database_name }} max_retries = -1 + +[oslo_messaging_notifications] +{% if enable_ceilometer | bool %} +driver = messagingv2 +topics = 'notifications' +{% else %} +driver = noop +{% endif %} diff --git a/ansible/roles/trove/templates/trove.conf.j2 b/ansible/roles/trove/templates/trove.conf.j2 index 6c97b89ae6..08d4c54676 100644 --- a/ansible/roles/trove/templates/trove.conf.j2 +++ b/ansible/roles/trove/templates/trove.conf.j2 @@ -35,3 +35,11 @@ username = {{ trove_keystone_user }} password = {{ trove_keystone_password }} auth_url = {{ admin_protocol }}://{{ kolla_internal_fqdn }}:{{ keystone_admin_port }} auth_type = password + +[oslo_messaging_notifications] +{% if enable_ceilometer | bool %} +driver = messagingv2 +topics = 'notifications' +{% else %} +driver = noop +{% endif %}