wjet
Minnow
Posts: 2
|
Post by wjet on Nov 9, 2023 14:12:55 GMT
When I try to mount an ISO image via VirtualMedia/CD1/Actions/VirtualMedia.InsertMedia, I get the following:
{
"Accepted": {
"code": "Base.v1_10_3.Accepted",
"Message": "Successfully Accepted Request. Please see the location header and ExtendedInfo for more information.",
"@Message.ExtendedInfo": [
{
"MessageId": "SMC.1.0.OemTaskServiceDisabledMessage",
"Severity": "Ok",
"Resolution": "Please enable the TaskService.",
"Message": "The TaskService was disabled, so the Task Resource does not be provided.",
"MessageArgs": [
""
],
"RelatedProperties": [
""
]
}
]
}
}
/redfish/v1/TaskService shows
{
"@odata.type": "#TaskService.v1_1_3.TaskService",
"@odata.id": "/redfish/v1/TaskService",
"Id": "TaskService",
"Name": "Tasks Service",
"DateTime": "2023-11-09T14:05:37Z",
"CompletedTaskOverWritePolicy": "Manual",
"Status": {
"State": "Disabled",
"Health": "OK"
},
"ServiceEnabled": false,
"Tasks": {
"@odata.id": "/redfish/v1/TaskService/Tasks"
},
"Oem": {}
}
I suspect this is one of those 'wasn't implemented by the BMC' situations, but curious if there's a way to enable the TaskService.
|
|
|
Post by jautor on Nov 9, 2023 15:22:03 GMT
Did you try a PATCH to set "ServiceEnabled" to 'true'? As that shows `false` in TaskService, and you're getting a vendor-specific message stating the task service is disabled, it would seem that would be the path... But you may be correct that this could be a stub with no task support behind it...
Jeff
|
|
wjet
Minnow
Posts: 2
|
Post by wjet on Nov 9, 2023 16:10:46 GMT
Oh jeez, I missed that bit and was trying to set State to enabled in Status. Thanks for the tip, that worked!
|
|
|
Post by jautor on Nov 10, 2023 3:48:28 GMT
Oh jeez, I missed that bit and was trying to set State to enabled in Status. Thanks for the tip, that worked!
Yeah, sorry about that bit of added complexity. Since `Status` and `State` are defined throughout the Redfish data model, those are always read-only properties so it's clear that the service (resource) "owns" those values. In the few cases where a user can actually directly affect the state, there is a read-write property like `ServiceEnabled` to provide that setting for the user to control.
Glad it was that simple, though! I am curious why they disable the service, though... (I assume due to some OEM functionality that an end user may not want to be available?)
Jeff
|
|