From a9787d077f2c06ff2804e6b84c6f769d507a971f Mon Sep 17 00:00:00 2001 From: Julien Danjou Date: Tue, 2 Jul 2013 11:30:40 +0200 Subject: [PATCH] Enable all notifications update from Nova for Ceilometer This will allow Ceilometer to grab even more events about instances states changes. Change-Id: Ie28258607695caf96dcfa292cb74355aced85ccf --- lib/nova | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/nova b/lib/nova index afc540e7c6..46bc70f166 100644 --- a/lib/nova +++ b/lib/nova @@ -490,6 +490,8 @@ function create_nova_conf() { if is_service_enabled ceilometer; then iniset $NOVA_CONF DEFAULT instance_usage_audit "True" iniset $NOVA_CONF DEFAULT instance_usage_audit_period "hour" + iniset $NOVA_CONF DEFAULT notify_on_state_change "vm_and_task_state" + iniset $NOVA_CONF DEFAULT notify_on_any_change "True" iniset_multiline $NOVA_CONF DEFAULT notification_driver "nova.openstack.common.notifier.rpc_notifier" "ceilometer.compute.nova_notifier" fi