Nova generates versioned_notifications but no one consume

Nova generates versioned_notifications but no one consume even
ceilometer. versioned_notification queues will continuously
increase if there is no consumer.

https://docs.openstack.org/nova/latest/configuration/config.html#notifications
https://docs.openstack.org/nova/latest/reference/notifications.html
We can set notification_format to 'unversioned'
in the nova.conf

Change-Id: Id990633fb1816b3506778ccc0a9ae76bcb588e86
Closes-Bug: #1803019
This commit is contained in:
KimMinSik 2018-11-13 11:39:57 +09:00
parent 284341bf24
commit 822f19fc3d
2 changed files with 9 additions and 1 deletions

View File

@ -22,6 +22,8 @@ nova_designate_enabled: False
nova_notifications_designate: notifications_designate
# Enable/Disable ceilometer configurations
nova_ceilometer_enabled: False
# Enable/Disable nova versioned notification
nova_versioned_notification_enabled: False
## Verbosity Options
debug: False

View File

@ -73,7 +73,6 @@ force_config_drive = {{ nova_force_config_drive }}
{% if nova_ceilometer_enabled %}
instance_usage_audit = True
instance_usage_audit_period = hour
notify_on_state_change = vm_and_task_state
{% endif %}
# Notifications
@ -168,6 +167,13 @@ service_metadata_proxy = {{ nova_metadata_proxy_enabled }}
ovs_bridge = {{ nova_network_services[nova_network_type]['ovs_bridge'] }}
{% endif %}
{% if nova_ceilometer_enabled %}
[notifications]
notify_on_state_change = vm_and_task_state
notification_format = {% if nova_versioned_notification_enabled %}both{% else %}unversioned{% endif %}
{% endif %}
{% if nova_placement_service_enabled | bool %}
# Placement
[placement]