diff options
author | Mark Beierl <mark.beierl@dell.com> | 2018-07-10 13:46:09 +0000 |
---|---|---|
committer | Gerrit Code Review <gerrit@opnfv.org> | 2018-07-10 13:46:09 +0000 |
commit | f25f1b08fc3dde78166d3217018bd77aa62e3228 (patch) | |
tree | 67af7db34647088e7afa82b976daf5d2b23ec079 /docker | |
parent | 4ac628e18e5f9d03e13b10f9b26f57374bdc0658 (diff) | |
parent | 6114b084b3fd47e638172cbbe64c6ea9e627e66d (diff) |
Merge "Set self.stack_id = None after delete stack"
Diffstat (limited to 'docker')
-rw-r--r-- | docker/storperf-master/storperf/storperf_master.py | 7 |
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={}): |