Set the ironic notification level

To use notifications with ironic, the notification_level
option in the [DEFAULT] section of the configuration file
must be set, we use ``info`` as a reasonable level.

Closes-Bug: #1969826

Change-Id: I38bb1e5404e917c788689a3181741022f875da06
This commit is contained in:
Christian Berendt 2022-02-12 17:40:31 +01:00 committed by Dr. Jens Harbott
parent 2c15d36fed
commit ced1e3b6db
2 changed files with 13 additions and 0 deletions

View File

@ -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 %}

View File

@ -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 <https://bugs.launchpad.net/kolla-ansible/+bug/1969826>`_
for details.