[openstack-dev] [heat]How to manage the life cycle of resources in a stack?

Steve Baker sbaker at redhat.com
Wed Feb 24 19:04:09 UTC 2016

On 25/02/16 05:27, zhu4236926 wrote:
> Hi guys,
>     I  get some resources by creating a stack, e.g. ,the resources may 
> be 2 volumes, volume A and volume B.  If the volume A and volume B are 
> useless, we can delete them by deleting the stack , we also can delete 
> them by cinder.If  they are deleted by cinder, though the volumes have 
> been delete, the resources and stack are still exist,  a tenant has 
> the maxmum quantity of stacks, so I may couldn't  create the stack if 
> the number of left stacks exceed the limit . If I delete by deleting 
> the stack, the volume A and volume B would be deleted both, may be I 
> just want to delete the volume A and reservce volume B.
>     So how should I manage the resources(volumeA and volumeB) created 
> by heat, deleted by cinder or heat?
The best approach would be to modify the template to remove the volumes 
that you no longer need then do a stack-update. Once the stack ends up 
being empty you can choose to delete it.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20160225/e415a5c7/attachment.html>

More information about the OpenStack-dev mailing list