Thank you both,
the task completes with 100% “completed” but not “successful”
Please find the response for the task:
curl -k -H "X-Auth-Token:$token" -X GET https://$bmc/redfish/v1/TaskService/Tasks/0
{
"@odata.id": "/redfish/v1/TaskService/Tasks/0",
"@odata.type": "#Task.v1_4_3.Task",
"EndTime": "1970-01-04T21:38:18+00:00",
"Id": "0",
"Messages": [
{
"@odata.type": "#Message.v1_0_0.Message",
"Message": "The task with id 0 has started.",
"MessageArgs": [
"0"
],
"MessageId": "TaskEvent.1.0.1.TaskStarted",
"Resolution": "None.",
"Severity": "OK"
},
{
"@odata.type": "#MessageRegistry.v1_4_1.MessageRegistry",
"Message": "Transfer of image '0.0' to '' failed.",
"MessageArgs": [
"0.0",
""
],
"MessageId": "Update.1.0.TransferFailed",
"Resolution": "Debug Token Service is not ready, retry the firmware update operation after the management controller is ready. If the issue still persists reset the baseboard.",
"Severity": "Critical"
},
{
"@odata.type": "#MessageRegistry.v1_4_1.MessageRegistry",
"Message": "The target device '27' will be updated with image 'GlacierApFwPkg-24042024'.",
"MessageArgs": [
"27",
"GlacierApFwPkg-24042024"
],
"MessageId": "Update.1.0.TargetDetermined",
"Resolution": "None.",
"Severity": "OK"
},
{
"@odata.type": "#MessageRegistry.v1_4_1.MessageRegistry",
"Message": "Image 'GlacierApFwPkg-24042024' is being transferred to '27'.",
"MessageArgs": [
"GlacierApFwPkg-24042024",
"27"
],
"MessageId": "Update.1.0.TransferringToComponent",
"Resolution": "None.",
"Severity": "OK"
},
{
"@odata.type": "#Message.v1_0_0.Message",
"Message": "The task with id 0 has changed to progress 20 percent complete.",
"MessageArgs": [
"0",
"20"
],
"MessageId": "TaskEvent.1.0.1.TaskProgressChanged",
"Resolution": "None.",
"Severity": "OK"
},
{
"@odata.type": "#Message.v1_0_0.Message",
"Message": "The task with id 0 has changed to progress 40 percent complete.",
"MessageArgs": [
"0",
"40"
],
"MessageId": "TaskEvent.1.0.1.TaskProgressChanged",
"Resolution": "None.",
"Severity": "OK"
},
{
"@odata.type": "#MessageRegistry.v1_4_1.MessageRegistry",
"Message": "Device '27' successfully updated with image 'GlacierApFwPkg-24042024'.",
"MessageArgs": [
"27",
"GlacierApFwPkg-24042024"
],
"MessageId": "Update.1.0.UpdateSuccessful",
"Resolution": "None.",
"Severity": "OK"
},
{
"@odata.type": "#MessageRegistry.v1_4_1.MessageRegistry",
"Message": "Awaiting for an action to proceed with activating image 'GlacierApFwPkg-24042024' on '27'.",
"MessageArgs": [
"GlacierApFwPkg-24042024",
"27"
],
"MessageId": "Update.1.0.AwaitToActivate",
"Resolution": "System reboot or AC power cycle",
"Severity": "OK"
},
{
"@odata.type": "#Message.v1_0_0.Message",
"Message": "The task with id 0 has changed to progress 100 percent complete.",
"MessageArgs": [
"0",
"100"
],
"MessageId": "TaskEvent.1.0.1.TaskProgressChanged",
"Resolution": "None.",
"Severity": "OK"
},
{
"@odata.type": "#Message.v1_0_0.Message",
"Message": "The task with id 0 has Completed.",
"MessageArgs": [
"0"
],
"MessageId": "TaskEvent.1.0.1.TaskCompletedOK",
"Resolution": "None.",
"Severity": "OK"
}
],
"Name": "Task 0",
"Payload": {
"HttpHeaders": [
"Host: 192.168.1.110",
"User-Agent: curl/7.81.0",
"Accept: */*",
"Content-Length: 67105983"
],
"HttpOperation": "POST",
"JsonBody": "null",
"TargetUri": "/redfish/v1/UpdateService"
},
"PercentComplete": 100,
"StartTime": "1970-01-04T21:28:02+00:00",
"TaskMonitor": "/redfish/v1/TaskService/Tasks/0/Monitor",
"TaskState": "Completed",
"TaskStatus": "Critical"
So it states “completed” at the end, but I wonder a bit about the transfer failed message:
{
"@odata.type": "#MessageRegistry.v1_4_1.MessageRegistry",
"Message": "Transfer of image '0.0' to '' failed.",
"MessageArgs": [
"0.0",
""
],
"MessageId": "Update.1.0.TransferFailed",
"Resolution": "Debug Token Service is not ready, retry the firmware update operation after the management controller is ready. If the issue still persists reset the baseboard.",
"Severity": "Critical"
},
Might this be the source of the problem?
A side note on Step 6 from the BMC-Guide, copy&paste from the command results for me in the following error;
curl -k -H "X-Auth-Token:$token" -X GET https://$bmc/redfish/v1/TaskService/Tasks/$task_id
curl: (3) unmatched brace in URL position 52:
https://192.168.1.110/redfish/v1/TaskService/Tasks/{
while the task_id resulted in
$ echo $task_id
{ "@odata.id": "/redfish/v1/TaskService/Tasks/0", "@odata.type": "#Task.v1_4_3.Task", "Id": "0", "TaskState": "Running", "TaskStatus": "OK" }
hence I queried for Task 0
: curl -k -H "X-Auth-Token:$token" -X GET https://$bmc/redfish/v1/TaskService/Tasks/0
Thanks