Ask Your Question

Sending Heat Scale URLs to Instances

asked 2015-07-20 13:16:48 -0600

rpga95 gravatar image

updated 2015-07-28 12:34:50 -0600


I have set up Heat with the autoscaling capability, and I'm wondering how I would go about sending the scaleup and scaledown URLs to the instances for inside-the-os alarming. In order to create the autoscalinggroup, you must have all parameters for the instance template. In order to have all parameters, you must have the scale URL webhooks to pass to the instance template. And in order to make the scalingpolicies, you must have the autoscalinggroup ID. I don't see a way to do this via the template without having circular dependencies. Any thoughts?



I've found a way around this apparent issue. I created some scripts to go to the REST API and pull the URLs from my stack via the output fields. This would be a script injected to the instances by Heat and run continuously. Here's my next problem, if you're following this: Personality Limit for File Injection by Heat

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2015-07-28 13:57:45 -0600

zaneb gravatar image

Having the members of the scaled group scale themselves sounds like a fairly dangerous approach anyway. The intended way to do this is to push statistics from the members into Ceilometer (or another monitoring system of your choice) and have that generate the alarms that trigger the scaling policies.

Note that the workaround you're using is inadvisable on security grounds, as it requires you to put the stack owner's credentials on the deployed servers to allow them to access Heat.

edit flag offensive delete link more


That's definitely a more secure and easier to manage option. Thanks for your help.


rpga95 gravatar imagerpga95 ( 2015-07-28 14:39:13 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2015-07-20 13:16:48 -0600

Seen: 271 times

Last updated: Jul 28 '15