rmj
Minnow
Posts: 3
|
Post by rmj on Jun 24, 2022 18:46:36 GMT
I am a beginner with redfish. When trying to reset the node via redfish, its task state is stuck at "New"
{
"@odata.context": "/redfish/v1/$metadata#Task.Task",
"@odata.etag": "\"1656095663\"",
"@odata.id": "/redfish/v1/TaskService/Tasks/1",
"@odata.type": "#Task.v1_4_2.Task",
"Description": "Task for Computer Reset",
"Id": "1",
"Name": "Computer Reset",
"StartTime": "2022-06-24T18:34:23+00:00",
"TaskState": "New",
"TaskStatus": "OK"
}
Is there any option to view all the pending tasks and remove tasks that are stuck in "New" state?
|
|
|
Post by mraineri on Jun 24, 2022 18:53:27 GMT
Unfortunately not. There are only a handful of cases where a client needs to perform some operation to let the task progress, but that's strictly in scenarios where the client explicitly tells the service to defer the request until a future date. I'm assuming you're making a simple reset request where you're not specifying some future event to wait for. In the majority of cases, tasks are expected to automatically start and be carried out by the service. Unfortunately this looks like a bug with the service and needs to be brought to the attention of the vendor.
|
|