Skip to content

Missing Manager resource, after discovering BMC. #77

@ehaligow

Description

@ehaligow

After adding DeviceMgr as plugin, the discovered System has Manager resource, that does not exist in db.

intel@ubuntu:~$ curl -k -u 'admin:D3v1ceMgr' https://127.0.0.1:45000/redfish/v1/Systems/7c6068a1-5152-4510-8e8d-2ebc7592116c.1 | jq
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100  5630    0  5630    0     0  17164      0 --:--:-- --:--:-- --:--:-- 17164
{
  "@odata.context": "/redfish/v1/$metadata#ComputerSystem.ComputerSystem",
  "@odata.id": "/redfish/v1/Systems/7c6068a1-5152-4510-8e8d-2ebc7592116c.1",
  "@odata.type": "#ComputerSystem.v1_13_0.ComputerSystem",
  
 (...)
  "Links": {
    (...)
    "ManagedBy": [
      {
        "@odata.id": "/redfish/v1/Managers/7c6068a1-5152-4510-8e8d-2ebc7592116c.1"
      }
    ],

 (...)

intel@ubuntu:~$ curl -k -u 'admin:D3v1ceMgr' https://127.0.0.1:45000/redfish/v1/Managers | jq
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed
100   509    0   509    0     0   2345      0 --:--:-- --:--:-- --:--:--  2334
{
  "@odata.context": "/redfish/v1/$metadata#ManagerCollection.ManagerCollection",
  "@odata.id": "/redfish/v1/Managers",
  "@odata.type": "#ManagerCollection.ManagerCollection",
  "Description": "Managers view",
  "Name": "Managers",
  "Members": [
    {
      "@odata.id": "/redfish/v1/Managers/99999999-9999-9999-9999-999999999999"
    },
    {
      "@odata.id": "/redfish/v1/Managers/7c6068a1-5152-4510-8e8d-2ebc7592116c.99999999-9999-9999-9999-999999999999"
    },
    {
      "@odata.id": "/redfish/v1/Managers/ac2f7880-9d8a-11ed-a8fc-0242ac120002"
    }
  ],
  "[email protected]": 3
}

Here is log from Validator:
image

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions