Ask Your Question

order of resource via stack delete

asked 2015-02-15 13:32:31 -0500

Shurik gravatar image


Can I control the order of delete resource when I delete the stack?

For example I have stack that contains nova.server cinder volume and attach volume resource.

I want that attached volume will be deleted first.

edit retag flag offensive close merge delete


Did you find any way to do this? During my heat stack deletion, it is attempting to delete the subnet first before deleting VM and failing. How to solve this?

Veena gravatar imageVeena ( 2016-02-11 07:03:17 -0500 )edit

1 answer

Sort by ยป oldest newest most voted

answered 2015-02-15 13:43:11 -0500

updated 2015-02-15 13:44:33 -0500

You can change the order of lines in script. For example you can bring the following lines on top of the script( to be executed before for example nova stop command:

if is_service_enabled cinder; then
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



Asked: 2015-02-15 13:32:31 -0500

Seen: 294 times

Last updated: Feb 15 '15