diff --git a/ceilometer/compute/notifications.py b/ceilometer/compute/notifications.py index cac9f59bc..ed9c97662 100644 --- a/ceilometer/compute/notifications.py +++ b/ceilometer/compute/notifications.py @@ -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'] diff --git a/doc/source/install/manual.rst b/doc/source/install/manual.rst index bcb76fe3b..ade08acdf 100644 --- a/doc/source/install/manual.rst +++ b/doc/source/install/manual.rst @@ -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