Autoscaling does not respect min_size and max_size
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Heat |
Expired
|
Undecided
|
Unassigned |
Bug Description
When testing an autoscaling template I found than min_size and max_size are not respected.
In my template I have an AutoScalingGroup of web servers with min_size=1 and max_size=3
When I deploy the stack it happens to get at the beginning up to 6 web instances.
This is a devstack env running inside a big vm, so web instances get an high cpu load while they boot and trigger a high cpu alarm.
When things calm down the scale down policy resizes the web group to 3 instances instead of resizing to 1.
In the heat engine log I find the following:
http://
It seems the engine does not notice that it has to scale down two more instances.
This is my template:
http://
My devstack was pointing to master repositorties.
The template has one mysql and nfs server along with the AutoScalingGroup for the web server. Therefore after the scale down of the web server group, you would see 3 instances.