summaryrefslogtreecommitdiffstats
path: root/yardstick/vTC/apexlake/experimental_framework
diff options
context:
space:
mode:
Diffstat (limited to 'yardstick/vTC/apexlake/experimental_framework')
-rw-r--r--yardstick/vTC/apexlake/experimental_framework/deployment_unit.py9
-rw-r--r--yardstick/vTC/apexlake/experimental_framework/heat_manager.py3
2 files changed, 8 insertions, 4 deletions
diff --git a/yardstick/vTC/apexlake/experimental_framework/deployment_unit.py b/yardstick/vTC/apexlake/experimental_framework/deployment_unit.py
index 596ee7a96..22fec1392 100644
--- a/yardstick/vTC/apexlake/experimental_framework/deployment_unit.py
+++ b/yardstick/vTC/apexlake/experimental_framework/deployment_unit.py
@@ -50,7 +50,8 @@ class DeploymentUnit:
time.sleep(5)
status = self.heat_manager.check_stack_status(stack_name)
return True
- except:
+ except Exception as e:
+ common.LOG.debug(e.message)
return False
def destroy_all_deployed_stacks(self):
@@ -80,14 +81,16 @@ class DeploymentUnit:
self.heat_manager.create_stack(template_file, stack_name,
parameters)
deployed = True
- except:
+ except Exception as e:
+ common.LOG.debug(e.message)
deployed = False
if not deployed and 'COMPLETE' in \
self.heat_manager.check_stack_status(stack_name):
try:
self.destroy_heat_template(stack_name)
- except:
+ except Exception as e:
+ common.LOG.debug(e.message)
pass
status = self.heat_manager.check_stack_status(stack_name)
diff --git a/yardstick/vTC/apexlake/experimental_framework/heat_manager.py b/yardstick/vTC/apexlake/experimental_framework/heat_manager.py
index ab3df5c38..7400ebd21 100644
--- a/yardstick/vTC/apexlake/experimental_framework/heat_manager.py
+++ b/yardstick/vTC/apexlake/experimental_framework/heat_manager.py
@@ -97,6 +97,7 @@ class HeatManager:
if stack.stack_name == stack_name:
self.heat.stacks.delete(stack.id)
return True
- except:
+ except Exception as e:
+ common.LOG.debug(e.message)
pass
return False