Unable to load previous MongoDB data

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

Bug Description

Some MongoDB data might miss the counter_unit field, therefore they cannot be loaded because calling Sample(**s) in impl_mongodb make things fail. They should be a default value in the empty value of (at least) counter_unit of models.Sample.

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

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

Reviewed: https://review.openstack.org/36081
Committed: http://github.com/openstack/ceilometer/commit/9adf74094f9dd37cbeca25c2ec48701e7ce396e3
Submitter: Jenkins
Branch: master

commit 9adf74094f9dd37cbeca25c2ec48701e7ce396e3
Author: Julien Danjou <email address hidden>
Date: Mon Jul 8 15:27:00 2013 +0200

    Fix MongoDB backward compat wrt units

    Fixes: bug#1193908

    Change-Id: I9f4f2ec6cbec424279149b82704f88cad9c740b8
    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.