can't delete environment when exception occured in destroy method
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Murano |
New
|
Undecided
|
Unassigned |
Bug Description
code abstract as following from murano.
...
try:
except Exception as e:
...
When there is error in service, deleting would always be failed because the exception and the environment keeps the cleanup record, so the environment would be deadlock because it is difficult to fix a non-existing service. However, if we keep running after the exception result, 'ObjectsCopy' would be replaced by 'Object', and the environment could recover normal status. Fix as following:
except Exception as e: