[openstack-dev] [heat][ceilometer]: scale up/ down based on number of instances in a group
Clint Byrum
clint at fewbar.com
Mon Oct 27 16:00:42 UTC 2014
Excerpts from Daniel Comnea's message of 2014-10-27 04:16:32 -0700:
> Yes i did but if you look at this example
>
> https://github.com/openstack/heat-templates/blob/master/hot/autoscaling.yaml
>
>
> the flow is simple:
>
> CPU alarm in Ceilometer triggers the "type: OS::Heat::ScalingPolicy" which
> then triggers the "type: OS::Heat::AutoScalingGroup"
>
>
>
> Now what i want is to be able to always maintain a min number of instances
> in my Group, if is min_size been reached than trigger HEAT to spun a new
> one to be min_size + n
>
Sounds like you're expecting Heat to respond to the stop/delete of one
of the instances in the group.
It doesn't do that.. yet. There's a very large scale effort under way
called 'convergence' that will add such a capability to Heat (by having
Heat try to assert that reality should match intention). Until then it
doesn't support this use case very well.
More information about the OpenStack-dev
mailing list