Hi! In this situation you get C in DELETE_COMPLETE, B in DELETE_FAILED and
A in CREATE_COMPLETE. After your second try, heat will try to delete stack
again, starting with C resource. But this resource already in
DELETE_COMPLETE, so heat will do nothing and move to next resource (B). You
can see it here
https://github.com/openstack/heat/blob/master/heat/engine/resource.py#L1238
.

On Tue, Dec 29, 2015 at 5:50 PM, zhu4236926 <zhu4236...@126.com> wrote:

> Hi guys,
>     I created a stack with several resources, for example, resource
> A,B,C,and B depends on A, C depends on B,.Now I delete the stack , then
> heat would delete resource C, then resource B, at last, resource A, isn't
> it?
> Suppose that the resource C has been deleted, but an error occurred when
> deleteing the reousrce B,  then the deleting stack task is failed. I try
> again delete the stack, heat would delele the resource C again,but resource
> C
> has been deleted, so what would happen? Raise a exception or work by other
> way to avoid this, or could you give me a hand to understand this.
>     Thank you very much.
>
>     By
>     Sylvernass
>
>
>
>
>
>
>
>
>
>
>
>
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>
__________________________________________________________________________
OpenStack Development Mailing List (not for usage questions)
Unsubscribe: openstack-dev-requ...@lists.openstack.org?subject:unsubscribe
http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev

Reply via email to