diff --git a/ceilometer/volume/notifications.py b/ceilometer/volume/notifications.py index 02c2bd8d5..ea138ae6c 100644 --- a/ceilometer/volume/notifications.py +++ b/ceilometer/volume/notifications.py @@ -38,7 +38,7 @@ class _Base(plugin.NotificationBase): def get_event_types(): return ['volume.exists', 'volume.create.end', - 'volume.delete.end', + 'volume.delete.start', ] diff --git a/tests/volume/test_notifications.py b/tests/volume/test_notifications.py index 5c93478c4..ead9b952e 100644 --- a/tests/volume/test_notifications.py +++ b/tests/volume/test_notifications.py @@ -37,7 +37,7 @@ NOTIFICATION_VOLUME_DELETE = { u'_context_roles': [u'Member', u'admin'], u'_context_request_id': u'req-6ba8ccb4-1093-4a39-b029-adfaa3fc7ceb', u'_context_quota_class': None, - u'event_type': u'volume.delete.end', + u'event_type': u'volume.delete.start', u'timestamp': u'2012-09-21 10:24:13.168630', u'message_id': u'f6e6bc1f-fcd5-41e1-9a86-da7d024f03d9', u'_context_auth_token': u'277c6899de8a4b3d999f3e2e4c0915ff',