WatchRule initial state should be NODATA not NORMAL

Bug #1102446 reported by Steven Hardy
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
Medium
Steven Hardy
Grizzly
Fix Released
Medium
Steven Hardy

Bug Description

According to AWS CloudWatch documentation, Alarm state after initial creation is set to INSUFFICIENT_DATA, but we currently set it to OK without doing any evaluation of the rule.

We should set the rule to NODATA, then the transition from the inital NODATA state to NORMAL (OK) can be detected correctly (e.g so OKActions can be correctly interpreted for AWS::CloudWatch::Alarm)

http://docs.aws.amazon.com/AmazonCloudWatch/latest/DeveloperGuide/AlarmThatSendsEmail.html

http://docs.aws.amazon.com/AWSCloudFormation/latest/UserGuide/aws-properties-cw-alarm.html

Steven Hardy (shardy)
Changed in heat:
status: New → Triaged
importance: Undecided → Medium
assignee: nobody → Steven Hardy (shardy)
milestone: none → grizzly-3
Steven Hardy (shardy)
Changed in heat:
status: Triaged → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to heat (master)

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

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

Reviewed: https://review.openstack.org/20238
Committed: http://github.com/openstack/heat/commit/039c66b11ad817cf70233866de91b42208261bda
Submitter: Jenkins
Branch: master

commit 039c66b11ad817cf70233866de91b42208261bda
Author: Steven Hardy <email address hidden>
Date: Tue Jan 22 13:45:11 2013 +0000

    heat engine : make WatchRule initial state NODATA

    Initial state should be NODATA not NORMAL, as we've not
    done any metric evaluation until the first evaluation
    period has elapsed

    fixes bug 1102446

    Change-Id: Ic41df29c00a5df2f3d161bc1b1d054d816c5afa5
    Signed-off-by: Steven Hardy <email address hidden>

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