Ask Your Question

How to retrieve updated topology after an autoscaling has been done?

asked 2015-01-15 01:03:21 -0500

chitranshi-shubham gravatar image

updated 2015-02-03 02:02:37 -0500

Hello I am using Heat (hot) Template to describe a topology and create an autoscaling group that listens to a ceilometer alarm notification to trigger an instance (Nova) creation. this changes the existing topology, I want to retrieve this updated topology for multiple HOT templates. Also note that any other resource could be added or removed. So, My question is, How to retrieve updated topology after an autoscaling has been done.?

EDIT - I recently came across this blueprint. has someone used it ? the HEAT API docs gives no info on how to use it.

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted

answered 2015-01-18 21:07:34 -0500

asalkeld gravatar image
edit flag offensive delete link more


but how do I know that the autoscaling has taken place ? does heat has a notification system ?

chitranshi-shubham gravatar imagechitranshi-shubham ( 2015-01-19 03:14:54 -0500 )edit

Heat autoscale is triggered via ceilometer alarms. When an alarm is triggered , heat will scale. You can query ceilometer for triggered alarms....

Ceilometer also supports webhooks, posting to url. When an autoscale alarm triggers you can also have another alarm that sends a post to an email server

sfcloudman gravatar imagesfcloudman ( 2015-01-20 01:14:18 -0500 )edit

@sfcloudman yes that is one solution, but my design needs to get this information from heat, is there any notification on AMQP that i can listen to ? how is heat aware of any topology change ?

chitranshi-shubham gravatar imagechitranshi-shubham ( 2015-01-21 03:46:42 -0500 )edit

answered 2015-01-16 21:27:40 -0500

Heat stack-list will list the stacks.

Heat stack-show <stackuuid> will show items in the stack.

edit flag offensive delete link more


@sfcloudman this is how we can get the resources. but how do i get the notification after an autoscaling has taken place ? how to get updated topology.?

chitranshi-shubham gravatar imagechitranshi-shubham ( 2015-01-19 03:16:18 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools



Asked: 2015-01-15 01:03:21 -0500

Seen: 377 times

Last updated: Feb 03 '15