Constant ALARM state means only one actions event is ever emitted

Bug #1193970 reported by Steve Baker
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
Fix Released
High
Steve Baker

Bug Description

If a watch rule goes into an ALARM state and stays in the ALARM state, only one actions event is ever emitted.

In the example where bringing up one new server isn't sufficient to reduce the load below the alarm threshold, no new servers are ever created.

Changed in heat:
assignee: nobody → Steve Baker (steve-stevebaker)
milestone: none → havana-2
importance: Undecided → High
status: New → 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/34158

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

Reviewed: https://review.openstack.org/34158
Committed: http://github.com/openstack/heat/commit/bdeb33afdc52f37c2270a72c2221b051024f3f3f
Submitter: Jenkins
Branch: master

commit bdeb33afdc52f37c2270a72c2221b051024f3f3f
Author: Steve Baker <email address hidden>
Date: Mon Jun 24 14:19:36 2013 +1200

    Emit alarm actions if a rule remains in ALARM state.

    It looks like the original intent of this edge-triggering was to
    prevent actions being emitted too frequently, causing overshoot of
    scaling resources.

    However this causes an issue when one scaling resource change is not
    enough to bring the alarm state under the threshold.

    Proper use of Period, EvaluationPeriods and Threshold should be sufficient
    to prevent scaling resource overshoot.

    Fixes bug: #1193970

    Change-Id: I5b38eb82cd1ad568fe4af77999e9d52f9eb99328

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: 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.