listen for instance resize events

Bug #1057571 reported by Eoghan Glynn
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ceilometer
Fix Released
Wishlist
Eoghan Glynn

Bug Description

When an instance is resized, the RAM and/or cores usage may change.

We will catch the resource usage change eventually in the compute.instance.exists notification, however this will be delayed by up to periodic_interval seconds (defaults to 60s, but could be configured higher).

However we could eagerly detect the change by catching 'compute.instance.finish_resize.end' and corresponding confirm/revert notifications.

Tags: effort-s
Eoghan Glynn (eglynn)
Changed in ceilometer:
assignee: nobody → Eoghan Glynn (eglynn)
Julien Danjou (jdanjou)
Changed in ceilometer:
status: New → Confirmed
importance: Undecided → Wishlist
Julien Danjou (jdanjou)
tags: added: effort-s
Changed in ceilometer:
assignee: Eoghan Glynn (eglynn) → nobody
Eoghan Glynn (eglynn)
Changed in ceilometer:
assignee: nobody → Eoghan Glynn (eglynn)
Eoghan Glynn (eglynn)
Changed in ceilometer:
status: Confirmed → In Progress
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/18966

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to ceilometer (master)

Reviewed: https://review.openstack.org/18966
Committed: http://github.com/openstack/ceilometer/commit/444978f16aca246776fcdbfa521fa1e6f689d0dd
Submitter: Jenkins
Branch: master

commit 444978f16aca246776fcdbfa521fa1e6f689d0dd
Author: Eoghan Glynn <email address hidden>
Date: Fri Jan 4 16:17:18 2013 +0000

    Handle finish and revert resize notifications.

    Fixes bug 1057571

    Ensure that the modified instance type is reflected in the
    metering data in a more timely fashion than would be allowed
    by the default pollster frequency, or the cadance of the
    compute.instance.exists notifications.

    Change-Id: I34f01eebddfe9732d5bf69c331a0d8a63a8025ca

Changed in ceilometer:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in ceilometer:
milestone: none → grizzly-2
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in ceilometer:
milestone: grizzly-2 → 2013.1
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.