Ceilometer compute agent fails if instance's flavor don't exist anymore

Bug #1131751 reported by Julien Danjou
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ceilometer
Fix Released
High
Julien Danjou

Bug Description

013-02-22 09:19:50 29870 TRACE ceilometer.openstack.common.threadgroup File "/usr/lib/python2.7/dist-packages/ceilometer/nova_client.py", line 56, in _with_flavor
2013-02-22 09:19:50 29870 TRACE ceilometer.openstack.common.threadgroup instance.flavor['name'] = flavors[fid].name
2013-02-22 09:19:50 29870 TRACE ceilometer.openstack.common.threadgroup KeyError: u'1'

Julien Danjou (jdanjou)
Changed in ceilometer:
assignee: nobody → Julien Danjou (jdanjou)
milestone: none → grizzly-rc1
importance: Undecided → High
status: New → Confirmed
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/22689

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/22689
Committed: http://github.com/openstack/ceilometer/commit/d110715ddfea4c43fb7b8b200a250d15d7a185ba
Submitter: Jenkins
Branch: master

commit d110715ddfea4c43fb7b8b200a250d15d7a185ba
Author: Julien Danjou <email address hidden>
Date: Fri Feb 22 16:00:24 2013 +0100

    compute: fix unknown flavor handling

    In real life, it happens that old VM run with flavors that have been
    deleted. This wasn't handled properly.

    This fixes bug #1131751

    Change-Id: I11f32946394f0245f1696f29ff625b53a1a1cdb8
    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: grizzly-rc1 → 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.