Merge "Have glance notifications work like the other projects"
This commit is contained in:
commit
c3987096e5
@ -23,6 +23,14 @@ glance_services:
|
|||||||
- "/etc/localtime:/etc/localtime:ro"
|
- "/etc/localtime:/etc/localtime:ro"
|
||||||
- "kolla_logs:/var/log/kolla/"
|
- "kolla_logs:/var/log/kolla/"
|
||||||
|
|
||||||
|
####################
|
||||||
|
# Notification
|
||||||
|
####################
|
||||||
|
glance_notification_topics:
|
||||||
|
- name: notifications
|
||||||
|
enabled: "{{ enable_ceilometer | bool or enable_searchlight | bool }}"
|
||||||
|
|
||||||
|
glance_enabled_notification_topics: "{{ glance_notification_topics | selectattr('enabled', 'equalto', true) | list }}"
|
||||||
|
|
||||||
####################
|
####################
|
||||||
# Ceph
|
# Ceph
|
||||||
|
@ -83,8 +83,9 @@ vmware_insecure = True
|
|||||||
|
|
||||||
[oslo_messaging_notifications]
|
[oslo_messaging_notifications]
|
||||||
transport_url = {{ notify_transport_url }}
|
transport_url = {{ notify_transport_url }}
|
||||||
{% if enable_ceilometer | bool or enable_searchlight | bool %}
|
{% if glance_enabled_notification_topics %}
|
||||||
driver = messagingv2
|
driver = messagingv2
|
||||||
|
topics = {{ glance_enabled_notification_topics | map(attribute='name') | join(',') }}
|
||||||
{% else %}
|
{% else %}
|
||||||
driver = noop
|
driver = noop
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
@ -33,8 +33,9 @@ flavor = keystone
|
|||||||
|
|
||||||
[oslo_messaging_notifications]
|
[oslo_messaging_notifications]
|
||||||
transport_url = {{ notify_transport_url }}
|
transport_url = {{ notify_transport_url }}
|
||||||
{% if enable_ceilometer | bool or enable_searchlight | bool %}
|
{% if glance_enabled_notification_topics %}
|
||||||
driver = messagingv2
|
driver = messagingv2
|
||||||
|
topics = {{ glance_enabled_notification_topics | map(attribute='name') | join(',') }}
|
||||||
{% else %}
|
{% else %}
|
||||||
driver = noop
|
driver = noop
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user