Periodic scaleUp/scaleDown not working in Monasca based autoscaling

Bug #1558482 reported by Rakesh H S
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Heat
New
Undecided
Unassigned

Bug Description

Used the following template:
https://github.com/openstack/heat-templates/blob/master/hot/monasca/autoscaling.yaml

After deploying the template, when the cpu load of the two servers was above 50, an extra server was spawned successfully. However, the cpu load did not decrease, and all the three servers(included the newly added) had cpu load more than 50. I was expecting a new server to be spawned, but never happened.

This is because, when a state is moved from let's say OK to ALARM, monasca will send Alarm Notification only 'once' and assumes that the service which received this notification will handle things until the ALARM state is moved back to OK.

(unlike ceilometer, wherein notifications are sent continuously till the state changes back to OK)

Rakesh H S (rh-s)
Changed in heat:
assignee: nobody → Rakesh H S (rh-s)
Rakesh H S (rh-s)
Changed in heat:
assignee: Rakesh H S (rh-s) → nobody
Rico Lin (rico-lin)
Changed in heat:
milestone: none → no-priority-tag-bugs
Revision history for this message
Doug Szumski (dszumski) wrote :

It sounds like you need to set the period to 60 seconds on the Monasca Webhook notification. It will then ping heat every 60 seconds until the alarm transitions back.

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.