Ceilometer should record nova instances state

Bug #1187843 reported by François Charlier
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ceilometer
Fix Released
Medium
Julien Danjou

Bug Description

Currently ceilometer does not record nova instances state (vm_state, power_state, task_state).

A cloud owner might want to have different rates given the instance state (when it is running, paused, suspended or errored for example).

I suggest that:

* The state of the instance should be inserted in instance metadata when receiving events

* All events should be recorded and let the owner the responsibility to choose which instance states are interesting to him

* The documentation should recommend enabling 'notify_on_any_change' and 'notify_on_state_change' in nova.conf

Julien Danjou (jdanjou)
Changed in ceilometer:
importance: Undecided → Medium
assignee: nobody → Julien Danjou (jdanjou)
status: New → Confirmed
milestone: none → havana-2
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ceilometer (master)

Fix proposed to branch: master
Review: https://review.openstack.org/33057

Changed in ceilometer:
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ceilometer (master)

Reviewed: https://review.openstack.org/33057
Committed: http://github.com/openstack/ceilometer/commit/00531f9de040f43c643dd843ada986cfbcf91e87
Submitter: Jenkins
Branch: master

commit 00531f9de040f43c643dd843ada986cfbcf91e87
Author: Julien Danjou <email address hidden>
Date: Fri Jun 14 13:51:39 2013 +0200

    Unify Counter generation from notifications

    This will make sure we don't lose any metadata information from
    notifications into the Counter/samples we publish.

    This is part of fixing bug #1187833 and bug #1187843

    Change-Id: I315581907be1dcec33f43a5d5fd7b7876a7889f6
    Signed-off-by: Julien Danjou <email address hidden>

Changed in ceilometer:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in ceilometer:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in ceilometer:
milestone: havana-2 → 2013.2
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.