Ask Your Question

heat minimum number of instances and autoscaling

asked 2015-10-07 04:39:16 -0500

reverseeng gravatar image


I have a heat script that implements an auto scaling group. I have defined a minimum of two instances and a maximum of five. After the stack is deployed I have two instances. When I put one instance unnder load I see the number of VMs increase to five. I have a few questions about the results I got with some test that are not what I expected;

  1. After the deployment I delete (not stop, but delete) one instance. I expected the heat script to create a new Vm since I specified a minimum number of two. It does not.

  2. After putting one under load I got five VMs. The four machines not having any load are under the threshold i defined to scale down. The system starts to scale down and eliminates four VMs. Two things are strange here:

  3. I expected only three since my minimum specified was two, and more surprising
  4. the VM under load got killed, I end up with a VM that does not have any load.

Anyone to comment on this. My openstack version is juno and there is no loadbalances between the VMs.

Tnx in advance for any answers.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2016-04-08 00:23:55 -0500

Qiming gravatar image

Someting smells like bugs. Well, we now have the senlin service released with Mitaka. It is a clustering service ( Requirements like this one can be easily met using senlin now.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2015-10-07 04:39:16 -0500

Seen: 240 times

Last updated: Apr 08 '16