diff --git a/ansible/roles/ironic/templates/ironic.conf.j2 b/ansible/roles/ironic/templates/ironic.conf.j2 index 2c78dd8ad2..0f784626aa 100644 --- a/ansible/roles/ironic/templates/ironic.conf.j2 +++ b/ansible/roles/ironic/templates/ironic.conf.j2 @@ -14,6 +14,10 @@ pin_release_version = {{ pin_release_version }} my_ip = {{ api_interface_address }} +{% if ironic_enabled_notification_topics %} +notification_level = info +{% endif %} + [oslo_messaging_notifications] transport_url = {{ notify_transport_url }} {% if ironic_enabled_notification_topics %} diff --git a/releasenotes/notes/ironic-notification-level-a23db99c66c4b752.yaml b/releasenotes/notes/ironic-notification-level-a23db99c66c4b752.yaml new file mode 100644 index 0000000000..5711f2bde5 --- /dev/null +++ b/releasenotes/notes/ironic-notification-level-a23db99c66c4b752.yaml @@ -0,0 +1,9 @@ +--- +fixes: + - | + If ``ironic_enabled_notification_topics`` is set to ``true``, + ``ironic_notification_level`` is set to ``info`` in order to ensure + that Ironic actually sends out notifications. + + See `bug 1969826 `_ + for details.