Add searchlight notification driver condition
Add condition to glance-api conf to update oslo_messaging_notifications/driver to searchlight required value if searchlight is listening glance. Change-Id: Id7bd0c1d9270ef9442cc04c3db218e380a69bf9b
This commit is contained in:
parent
15016778ac
commit
d6e70a0692
|
@ -63,4 +63,8 @@ disk_formats = raw
|
|||
{% endif %}
|
||||
|
||||
[oslo_messaging_notifications]
|
||||
{% if searchlight is defined and searchlight.service.glance %}
|
||||
driver = {{ searchlight.notification_driver }}
|
||||
{% else %}
|
||||
driver = noop
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in New Issue