trigger heat autoscale group by an other resource

asked 2016-02-22 07:19:26 -0600

Vizesnyolcas gravatar image

I have a template with an 'OS::Nova::Server' as master-node and an 'OS::Heat::AutoScalingGroup' resource as slave (min_size: 0). master node has different user-data than slaves have. I would like to trigger up/down auto scale process on slaves by watching the master node's utilization.

Is this possible?

Thanks in advance

edit retag flag offensive close merge delete

3 answers

Sort by ยป oldest newest most voted

answered 2016-02-23 15:58:18 -0600

zaneb gravatar image

updated 2016-05-19 16:08:10 -0600

Yes, you can hook up any Ceilometer alarm you like to the scaling policy, it doesn't have to be one associated with members of the group.

The scaling policy just has a webhook that alarms hit. You grab the URL with {get_attr: [my_scaling_policy, alarm_url]}. You can pass that to any Ceilometer alarm's alarm_actions and that alarm will trigger that scaling policy.

edit flag offensive delete link more


Can you give me an example, please? I've googled around for weeks but I can't find any.

Thank you!

Vizesnyolcas gravatar imageVizesnyolcas ( 2016-02-24 07:34:54 -0600 )edit

answered 2016-09-23 05:09:32 -0600

Reddeuah Raju K gravatar image

updated 2016-09-23 05:10:38 -0600

Using webhook urls you can scaleup or scaledown resources at any time. Below link explains scaleup / scaledown webhook usage. (

edit flag offensive delete link more

answered 2016-04-08 00:19:02 -0600

Qiming gravatar image

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. The scaling can be controlled in very fine granularity: You can specify the profile to use for new nodes added.

edit flag offensive delete link more

Get to know Ask OpenStack

Resources for moderators

Question Tools



Asked: 2016-02-22 07:19:26 -0600

Seen: 464 times

Last updated: Sep 23 '16