From 2edbad643b252ef991907c915cba319d37aa93f2 Mon Sep 17 00:00:00 2001 From: Robert Collins Date: Fri, 10 May 2013 22:33:13 +1200 Subject: Show exception details for failed deploys. Without some detail errors are inscrutable and impossible to debug. Fixes bug 1178608 Change-Id: I0ed6164e8689c63bd194924d3f7cb50b49feb921 --- nova/cmd/baremetal_deploy_helper.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nova/cmd/baremetal_deploy_helper.py b/nova/cmd/baremetal_deploy_helper.py index dd8c652ff..2bf0bdbae 100644 --- a/nova/cmd/baremetal_deploy_helper.py +++ b/nova/cmd/baremetal_deploy_helper.py @@ -241,7 +241,7 @@ class Worker(threading.Thread): {'task_state': baremetal_states.DEPLOYING}) deploy(**params) except Exception: - LOG.error(_('deployment to node %s failed') % node_id) + LOG.exception(_('deployment to node %s failed') % node_id) db.bm_node_update(context, node_id, {'task_state': baremetal_states.DEPLOYFAIL}) else: -- cgit