Ask Your Question
0

How does Heat choose a server to remove on scale down?

asked 2018-01-31 13:24:04 -0500

zaneb gravatar image

When an Autoscaling group is scaled down in Heat, how does Heat decide which member(s) of the group get removed?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2018-01-31 13:26:12 -0500

zaneb gravatar image

updated 2018-01-31 13:26:45 -0500

The policy for deciding which member to delete is as follows:

  • If any members are in a FAILED state, those will be removed (if this is more than the number you want to scale down by, the difference will be made up by new members being created).
  • The members with the oldest created_time in the database are removed first.
  • In the event of a tie (creation times have only 1s of resolution), the members with lexicographically smaller names are removed first (i.e. member 'aa' will be removed before member 'ab').
edit flag offensive delete link more

Comments

Many Thanks!

Peter Tselios gravatar imagePeter Tselios ( 2018-02-01 07:20:33 -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

1 follower

Stats

Asked: 2018-01-31 13:24:04 -0500

Seen: 36 times

Last updated: Jan 31