nova/nova/notifications
Balazs Gibizer 38dbb05950 Fix sending legacy instance.update notification
The if_notifications_enabled decorator skips the execution of the
decorated function if the versioned notifications are not configured
to be emitted. The send_instance_update_notification() call was wrongly
decorated with this decorator as it not only sends versioned
notification but also send the legacy compute.instance.update
notification as well. This caused that the legacy instance.update
notification was not emitted when the notification_format config option
was set to unversioned.

As the _send_versioned_instance_update() call already has the decorator
the solution is simply to remove the decorator from the
send_instance_update_notification() call.

Closes-Bug: #1721843
Change-Id: I9904adeb3de60cff4e29f1ab3c95399bbe9ff2e7
(cherry picked from commit 0ffe03a265)
2017-10-10 13:20:34 -04:00
..
objects Add 'updated_at' field to InstancePayload in notifications 2017-07-25 19:31:21 +02:00
__init__.py Move notification related code to separate package 2016-06-08 11:32:53 +02:00
base.py Fix sending legacy instance.update notification 2017-10-10 13:20:34 -04:00