Fix missing job_id parameter in the log message

This is to fix the missing job_id parameter in the log message.

Change-Id: I4b730d996c0f7ca58caa34c13610a929a4e4157b
This commit is contained in:
zhu.fanglei 2020-01-03 13:31:00 +08:00
parent 2a43e371f1
commit 70ca545551

View File

@ -66,7 +66,8 @@ def get_job(node, job_id):
except drac_exceptions.BaseClientException as exc:
LOG.error('DRAC driver failed to get the job %(job_id)s '
'for node %(node_uuid)s. Reason: %(error)s.',
{'node_uuid': node.uuid,
{'job_id': job_id,
'node_uuid': node.uuid,
'error': exc})
raise exception.DracOperationError(error=exc)