Browse Source

Merge "Update messaging notification configuration"

Zuul 5 months ago
parent
commit
7fde8d74cb
2 changed files with 4 additions and 0 deletions
  1. 3
    0
      defaults/main.yml
  2. 1
    0
      templates/tacker.conf.j2

+ 3
- 0
defaults/main.yml View File

@@ -19,6 +19,9 @@
19 19
 ## Verbosity Options
20 20
 debug: False
21 21
 
22
+# Enable/Disable Ceilometer
23
+tacker_ceilometer_enabled: False
24
+
22 25
 # Set the host which will execute the shade modules
23 26
 # for the service setup. The host must already have
24 27
 # clouds.yaml properly configured.

+ 1
- 0
templates/tacker.conf.j2 View File

@@ -110,4 +110,5 @@ openstack = {{ tacker_etc_dir }}/vim/fernet_keys
110 110
 ssl = {{ tacker_oslomsg_notify_use_ssl | bool }}
111 111
 
112 112
 [oslo_messaging_notifications]
113
+driver = {% if tacker_ceilometer_enabled %}messagingv2{% else %}noop{% endif %}
113 114
 transport_url = {{ tacker_oslomsg_notify_transport }}://{% for host in tacker_oslomsg_notify_servers.split(',') %}{{ tacker_oslomsg_notify_userid }}:{{ tacker_oslomsg_notify_password }}@{{ host }}:{{ tacker_oslomsg_notify_port }}{% if not loop.last %},{% else %}/{{ tacker_oslomsg_notify_vhost }}{% if (tacker_oslomsg_notify_use_ssl | lower) | bool %}?ssl=1{% else %}?ssl=0{% endif %}{% endif %}{% endfor %}

Loading…
Cancel
Save