update log messages to ease debugging (#988)

This commit is contained in:
bmc-msft
2021-06-14 15:18:03 -04:00
committed by GitHub
parent 4472d584ac
commit b9950c5526
5 changed files with 16 additions and 7 deletions

View File

@ -232,7 +232,10 @@ class Node(BASE_NODE, ORMMixin):
if error is None:
error = Error(
code=ErrorCode.TASK_FAILED,
errors=["node reimaged during task execution"],
errors=[
"node reimaged during task execution. machine_id:%s"
% self.machine_id
],
)
for entry in NodeTasks.get_by_machine_id(self.machine_id):