<div dir="ltr"><div><div>Ceilometer mixes notifications and pollsters, so instance sample cannot represents how many instances (sample-list nor statistics), <br></div>when we specify a time range in API query, the count of samples is not precise to real situation, it is ether less (due to potential lag when time range is precise) or more (due to redundant when time range has been extended a bit to avoid lag)<br><br></div>IMHO, count of resource should be queried from specific service's API<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 28, 2014 at 12:00 AM, Clint Byrum <span dir="ltr"><<a href="mailto:clint@fewbar.com" target="_blank">clint@fewbar.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Excerpts from Daniel Comnea's message of 2014-10-27 04:16:32 -0700:<br>
<span class="">> Yes i did but if you look at this example<br>
><br>
> <a href="https://github.com/openstack/heat-templates/blob/master/hot/autoscaling.yaml" target="_blank">https://github.com/openstack/heat-templates/blob/master/hot/autoscaling.yaml</a><br>
><br>
><br>
> the flow is simple:<br>
><br>
> CPU alarm in Ceilometer triggers the "type: OS::Heat::ScalingPolicy" which<br>
> then triggers the "type: OS::Heat::AutoScalingGroup"<br>
><br>
><br>
><br>
> Now what i want is to be able to always maintain a min number of instances<br>
> in my Group, if is min_size been reached than trigger HEAT to spun a new<br>
> one to be min_size + n<br>
><br>
<br>
</span>Sounds like you're expecting Heat to respond to the stop/delete of one<br>
of the instances in the group.<br>
<br>
It doesn't do that.. yet. There's a very large scale effort under way<br>
called 'convergence' that will add such a capability to Heat (by having<br>
Heat try to assert that reality should match intention). Until then it<br>
doesn't support this use case very well.<br>
<div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
OpenStack-dev mailing list<br>
<a href="mailto:OpenStack-dev@lists.openstack.org">OpenStack-dev@lists.openstack.org</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><div dir="ltr"><div>blog: <a href="http://zqfan.github.com" target="_blank">zqfan.github.com</a><br></div>git: <a href="http://github.com/zqfan" target="_blank">github.com/zqfan</a><br></div>
</div>