summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--docker/storperf-master/storperf/storperf_master.py7
1 files changed, 6 insertions, 1 deletions
diff --git a/docker/storperf-master/storperf/storperf_master.py b/docker/storperf-master/storperf/storperf_master.py
index 7a1444e..7a94af8 100644
--- a/docker/storperf-master/storperf/storperf_master.py
+++ b/docker/storperf-master/storperf/storperf_master.py
@@ -355,7 +355,12 @@ class StorPerfMaster(object):
stack_id = None
if (self.stack_id is not None):
stack_id = self.stack_id
- self.heat_stack.clean()
+ try:
+ self.heat_stack.clean()
+ except Exception as e:
+ self.logger.error("Stack creation failed")
+ raise Exception(e)
+ self.stack_id = None
return stack_id
def execute_workloads(self, metadata={}):