Open rajinator opened 4 years ago
@rajinator , here is what is expected.
Your output has slightly different format (which is not accounted for), e.g. Dell
vs DELL
, @odata.type
present.
"Oem": {
"DELL": {
"@odata.type": "#DellComputerSystem.v1_0_0.DellComputerSystem",
"BootOrder": {
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/BootSources"
}
}
},
I tested it with Integrated Dell Remote Access Controller, Redfish API Version: 1.4.0
What is the end device? iDRAC on which system?
Ah I see.
It is iDRAC on a PowerEdge R620 1U server. Redfish API version is also quite old so could be both of these I'll try find an upgrade path, if there is one, and then check with updated API
I'll try find an upgrade path, if there is one, and then check with updated API
@rajinator , if you find an upgrade path, please let me know.
I have the same issue with a Dell R240, iDRAC 9, on the latest release (7.00.00.00
).
Redfish API Version: 1.17.0
Error:
level=fatal msg="parsing error: json: cannot unmarshal string into Go struct field .Links.Oem.Dell of type client.ODataAnnotation, server response: ...
Here's the jq .Links
contents:
{
"Chassis": [
{
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1"
}
],
"Chassis@odata.count": 1,
"CooledBy": [
{
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Thermal#/Fans/0"
},
{
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Thermal#/Fans/1"
},
{
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Thermal#/Fans/2"
},
{
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Thermal#/Fans/3"
}
],
"CooledBy@odata.count": 4,
"ManagedBy": [
{
"@odata.id": "/redfish/v1/Managers/iDRAC.Embedded.1"
}
],
"ManagedBy@odata.count": 1,
"Oem": {
"Dell": {
"@odata.type": "#DellOem.v1_3_0.DellOemLinks",
"BootOrder": {
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/Oem/Dell/DellBootSources"
},
"DellBootSources": {
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/Oem/Dell/DellBootSources"
},
"DellSoftwareInstallationService": {
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/Oem/Dell/DellSoftwareInstallationService"
},
"DellVideoCollection": {
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/Oem/Dell/DellVideo"
},
"DellChassisCollection": {
"@odata.id": "/redfish/v1/Chassis/System.Embedded.1/Oem/Dell/DellChassis"
},
"DellPresenceAndStatusSensorCollection": {
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/Oem/Dell/DellPresenceAndStatusSensors"
},
"DellSensorCollection": {
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/Oem/Dell/DellSensors"
},
"DellRollupStatusCollection": {
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/Oem/Dell/DellRollupStatus"
},
"DellPSNumericSensorCollection": {
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/Oem/Dell/DellPSNumericSensors"
},
"DellVideoNetworkCollection": {
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/Oem/Dell/DellVideoNetwork"
},
"DellOSDeploymentService": {
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/Oem/Dell/DellOSDeploymentService"
},
"DellMetricService": {
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/Oem/Dell/DellMetricService"
},
"DellGPUSensorCollection": {
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/Oem/Dell/DellGPUSensors"
},
"DellRaidService": {
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/Oem/Dell/DellRaidService"
},
"DellNumericSensorCollection": {
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/Oem/Dell/DellNumericSensors"
},
"DellBIOSService": {
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/Oem/Dell/DellBIOSService"
},
"DellSlotCollection": {
"@odata.id": "/redfish/v1/Systems/System.Embedded.1/Oem/Dell/DellSlots"
}
}
},
"PoweredBy": [],
"PoweredBy@odata.count": 0
}
Here is what happens when I run --operation get-systems, unsure if this is due to the version of the iDRAC/redfish or an actual issue
Single line output
Prettified
Get Info output
Happy to provide more information if needed!