diff options
| author | Robert Collins <rbtcollins@hp.com> | 2013-05-10 22:33:13 +1200 |
|---|---|---|
| committer | Robert Collins <rbtcollins@hp.com> | 2013-05-11 08:58:29 +1200 |
| commit | 2edbad643b252ef991907c915cba319d37aa93f2 (patch) | |
| tree | 3412cac2b7abf0962c9852fd9c6deb38bbae5fc2 /nova/cmd | |
| parent | f917d24bd333e7068ae17cc1027dd8e80896e5a5 (diff) | |
| download | nova-2edbad643b252ef991907c915cba319d37aa93f2.tar.gz nova-2edbad643b252ef991907c915cba319d37aa93f2.tar.xz nova-2edbad643b252ef991907c915cba319d37aa93f2.zip | |
Show exception details for failed deploys.
Without some detail errors are inscrutable and impossible to debug.
Fixes bug 1178608
Change-Id: I0ed6164e8689c63bd194924d3f7cb50b49feb921
Diffstat (limited to 'nova/cmd')
| -rw-r--r-- | nova/cmd/baremetal_deploy_helper.py | 2 |
1 files changed, 1 insertions, 1 deletions
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: |
