Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing Manager resource, after discovering BMC. #77

Open
ehaligow opened this issue May 17, 2024 · 2 comments
Open

Missing Manager resource, after discovering BMC. #77

ehaligow opened this issue May 17, 2024 · 2 comments
Assignees

Comments

@ehaligow
Copy link
Collaborator

ehaligow commented May 17, 2024

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

@jcleung5549
Copy link
Contributor

What path are you using to GET the Manager resource?

@ehaligow
Copy link
Collaborator Author

Actually, I am no trying to GET the missing Manager, the Validator tries to do that. I updated the description.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants