English Community

Datacenter SystemsThinkSystem
All Forum Topics
Options

3 Posts

07-15-2020

NL

2 Signins

25 Page Views

  • Posts: 3
  • Registered: ‎07-15-2020
  • Location: NL
  • Views: 25
  • Message 1 of 7

SR635: Redfish API does not return any hardware information

2020-07-15, 17:13 PM

I am having the problem on a SR635 that Redfish does not return any hardware information.

 

 

Server model/serial comes up empty when I go to: https://[bmc ip]/redfish/v1/Systems/Self

 

 

[...]

"Model":" ",

"Name":"System",

[...]

"PartNumber":" ",

[...]

"SerialNumber":" ",

 

 

https://[bmc ip]/redfish/v1/Systems/Self/Processors indicates the server lacks a processor:

 

{"@odata.context":"/redfish/v1/$metadata#ProcessorCollection.ProcessorCollection","@odata.etag":"\"1594831849\"","@odata.id":"/redfish/v1/Systems/Self/Processors","@odata.type":"#ProcessorCollection.ProcessorCollection","Description":"Collection of processors","Members":[],"Members@odata.count":0,"Name":"Processors Collection"}

 

 

https://[bmc ip]/redfish/v1/Systems/Self/Memory shows apparently someone stole the memory too, as it reports server has none :-) :

 

{"@odata.context":"/redfish/v1/$metadata#MemoryCollection.MemoryCollection","@odata.etag":"\"1594829697\"","@odata.id":"/redfish/v1/Systems/Self/Memory","@odata.type":"#MemoryCollection.MemoryCollection","Description":"Collection of Memories for this system","Members":[],"Members@odata.count":0,"Name":"Memory Collection"}

 

 

https://[bmc ip]/redfish/v1/Systems/Self/NetworkInterfaces shows no Ethernet either, though a Broadcom 4 port card is present and does show up in the TSM webinterface:

 

{"@odata.context":"/redfish/v1/$metadata#NetworkInterfaceCollection.NetworkInterfaceCollection","@odata.etag":"\"1594829697\"","@odata.id":"/redfish/v1/Systems/Self/NetworkInterfaces","@odata.type":"#NetworkInterfaceCollection.NetworkInterfaceCollection","Description":"The Collection for Network Interfaces","Members":[],"Members@odata.count":0,"Name":"NetworkInterface Collection"}

 

 

 

 

Is there something wrong with my particular server, or did Lenovo "forget" to implement all the functions to query hardware information in their Redfish implementation?

 

It does would be nice if we were at least able to query the MAC addresses of the network interfaces present in the server.

(The datacenter provisioning software we wrote queries that. It likes to register the MAC address of the server in its database for PXE boot purposes).

 

Reply
Options

617 Posts

09-04-2018

US

876 Signins

18479 Page Views

  • Posts: 617
  • Registered: ‎09-04-2018
  • Location: US
  • Views: 18479
  • Message 2 of 7

Re:SR635: Redfish API does not return any hardware information

2020-07-16, 3:46 AM

Hi Max_nl,

 

Please confirm all the firmware version is up-to-date. Here is the last firmware download link.

 

Use the following URL to query the chassis information containing the serial number, model, and manufacturer:

https://<BMC IP>/redfish/v1/Chassis/Self

 

 

Use the following URL to query the CPU information: 

https://<BMC IP>/redfish/v1/Systems/Self/Processors/DevType1_CPU0

 

Use the following URL to query the Memory information:

https://<BMC IP>/redfish/v1/Systems/Self/Memory 

 

The response data should be as follows:

"Members":[

{

"@odata.id": "/redfish/v1/Systems/Self/Memory/DevType2_DIMM5"

},

{

"@odata.id": "/redfish/v1/Systems/Self/Memory/DevType2_DIMM7"

},

{

"@odata.id": "/redfish/v1/Systems/Self/Memory/DevType2_DIMM13"

}

],

"Members@odata.count": 3,

"Name": "Memory Collection"

}

 

And then you can retrieve more details information using the response data, for example, I run https://<BMC IP>/redfish/v1/Systems/Self/Memory/DevType2_DIMM5, and the response data is:

......

"AllowedSpeedsMHz":[

3200

],

"BaseModuleType": "RDIMM",

"BusWidthBits": 72,

"CapacityMiB": 32768,

"DataWidthBits": 64,

"DeviceLocator": "DIMM 3",

"Id": "DevType2_DIMM5",

"Links":{

"Chassis":{

"@odata.id": "/redfish/v1/Chassis/Self"

}

},

"Manufacturer": "Samsung",

"MemoryDeviceType": "DDR4",

"MemoryLocation":{

"Channel": 2,

"MemoryController": 0,

"Slot": 1,

"Socket": 0

},

"Name": "DevType2_DIMM5",

"OperatingSpeedMhz": 3200,

"PartNumber": "M393A4K40DB2-CWE ",

"RankCount": 2,

"Regions":[

{

"OffsetMiB": 32768,

"RegionId": "80",

"SizeMiB": 32767

}

],

"SerialNumber": "xxxxxxxx",

"Status":{

"Health": "OK",

"State": "Enabled"

 

Use the following URL to query the Ethernet information(MAC address):

https://<BMC IP>/redfish/v1/Systems/Self/EthernetInterfaces

 

Response data:

"Members":[

{

"@odata.id": "/redfish/v1/Systems/Self/EthernetInterfaces/NicInterface1"

},

{

"@odata.id": "/redfish/v1/Systems/Self/EthernetInterfaces/NicInterface0"

 

and then query more about Nicinterface1, use the path https://<BMC IP>/redfish/v1/Systems/Self/EthernetInterfaces/NicInterface1

You will retrieve more about the Mac address, health status, and IP address for this NIC interface.

 

 

 

Reply
Options

3 Posts

07-15-2020

NL

2 Signins

25 Page Views

  • Posts: 3
  • Registered: ‎07-15-2020
  • Location: NL
  • Views: 25
  • Message 3 of 7

Re:SR635: Redfish API does not return any hardware information

2020-07-16, 12:57 PM

Thanks.

I had already upgraded TSM to v2.13

But forgot to update UEFI.

After upgrading that from v1.10 (CFE106D) to v5.0 (CFE114L) hardware information like CPU, memory and network interfaces looks much better. :-)

So that problem is solved.

 

 

 

I however did notice that with the new version I do get occasionally errors like this if I retrieve /redfish/v1/Systems/Self while the system is (re)booting

 

==

[web.lua] Error in RequestHandler, thread: 0xb6337498 is dead.

▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼

./redirect-handler.lua:0: attempt to index a nil value

stack traceback:

./turbo/httpserver.lua:251: in function <./turbo/httpserver.lua:212>

[C]: in function 'xpcall'

./turbo/iostream.lua:553: in function <./turbo/iostream.lua:544>

[C]: in function 'xpcall'

./turbo/ioloop.lua:573: in function <./turbo/ioloop.lua:572>

▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲

==

 

If I retry the request a second time it does work.

Reply
Options

3 Posts

07-15-2020

NL

2 Signins

25 Page Views

  • Posts: 3
  • Registered: ‎07-15-2020
  • Location: NL
  • Views: 25
  • Message 4 of 7

Re:SR635: Redfish API does not return any hardware information

2020-07-16, 13:11 PM

Hmm, there are bigger problems...

After retrying after such error the PowerState field in /redfish/v1/Systems/Self has an invalid value.

It shows "PowerState":"Off", while the system is actually On:

 

 

 {

   "@odata.context":"/redfish/v1/$metadata#ComputerSystem.ComputerSystem",
   "@odata.etag":"\"1594879096\"",
   "@odata.id":"/redfish/v1/Systems/Self",
   "@odata.type":"#ComputerSystem.v1_7_0.ComputerSystem",
   "Actions":{

      "#ComputerSystem.Reset":{

         "@Redfish.ActionInfo":"/redfish/v1/Systems/Self/ResetActionInfo",
         "@Redfish.OperationApplyTimeSupport":{

            "@odata.type":"#Settings.v1_2_1.Settings.OperationApplyTimeSupport",
            "MaintenanceWindowDurationInSeconds":600,
            "MaintenanceWindowResource":{

               "@odata.id":"/redfish/v1/Systems/Self"
 

            

},
            "SupportedValues":[

               "Immediate",
               "AtMaintenanceWindowStart"
 

            

]
 

         

},
         "target":"/redfish/v1/Systems/Self/Actions/ComputerSystem.Reset"
 

      

}
 

   

},
   "AssetTag":"Free form asset tag",
   "Bios":{

      "@odata.id":"/redfish/v1/Systems/Self/Bios"
 

   

},
   "BiosVersion":"CFE114L",
   "Boot":{

      "BootOptions":{

         "@odata.id":"/redfish/v1/Systems/Self/BootOptions"
 

      

},
      "BootOrder":[

         "Boot0003",
         "Boot0004",
         "Boot0005",
         "Boot0006",
         "Boot0007",
         "Boot0008",
         "Boot0009",
         "Boot000A"
 

      

],
      "BootOrderPropertySelection":"BootOrder",
      "BootSourceOverrideEnabled":"Disabled",
      "BootSourceOverrideEnabled@Redfish.AllowableValues":[

         "Disabled",
         "Once",
         "Continuous"
 

      

],
      "BootSourceOverrideMode":"Legacy",
      "BootSourceOverrideMode@Redfish.AllowableValues":[

         "Legacy",
         "UEFI"
 

      

],
      "BootSourceOverrideTarget":"None",
      "BootSourceOverrideTarget@Redfish.AllowableValues":[

         "None",
         "Pxe",
         "Floppy",
         "Cd",
         "Usb",
         "Hdd",
         "BiosSetup",
         "Utilities",
         "Diags",
         "UefiShell",
         "UefiTarget",
         "SDCard",
         "UefiHttp",
         "RemoteDrive",
         "UefiBootNext"
 

      

],
      "Certificates":{

         "@odata.id":"/redfish/v1/Systems/Self/Boot/Certificates"
 

      

}
 

   

},
   "Description":"System Self",
   "EthernetInterfaces":{

      "@odata.id":"/redfish/v1/Systems/Self/EthernetInterfaces"
 

   

},
   "Id":"Self",
   "IndicatorLED":"Off",
   "IndicatorLED@Redfish.AllowableValues":[

      "Lit",
      "Blinking",
      "Off"
 

   

],
   "Links":{

      "Chassis":[

         {

            "@odata.id":"/redfish/v1/Chassis/Self"
 

         

}
 

      

],
      "Chassis@odata.count":1,
      "ManagedBy":[

         {

            "@odata.id":"/redfish/v1/Managers/Self"
 

         

}
 

      

],
      "ManagedBy@odata.count":1,
      "PoweredBy":[

         {

            "@odata.id":"/redfish/v1/Chassis/Self/Power#/PowerSupplies/1"
 

         

},
         {

            "@odata.id":"/redfish/v1/Chassis/Self/Power#/PowerSupplies/0"
 

         

}
 

      

],
      "PoweredBy@odata.count":2
 

   

},
   "LogServices":{

      "@odata.id":"/redfish/v1/Systems/Self/LogServices"
 

   

},
   "Manufacturer":"Lenovo",
   "Memory":{

      "@odata.id":"/redfish/v1/Systems/Self/Memory"
 

   

},
   "MemoryDomains":{

      "@odata.id":"/redfish/v1/Systems/Self/MemoryDomains"
 

   

},
   "MemorySummary":{

      "Status":{

         "Health":"OK",
         "HealthRollup":"Critical",
         "State":"Enabled"
 

      

}
 

   

},
   "Model":"ThinkSystem SR635",
   "Name":"System",
   "NetworkInterfaces":{

      "@odata.id":"/redfish/v1/Systems/Self/NetworkInterfaces"
 

   

},
   "Oem":{

      "Ami":{

         "Bios":{

            "Inventory":{

               "@odata.type":"#AMIBIOSInventoryCRC.v1_0_0.AMIBIOSInventoryCRC",
               "Crc":{

                  "@odata.id":"/redfish/v1/Systems/Self/Oem/Ami/Inventory/Crc",
                  "GroupCrcList":[

                     {

                        "CPU":2836861672
 

                     

},
                     {

                        "PCIE":3518927005
 

                     

},
                     {

                        "DIMM":1620490656
 

                     

}
 

                  

]
 

               

}
 

            

},
            "RedfishVersion":"1.7.0",
            "RtpVersion":"1.7.0"
 

         

}
 

      

}
 

   

},
   "PCIeDevices":[

      {

         "@odata.id":"/redfish/v1/Chassis/Self/PCIeDevices/00_C4_00"
 

      

},
      {

         "@odata.id":"/redfish/v1/Chassis/Self/PCIeDevices/00_C3_00"
 

      

},
      {

         "@odata.id":"/redfish/v1/Chassis/Self/PCIeDevices/00_01_00"
 

      

},
      {

         "@odata.id":"/redfish/v1/Chassis/Self/PCIeDevices/00_81_00"
 

      

}
 

   

],
   "PCIeDevices@odata.count":4,
   "PCIeFunctions":[

      {

         "@odata.id":"/redfish/v1/Chassis/Self/PCIeDevices/00_01_00/PCIeFunctions/DevType3_OCP1_DevIndex12"
 

      

},
      {

         "@odata.id":"/redfish/v1/Chassis/Self/PCIeDevices/00_81_00/PCIeFunctions/DevType3__DevIndexE"
 

      

},
      {

         "@odata.id":"/redfish/v1/Chassis/Self/PCIeDevices/00_01_00/PCIeFunctions/DevType3_OCP1_DevIndex13"
 

      

},
      {

         "@odata.id":"/redfish/v1/Chassis/Self/PCIeDevices/00_C4_00/PCIeFunctions/DevType3_VGFX_DevIndex6C"
 

      

},
      {

         "@odata.id":"/redfish/v1/Chassis/Self/PCIeDevices/00_C3_00/PCIeFunctions/DevType3__DevIndex6B"
 

      

},
      {

         "@odata.id":"/redfish/v1/Chassis/Self/PCIeDevices/00_01_00/PCIeFunctions/DevType3_OCP1_DevIndex10"
 

      

},
      {

         "@odata.id":"/redfish/v1/Chassis/Self/PCIeDevices/00_01_00/PCIeFunctions/DevType3_OCP1_DevIndex11"
 

      

}
 

   

],
   "PCIeFunctions@odata.count":7,
   "PartNumber":"SB27A42855",
   "PowerState":"Off",
   "ProcessorSummary":{

      "Count":1,
      "Model":"AMD EPYC 7302P 16-Core Processor               , 3300 Mhz, 16 Core(s), 32 Logical Processor(s)",
      "Status":{

         "Health":"OK",
         "HealthRollup":"Critical",
         "State":"Enabled"
 

      

}
 

   

},
   "Processors":{

      "@odata.id":"/redfish/v1/Systems/Self/Processors"
 

   

},
   "SKU":"7Y99CTO1WW",
   "SecureBoot":{

      "@odata.id":"/redfish/v1/Systems/Self/SecureBoot"
 

   

},
   "SerialNumber":"  ********",
   "SimpleStorage":{

      "@odata.id":"/redfish/v1/Systems/Self/SimpleStorage"
 

   

},
   "Status":{

      "Health":"OK",
      "HealthRollup":"OK",
      "State":"Enabled"
 

   

},
   "Storage":{

      "@odata.id":"/redfish/v1/Systems/Self/Storage"
 

   

},
   "SystemType":"Physical",
   "TrustedModules":[

      {

         "FirmwareVersion":"7.2",
         "FirmwareVersion2":"1.0",
         "InterfaceType":"TPM2_0",
         "InterfaceTypeSelection":"BiosSetting",
         "Status":{

            "State":"Enabled"
 

         

}
 

      

}
 

   

],
   "UUID":"1CCFB9BD-5C11-EA11-8FF8-00000000003C"
 

}

===

 

 

As a result the power management functions also stop working.

If I tell it to reset the computer with ForceRestart, it says it cannot do that because it thinks the power is off.

 

 

ERROR: Error during Redfish POST to '/redfish/v1/Systems/Self/Actions/ComputerSystem.Reset': {"error":{"@Message.ExtendedInfo":[{"@odata.type":"#Message.v1_0_7.Message","Message":"The action Unable to perform 'ForceRestart' operation on the Host Machine since it is already in 'PowerOff' state !! is not supported by the resource.","MessageArgs":["Unable to perform 'ForceRestart' operation on the Host Machine since it is already in 'PowerOff' state !!"],"MessageId":"Base.1.5.ActionNotSupported","RelatedProperties":["#/redfish/v1/Systems/Self/Actions/ComputerSystem.Reset"],"Resolution":"The action supplied cannot be resubmitted to the implementation. Perhaps the action was invalid, the wrong resource was the target or the implementation documentation may be of assistance.","Severity":"Critical"}],"code":"Base.1.5.ActionNotSupported","message":"The action Unable to perform 'ForceRestart' operation on the Host Machine since it is already in 'PowerOff' state !! is not supported by the resource."}}

==

 

Besides it remembering the power state wrong (the system is on), I think ForceRestart is also supposed to work when the system is off (it should turn the power "on" then), so I think this is the wrong behavior.

 

 

When using ipmitool (which uses RCMP+ protocol) the server does report correctly that it is power on, even though when queried through Redfish it thinks it is not.

 

 $ ipmitool -I lanplus -U *username* -P *password* -H 192.168.178.78 chassis power status

Chassis Power is on

 

So I think there are still some bugs here...

 

Reply
Options

617 Posts

09-04-2018

US

876 Signins

18479 Page Views

  • Posts: 617
  • Registered: ‎09-04-2018
  • Location: US
  • Views: 18479
  • Message 5 of 7

Re:SR635: Redfish API does not return any hardware information

2020-07-20, 3:08 AM

Hi max_nl,

 

The power state issue has been reported to the development team, and they've replied this issue will be fixed in the next firmware release.

 

 

Reply
Options

617 Posts

09-04-2018

US

876 Signins

18479 Page Views

  • Posts: 617
  • Registered: ‎09-04-2018
  • Location: US
  • Views: 18479
  • Message 6 of 7

Re:SR635: Redfish API does not return any hardware information

2020-09-24, 3:34 AM

Hi max_nl,

 

The latest BMC firmware has been released and the power state issue was resolved in this version.

The latest BMC firmware: v2.56

 

The latest UEFI firmware: v5.10, please note the prerequisites and dependencies below before performing a UEFI upgrade.

1.0 Prerequisites and dependencies

*You must be at a minimum UEFI, Version 2.00 (Build ID: CFE108O) to  upgrade to this release.  

*This version must be installed with a minimum BMC firmware Version - SR635 and SR655 with BMC  2.53(Build ID: AMBT12N)

To ensure that you are installing compatible versions of firmware, Suggest updating firmware via the latest UXSP.
 

Reply
Options

617 Posts

09-04-2018

US

876 Signins

18479 Page Views

  • Posts: 617
  • Registered: ‎09-04-2018
  • Location: US
  • Views: 18479
  • Message 7 of 7

Re:SR635: Redfish API does not return any hardware information

2020-10-15, 2:08 AM

Hi max_nl,

 

Please check if you need further assistance with this post.  If you feel like the information provided was sufficiently resolved your issue, please mark this thread as complete with a solution. If you are still experiencing issues, please let us know so we can assist further.

Reply
Forum Home

Community Guidelines

Please review our Guidelines before posting.

Learn More

Check out current deals!

Go Shop
X

Save

X

Delete