Merge "Register all interesting events"

This commit is contained in:
Jenkins 2013-07-08 15:09:28 +00:00 committed by Gerrit Code Review
commit a89da29956
2 changed files with 6 additions and 1 deletions

View File

@ -74,9 +74,12 @@ class ComputeInstanceNotificationBase(ComputeNotificationBase):
"""
@staticmethod
def get_event_types():
return ['compute.instance.create.end',
return ['compute.instance.create.start',
'compute.instance.create.end',
'compute.instance.exists',
'compute.instance.update',
'compute.instance.delete.start',
'compute.instance.delete.end',
'compute.instance.finish_resize.end',
'compute.instance.resize.revert.end']

View File

@ -143,6 +143,8 @@ Installing the Compute Agent
# nova-compute configuration for ceilometer
instance_usage_audit=True
instance_usage_audit_period=hour
notify_on_state_change=vm_and_task_state
notify_on_any_change=True
notification_driver=nova.openstack.common.notifier.rpc_notifier
notification_driver=ceilometer.compute.nova_notifier