Merge "Register all interesting events"
This commit is contained in:
commit
a89da29956
@ -74,9 +74,12 @@ class ComputeInstanceNotificationBase(ComputeNotificationBase):
|
|||||||
"""
|
"""
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def get_event_types():
|
def get_event_types():
|
||||||
return ['compute.instance.create.end',
|
return ['compute.instance.create.start',
|
||||||
|
'compute.instance.create.end',
|
||||||
'compute.instance.exists',
|
'compute.instance.exists',
|
||||||
|
'compute.instance.update',
|
||||||
'compute.instance.delete.start',
|
'compute.instance.delete.start',
|
||||||
|
'compute.instance.delete.end',
|
||||||
'compute.instance.finish_resize.end',
|
'compute.instance.finish_resize.end',
|
||||||
'compute.instance.resize.revert.end']
|
'compute.instance.resize.revert.end']
|
||||||
|
|
||||||
|
@ -143,6 +143,8 @@ Installing the Compute Agent
|
|||||||
# nova-compute configuration for ceilometer
|
# nova-compute configuration for ceilometer
|
||||||
instance_usage_audit=True
|
instance_usage_audit=True
|
||||||
instance_usage_audit_period=hour
|
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=nova.openstack.common.notifier.rpc_notifier
|
||||||
notification_driver=ceilometer.compute.nova_notifier
|
notification_driver=ceilometer.compute.nova_notifier
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user