Revision history [back]

click to hide/show revision 1
initial version

Make a post after heat scaleUp and scaleDown

Is there a way to make a REST call to an external API to notify that a VM has been successfully scaled up or down at a Heat template?

We have to do some external configurations to inventory, automation and so on, but it doesn´t seem to have a clear way of doing this.

I thought of making a webhook in the ceilometer alarm to an external broker that would identify the scaling process and make the call to an alarm_url to do the actual scaling in heat, but that seems a little too complicated to just do something simple.

If I could make a REST call to the external broker after the scaling process finished with the new instance information, it would be a lot better. If I could make one befor and after, it would be even better.