Can OpenStack flavor be deleted when it already been used for some stacks?

asked 2020-06-23 01:50:23 -0500

rawmain gravatar image

If a flavor already be used to create a stack in OpenStack, is it good to delete it and create a new one?

Will it cause impact to the stack which running?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2020-06-23 03:14:33 -0500

Flavors are only used at instance launch time (and when resizing), thus it only affects instances that you launch after deleting the flavor.

Now, stacks often implement autoscaling, which means the deleting and creating of instances according to the application's load. Such a stack will definitely be impacted by a missing flavor.

If you take care to recreate the flavor with the same name as the old one, and to be safe, also the same ID, there should be no problem for such stacks either. Except if the stack decides to create an instance right after you remove the flavor and before you recreate it.

edit flag offensive delete link more


Thank you very much for your very detailed answer! It's clear.

rawmain gravatar imagerawmain ( 2020-06-23 04:42:04 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower


Asked: 2020-06-23 01:50:23 -0500

Seen: 46 times

Last updated: Jun 23