Heat Autoscaling Where is OS::Ceilometer/Aodh::Alarm

asked 2016-10-25 08:16:35 -0600

JackLin gravatar image

updated 2016-11-04 15:38:02 -0600

rbowen gravatar image

Hi! I am using Mitaka now, and want to try the autoscaling.
I followed this tutorial
but found that in my version(heat:1.0.0) there is no resource type naming "OS::Ceilometer::Alarm" or "OS::Aodh::Alarm"
So where can I found the resource type or how can I create the resource type.

Thanks a lot!

edit retag flag offensive close merge delete


There is no Heat version 1.0.0, that's the python-heatclient version.

zaneb gravatar imagezaneb ( 2017-01-23 08:25:08 -0600 )edit

4 answers

Sort by ยป oldest newest most voted

answered 2017-01-22 00:39:02 -0600

Jeffrey Guan gravatar image

The following heat version is recommended in your yaml file. heat_template_version: 2016-04-08

edit flag offensive delete link more


The available resource types are independent of the template version.

zaneb gravatar imagezaneb ( 2017-01-23 08:25:31 -0600 )edit

answered 2016-12-01 12:40:25 -0600

nvlan gravatar image

Here's the complete resource-type list: http://docs.openstack.org/developer/heat/template_guide/openstack.html (http://docs.openstack.org/developer/h...) I believe your Heat version is not quite current (should be 8.0.something).

edit flag offensive delete link more

answered 2017-01-23 08:30:32 -0600

zaneb gravatar image

If OS::Aodh::Alarm is not available it's most likely because you don't have the Aodh service registered in the Keystone service catalog. (You'll also need the python-aodhclient library available to heat-engine.)

edit flag offensive delete link more

answered 2017-01-23 10:29:06 -0600

JackLin gravatar image

Hi! Thanks for replying me.
I have found the answer of my question after tracing code.
Here is my heat source code and directory.
You can see that it use ceilometer not aodh as resources in my version which is Mitaka on CentOS.

But, In my /etc/heat/environment.d/default.yaml file

I don't know why it changed Ceilometer to Aodh in resource_registry.
After commenting out those line, OS::Ceilometer::Alarm appeared successfully.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2016-10-25 08:16:35 -0600

Seen: 1,304 times

Last updated: Jan 23 '17