Notification needed for searchlight
Needs to enable notifications for services when enabling searchlight [1][2][3][4] [1] http://docs.openstack.org/developer/searchlight/plugins/cinder.html#cinder-conf [2] http://docs.openstack.org/developer/searchlight/plugins/glance.html#glance-configuration [3] http://docs.openstack.org/developer/searchlight/plugins/neutron.html#neutron-configuration [4] http://docs.openstack.org/developer/searchlight/plugins/nova.html#nova-configuration Change-Id: Id2167d901ac3d65599e54feb1b2d1818d2a633c9 Closes-bug: #1643393
This commit is contained in:
parent
62c1b4f89c
commit
0af48d30a1
@ -45,7 +45,7 @@ auth_strategy = keystone
|
||||
transport_url = rabbit://{% for host in groups['rabbitmq'] %}{{ rabbitmq_user }}:{{ rabbitmq_password }}@{% if orchestration_engine == 'KUBERNETES' %}rabbitmq{% else %}{{ hostvars[host]['ansible_' + hostvars[host]['api_interface']]['ipv4']['address'] }}{% endif %}:{{ rabbitmq_port }}{% if not loop.last %},{% endif %}{% endfor %}
|
||||
|
||||
[oslo_messaging_notifications]
|
||||
{% if enable_ceilometer | bool %}
|
||||
{% if enable_ceilometer | bool or enable_searchlight | bool %}
|
||||
driver = messagingv2
|
||||
{% endif %}
|
||||
|
||||
|
@ -71,7 +71,7 @@ filesystem_store_datadir = /var/lib/glance/images/
|
||||
{% endif %}
|
||||
|
||||
[oslo_messaging_notifications]
|
||||
{% if enable_ceilometer | bool %}
|
||||
{% if enable_ceilometer | bool or enable_searchlight | bool %}
|
||||
driver = messagingv2
|
||||
{% else %}
|
||||
driver = noop
|
||||
|
@ -45,7 +45,7 @@ memcached_servers = {% for host in groups['memcached'] %}{{ hostvars[host]['ansi
|
||||
flavor = keystone
|
||||
|
||||
[oslo_messaging_notifications]
|
||||
{% if enable_ceilometer | bool %}
|
||||
{% if enable_ceilometer | bool or enable_searchlight | bool %}
|
||||
driver = messagingv2
|
||||
{% else %}
|
||||
driver = noop
|
||||
|
@ -91,7 +91,7 @@ memcached_servers = {% for host in groups['memcached'] %}{% if orchestration_eng
|
||||
{% endif %}
|
||||
|
||||
[oslo_messaging_notifications]
|
||||
{% if enable_ceilometer | bool %}
|
||||
{% if enable_ceilometer | bool or enable_searchlight | bool %}
|
||||
driver = messagingv2
|
||||
topics = notifications
|
||||
{% else %}
|
||||
|
@ -52,7 +52,7 @@ compute_driver = libvirt.LibvirtDriver
|
||||
# Though my_ip is not used directly, lots of other variables use $my_ip
|
||||
my_ip = {{ api_interface_address }}
|
||||
|
||||
{% if enable_ceilometer | bool %}
|
||||
{% if enable_ceilometer | bool or enable_searchlight | bool %}
|
||||
instance_usage_audit = True
|
||||
instance_usage_audit_period = hour
|
||||
notify_on_state_change = vm_and_task_state
|
||||
@ -187,7 +187,7 @@ rbd_secret_uuid = {{ rbd_secret_uuid }}
|
||||
compute = auto
|
||||
|
||||
[oslo_messaging_notifications]
|
||||
{% if enable_ceilometer | bool %}
|
||||
{% if enable_ceilometer | bool or enable_searchlight | bool %}
|
||||
driver = messagingv2
|
||||
topics = notifications
|
||||
{% else %}
|
||||
|
Loading…
Reference in New Issue
Block a user