Ask Your Question
1

Autoscaling remove oldest or newest

asked 2014-11-02 00:10:10 -0600

job gravatar image

updated 2014-11-02 00:13:56 -0600

In devstack/stable/juno, hot/autoscaling.yaml, the behavior of autoscaling is to remove the oldest instances. Is there a way to do the opposite when shrinking? Are there general considerations for removing oldest vs newest?

Thanks,

edit retag flag offensive close merge delete

Comments

Well, we now have the senlin service released with Mitaka. It is a clustering service (http://wiki.openstack.org/wiki/senlin). Requirements like this one can be easily met using senlin now. Before deleting nodes from a cluster, you have a choice to do an election.

Qiming gravatar imageQiming ( 2016-04-08 00:09:02 -0600 )edit

1 answer

Sort by ยป oldest newest most voted
1

answered 2014-11-04 21:33:28 -0600

Gobin Sougrakpam gravatar image

updated 2014-11-04 21:34:35 -0600

The feature is currently not there. You can watch this blueprint: https://blueprints.launchpad.net/heat/+spec/autoscaling-parameters (https://blueprints.launchpad.net/heat...)

I believe this is the patch submitted for the feature: https://review.openstack.org/#/c/110379/

Cheers.

edit flag offensive delete link more

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

2 followers

Stats

Asked: 2014-11-02 00:10:10 -0600

Seen: 143 times

Last updated: Nov 04 '14