heat auto scaling template

asked 2019-11-09 15:21:23 -0600

sami 45215 gravatar image

Can you give me a simple heat template for auto scaling an instance base on CPU utilisation. I'm using openstack stein with Heat , Ceilometer and aodh . thanks,

edit retag flag offensive close merge delete

Comments

I have the strong feeling it's not possible with a simple template, or not at all. Since Stein, Ceilometer doesn't produce the cpu_util meter anymore, and Aodh doesn't work with Gnocchi's rate metrics, which are supposed to replace cpu_util and other rates.

Bernd Bausch gravatar imageBernd Bausch ( 2019-11-09 17:04:07 -0600 )edit

Thank you for the answer but i found a template and it work for me with aodh alarm and cpu_util .

sami 45215 gravatar imagesami 45215 ( 2019-11-11 16:24:45 -0600 )edit

Can you share it?

If it is too large, you can use paste.openstack.org.

Bernd Bausch gravatar imageBernd Bausch ( 2019-11-11 22:51:05 -0600 )edit

http://paste.openstack.org/show/786151/

sami 45215 gravatar imagesami 45215 ( 2019-11-14 19:37:29 -0600 )edit
2

Thanks! I am unable to try this template right now, but the alarm is based on

metric: cpu_util

which makes me wonder how this can work in Stein, where cpu_util doesn't exist anymore.

Bernd Bausch gravatar imageBernd Bausch ( 2019-11-14 21:00:30 -0600 )edit