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

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

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

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

zaneb gravatar image

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

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


Many Thanks!

Peter Tselios gravatar imagePeter Tselios ( 2018-02-01 07:20:33 -0600 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


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

Seen: 111 times

Last updated: Jan 31 '18