)]}'
{"templates/nova.conf.j2":[{"author":{"_account_id":1004,"name":"Mohammed Naser","email":"mnaser@vexxhost.com","username":"mnaser"},"change_message_id":"2d71cce1c4f1f080ebcc9f0d161c4a74dec3116b","unresolved":false,"context_lines":[{"line_number":77,"context_line":"{% endif %}"},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"# Notifications"},{"line_number":80,"context_line":"{% if nova_ceilometer_enabled or nova_designate_enabled %}"},{"line_number":81,"context_line":"[oslo_messaging_notifications]"},{"line_number":82,"context_line":"{% set notification_topics \u003d [] %}"},{"line_number":83,"context_line":"{% if neutron_ceilometer_enabled %}"}],"source_content_type":"text/x-jinja2","patch_set":10,"id":"dfd5e7cf_a01a8414","side":"PARENT","line":80,"range":{"start_line":80,"start_character":0,"end_line":80,"end_character":58},"updated":"2019-01-05 20:06:07.000000000","message":"Does this change not introduce the notifications always being enabled?","commit_id":"5367f3dd9c443bcf7b37480f28d2eb32c7d91e6a"},{"author":{"_account_id":1004,"name":"Mohammed Naser","email":"mnaser@vexxhost.com","username":"mnaser"},"change_message_id":"973ce325caaa9af7621143468bca62bb5ad291ef","unresolved":false,"context_lines":[{"line_number":77,"context_line":"{% endif %}"},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"# Notifications"},{"line_number":80,"context_line":"{% if nova_ceilometer_enabled or nova_designate_enabled %}"},{"line_number":81,"context_line":"[oslo_messaging_notifications]"},{"line_number":82,"context_line":"{% set notification_topics \u003d [] %}"},{"line_number":83,"context_line":"{% if neutron_ceilometer_enabled %}"}],"source_content_type":"text/x-jinja2","patch_set":10,"id":"dfd5e7cf_d9be95fe","side":"PARENT","line":80,"range":{"start_line":80,"start_character":0,"end_line":80,"end_character":58},"in_reply_to":"dfd5e7cf_597dc56c","updated":"2019-01-07 15:05:01.000000000","message":"I\u0027ve kinda just pushed up a patch to make it noop by default?\n\nhttps://review.openstack.org/#/c/628748/\n\nIt seems to be trying to connect here in a local deployment when it\u0027s not noop, so maybe we can just set it to messagingv2 if we have a valid defined transport_url?","commit_id":"5367f3dd9c443bcf7b37480f28d2eb32c7d91e6a"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"0e67eb27ed9cd1389a03cc9a325fa976c227c8b7","unresolved":false,"context_lines":[{"line_number":77,"context_line":"{% endif %}"},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"# Notifications"},{"line_number":80,"context_line":"{% if nova_ceilometer_enabled or nova_designate_enabled %}"},{"line_number":81,"context_line":"[oslo_messaging_notifications]"},{"line_number":82,"context_line":"{% set notification_topics \u003d [] %}"},{"line_number":83,"context_line":"{% if neutron_ceilometer_enabled %}"}],"source_content_type":"text/x-jinja2","patch_set":10,"id":"dfd5e7cf_597dc56c","side":"PARENT","line":80,"range":{"start_line":80,"start_character":0,"end_line":80,"end_character":58},"in_reply_to":"dfd5e7cf_7360ea33","updated":"2019-01-07 15:02:25.000000000","message":"Would it make sense to have notifications disabled by default, then only enabled in special conditions (eg: if nova_designate_enabled is true).\n\nPerhaps it would also make sense to only include the \u0027notifications\u0027 topic if nova notifications are enabled.\n\nI\u0027m thinking something like:\n\n## in defaults/main.yml\nnova_notification_topics:\n  - \"{{ (groups[\u0027ceilometer_all\u0027] is defined and groups[\u0027ceilometer_all\u0027] | length \u003e 0) | ternary(\u0027notifications\u0027, \u0027\u0027) }}\"\n  - \"{{ (nova_designate_enabled | bool) | ternary(\u0027notifications_designate\u0027, \u0027\u0027) }}\"\n\n\n## in templates/nova.conf.j2\n{% if (nova_notification_topics | reject(\u0027equalto\u0027, \u0027\u0027)) | list) | length \u003e 0 %}\ntopics \u003d {{ (nova_notification_topics | reject(\u0027equalto\u0027, \u0027\u0027)) | list) | join(\u0027,\u0027) }}\ndriver \u003d messagingv2\ntransport_url \u003d ...\n{% else %}\ndriver \u003d noop\n{% endif %}","commit_id":"5367f3dd9c443bcf7b37480f28d2eb32c7d91e6a"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"ab73074fbc3f3e270442e90049202138bcd19fea","unresolved":false,"context_lines":[{"line_number":77,"context_line":"{% endif %}"},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"# Notifications"},{"line_number":80,"context_line":"{% if nova_ceilometer_enabled or nova_designate_enabled %}"},{"line_number":81,"context_line":"[oslo_messaging_notifications]"},{"line_number":82,"context_line":"{% set notification_topics \u003d [] %}"},{"line_number":83,"context_line":"{% if neutron_ceilometer_enabled %}"}],"source_content_type":"text/x-jinja2","patch_set":10,"id":"dfd5e7cf_ff96e294","side":"PARENT","line":80,"range":{"start_line":80,"start_character":0,"end_line":80,"end_character":58},"in_reply_to":"dfd5e7cf_a01a8414","updated":"2019-01-07 08:58:40.000000000","message":"IIRC from previous discussions, notifications are actually always enabled - if we don\u0027t have the entries in the conf file, then the defaults in the service implement config options anyway. I think we may, however, need to work out how we implement some sort of \u0027none\u0027 option assuming there is such a thing.","commit_id":"5367f3dd9c443bcf7b37480f28d2eb32c7d91e6a"},{"author":{"_account_id":6816,"name":"Jesse Pretorius","email":"jesse@odyssey4.me","username":"jesse-pretorius"},"change_message_id":"6a3d3b5d32b63c7542c40eb0b4a975ef053719b0","unresolved":false,"context_lines":[{"line_number":77,"context_line":"{% endif %}"},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"# Notifications"},{"line_number":80,"context_line":"{% if nova_ceilometer_enabled or nova_designate_enabled %}"},{"line_number":81,"context_line":"[oslo_messaging_notifications]"},{"line_number":82,"context_line":"{% set notification_topics \u003d [] %}"},{"line_number":83,"context_line":"{% if neutron_ceilometer_enabled %}"}],"source_content_type":"text/x-jinja2","patch_set":10,"id":"dfd5e7cf_5434ac4a","side":"PARENT","line":80,"range":{"start_line":80,"start_character":0,"end_line":80,"end_character":58},"in_reply_to":"dfd5e7cf_d9be95fe","updated":"2019-01-07 15:57:03.000000000","message":"How do we determine whether we have a valid transport URL? I\u0027ve proposed https://review.openstack.org/629005 - let\u0027s continue discussion there.","commit_id":"5367f3dd9c443bcf7b37480f28d2eb32c7d91e6a"},{"author":{"_account_id":20523,"name":"Andy Smith","email":"ansmith@redhat.com","username":"ajssmith"},"change_message_id":"c5a6fe3a220e070c85b8520f136f105c7b91dc31","unresolved":false,"context_lines":[{"line_number":77,"context_line":"{% endif %}"},{"line_number":78,"context_line":""},{"line_number":79,"context_line":"# Notifications"},{"line_number":80,"context_line":"{% if nova_ceilometer_enabled or nova_designate_enabled %}"},{"line_number":81,"context_line":"[oslo_messaging_notifications]"},{"line_number":82,"context_line":"{% set notification_topics \u003d [] %}"},{"line_number":83,"context_line":"{% if neutron_ceilometer_enabled %}"}],"source_content_type":"text/x-jinja2","patch_set":10,"id":"dfd5e7cf_7360ea33","side":"PARENT","line":80,"range":{"start_line":80,"start_character":0,"end_line":80,"end_character":58},"in_reply_to":"dfd5e7cf_ff96e294","updated":"2019-01-07 14:08:17.000000000","message":"The none option would be to conditionally set the \u0027driver\u0027 option to \u0027noop\u0027 instead of \u0027messagingv2\u0027.","commit_id":"5367f3dd9c443bcf7b37480f28d2eb32c7d91e6a"}]}
