commit 0b4a06aee4151a8d1689ef4fa387c0b4aca65f26
Author: Stan Lagun <email address hidden>
Date: Sat Oct 10 01:33:22 2015 +0300
Do not try to delete server from deleted Heat stack
Because now Environment's .destroy method would
be called before that of an Instance the later will try
to delete itself from the stack that is physically not
existing and represented as an empty dictionary in
HeatStack.current().
With this change Instance will check stack existence
before deleting anything.
Also a method to check if Instance is present in Heat
stack template was added so that application could check
if it is safe to use the instance (for example to send Agent plans)
Reviewed: https:/ /review. openstack. org/233295 /git.openstack. org/cgit/ openstack/ murano/ commit/ ?id=0b4a06aee41 51a8d1689ef4fa3 87c0b4aca65f26
Committed: https:/
Submitter: Jenkins
Branch: stable/liberty
commit 0b4a06aee4151a8 d1689ef4fa387c0 b4aca65f26
Author: Stan Lagun <email address hidden>
Date: Sat Oct 10 01:33:22 2015 +0300
Do not try to delete server from deleted Heat stack
Because now Environment's .destroy method would current( ).
be called before that of an Instance the later will try
to delete itself from the stack that is physically not
existing and represented as an empty dictionary in
HeatStack.
With this change Instance will check stack existence
before deleting anything.
Also a method to check if Instance is present in Heat
stack template was added so that application could check
if it is safe to use the instance (for example to send Agent plans)
Change-Id: I298f3f079a153e f87ed7213b7f143 2c9e5e4b4b6
Closes-Bug: #1503715