evaluation_periods are incorrectly handled in db2 engine

Bug #1281181 reported by Balazs Gibizer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Ceilometer
Fix Released
Undecided
Balazs Gibizer
Havana
Won't Fix
Undecided
Balazs Gibizer

Bug Description

DB2 storage engine uses evaluation_period instead of evaluation_periods at https://github.com/openstack/ceilometer/blob/master/ceilometer/storage/impl_db2.py#L640
It should be fixed to match with the AlarmThresholdRule type on the API.

Revision history for this message
Balazs Gibizer (balazs-gibizer) wrote :
Changed in ceilometer:
assignee: nobody → Balazs Gibizer (balazs-gibizer)
tags: added: havana-backport-potential
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/74100

Changed in ceilometer:
status: New → In Progress
Revision history for this message
Balazs Gibizer (balazs-gibizer) wrote :

The bug was actually fixed in this commit
https://review.openstack.org/#/c/74462/

So https://review.openstack.org/74100 only adds a test case to cover the problem.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to ceilometer (stable/havana)

Fix proposed to branch: stable/havana
Review: https://review.openstack.org/81014

Revision history for this message
gordon chung (chungg) wrote :

as mentioned, https://review.openstack.org/#/c/74462/ fixes this in master

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