Browse Source

Merge "Update messaging notification configuration"

Zuul 6 months ago
parent
commit
1769545d04
2 changed files with 4 additions and 0 deletions
  1. 3
    0
      defaults/main.yml
  2. 1
    0
      templates/magnum.conf.j2

+ 3
- 0
defaults/main.yml View File

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

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

@@ -75,6 +75,7 @@ region_name = {{ magnum_nova_service_region }}
75 75
 endpoint_type = internalURL
76 76
 
77 77
 [oslo_messaging_notifications]
78
+driver = {% if magnum_ceilometer_enabled %}messagingv2{% else %}noop{% endif %}
78 79
 transport_url = {{ magnum_oslomsg_notify_transport }}://{% for host in magnum_oslomsg_notify_servers.split(',') %}{{ magnum_oslomsg_notify_userid }}:{{ magnum_oslomsg_notify_password }}@{{ host }}:{{ magnum_oslomsg_notify_port }}{% if not loop.last %},{% else %}/{{ magnum_oslomsg_notify_vhost }}{% if magnum_oslomsg_notify_use_ssl | bool %}?ssl=1{% else %}?ssl=0{% endif %}{% endif %}{% endfor %}
79 80
 
80 81
 [oslo_messaging_rabbit]

Loading…
Cancel
Save