Intel RSD Redfish API inconsistencies for data needed by MAAS
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
MAAS RSD |
Fix Released
|
High
|
Unassigned | ||
Intel-rsd |
Fix Released
|
High
|
Priyank Durugkar |
Bug Description
The Intel RSD Redfish API gives back inconsistent data. There are nodes that have been allocated (composed) in exactly the same way but they do not give back equal information. This information is needed by MAAS.
Here is an example. Node8 does not have a 'TotalSystemMem
root@maas:~# curl -s -k -u admin:admin -X GET https:/
{
"@odata.context" : "/redfish/
"@odata.id" : "/redfish/
"@odata.type" : "#ComposedNode.
"Id" : "8",
"Name" : "maas_node1",
"Description" : "MAAS Node for demo",
"SystemType" : "Logical",
"AssetTag" : null,
"Manufacturer" : "Quanta",
"Model" : "F20A_HSW (To be filled by O.E.M.)",
"SKU" : null,
"SerialNumber" : "QTFCPT6350006",
"PartNumber" : null,
"UUID" : "83ca8e3a-
"HostName" : null,
"PowerState" : "On",
"BiosVersion" : "N/A",
"Status" : {
"State" : "Enabled",
"Health" : "OK",
"HealthRollup" : "OK"
},
"Processors" : {
"Count" : 2,
"Model" : "Intel(R) Xeon(R) CPU E5-2683 v3 @ 2.00GHz",
"Status" : {
"State" : "Enabled",
"Health" : "OK",
"
}
},
"Memory" : {
"Status" : {
"State" : "Enabled",
"Health" : "OK",
"
}
},
"ComposedNode
"Boot" : {
"BootSource
"BootSource
"<email address hidden>" : [ "Hdd", "Pxe" ]
},
"Oem" : { },
"Links" : {
"ComputerSy
"@odata.id" : "/redfish/
},
"Processors" : [ {
"@odata.id" : "/redfish/
}, {
"@odata.id" : "/redfish/
} ],
"Memory" : [ {
"@odata.id" : "/redfish/
}, {
"@odata.id" : "/redfish/
}, {
"@odata.id" : "/redfish/
}, {
"@odata.id" : "/redfish/
} ],
"EthernetIn
"@odata.id" : "/redfish/
}, {
"@odata.id" : "/redfish/
} ],
"LocalDrives" : [ {
"@odata.id" : "/redfish/
} ],
"RemoteDrives" : [ ],
"ManagedBy" : [ {
"@odata.id" : "/redfish/
} ],
"Oem" : { }
},
"Actions" : {
"#ComposedN
"target" : "/redfish/
"<email address hidden>" : [ "On", "ForceOff", "GracefulShutdown", "GracefulRestart", "ForceRestart" ]
},
"#ComposedN
"target" : "/redfish/
}
}
}root@maas:~# curl -s -k -u admin:admin -X GET https:/
{
"@odata.context" : "/redfish/
"@odata.id" : "/redfish/
"@odata.type" : "#ComposedNode.
"Id" : "9",
"Name" : "maas_node2",
"Description" : "MAAS Node for demo",
"SystemType" : "Logical",
"AssetTag" : null,
"Manufacturer" : "Quanta",
"Model" : "F20A_HSW (To be filled by O.E.M.)",
"SKU" : null,
"SerialNumber" : "To be filled by O.E.M.",
"PartNumber" : null,
"UUID" : "f6c6520c-
"HostName" : null,
"PowerState" : "On",
"BiosVersion" : "F20A1A05_D",
"Status" : {
"State" : "Enabled",
"Health" : "OK",
"HealthRollup" : "OK"
},
"Processors" : {
"Count" : 2,
"Model" : "Intel(R) Xeon(R) CPU E5-2695 v3 @ 2.30GHz",
"Status" : {
"State" : "Enabled",
"Health" : "OK",
"
}
},
"Memory" : {
"TotalSyste
"Status" : {
"State" : "Enabled",
"Health" : "OK",
"
}
},
"ComposedNode
"Boot" : {
"BootSource
"BootSource
"<email address hidden>" : [ "Hdd", "Pxe" ]
},
"Oem" : { },
"Links" : {
"ComputerSy
"@odata.id" : "/redfish/
},
"Processors" : [ {
"@odata.id" : "/redfish/
}, {
"@odata.id" : "/redfish/
} ],
"Memory" : [ {
"@odata.id" : "/redfish/
}, {
"@odata.id" : "/redfish/
}, {
"@odata.id" : "/redfish/
}, {
"@odata.id" : "/redfish/
} ],
"EthernetIn
"@odata.id" : "/redfish/
}, {
"@odata.id" : "/redfish/
} ],
"LocalDrives" : [ {
"@odata.id" : "/redfish/
} ],
"RemoteDrives" : [ ],
"ManagedBy" : [ {
"@odata.id" : "/redfish/
} ],
"Oem" : { }
},
"Actions" : {
"#ComposedN
"target" : "/redfish/
"<email address hidden>" : [ "On", "ForceOff", "GracefulShutdown", "GracefulRestart", "ForceRestart" ]
},
"#ComposedN
"target" : "/redfish/
}
}
}
Changed in maasrsd: | |
assignee: | nobody → Priyank Durugkar (priyankd) |
Changed in maasrsd: | |
status: | Confirmed → Invalid |
Changed in maasrsd: | |
status: | Invalid → Confirmed |
assignee: | Priyank Durugkar (priyankd) → nobody |
Related to the deep discovery issue