H3C G5 server redfish getting NIC information shows garbled code

2023-08-10 23:48:53 Published
  • 0 Followed
  • 0Collected ,724Browsed

Network Topology

H3C R4300 G5, H3C R4900 G5, H3C R4700 G5, etc.

Problem Description

<pre style="font-size:12px; font-family:monospace; color:#8B0000;">[web.lua
] Error in RequestHandler, thread: 0xb684c5c8 is dead.
▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼▼
.&#47;redfish&#47;manager&#47;ethernet-interface.lua: 0: &#39;union tagPCIE_TYPE_INFO [
    32
]&#39; cannot be indexed with &#39;nil&#39;
stack traceback:
    .&#47;turbo&#47;httpserver.lua: 266: in function &lt;.&#47;turbo&#47;httpserver.lua: 212&gt;
    [C
]: in function &#39;xpcall&#39;
    .&#47;turbo&#47;iostream.lua: 570: in function &lt;.&#47;turbo&#47;iostream.lua: 561&gt;
    [C
]: in function &#39;xpcall&#39;
    .&#47;turbo&#47;ioloop.lua: 598: in function &lt;.&#47;turbo&#47;ioloop.lua: 597&gt;

▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲▲</pre>


When using the redfish command, get https://HDM IP/redfish/v1/Managers/1/EthernetInterfaces/eth0 to get information about the NIC, the results returned are garbled; The returned result is in the style of the above alert message.

Process Analysis

 Issue with Server Firmware HDM: 3.33
The problem has been consistently replicated in the laboratory by simulating the customer firmware version.
The issue is also reproducible in version 3.34.01. However, after upgrading the firmware to version 3.35.01 or higher, the problem no longer occurs.  

Solution

The root cause of the issue was the use of an uninitialized index during the redfish retrieval, resulting in a null pointer. This problem has been resolved in the latest HDM versions beyond 3.35.
To resolve this issue, it is recommended to upgrade the HDM firmware version to 3.35.01 or higher.  

Please rate this case:   
0 Comments

No Comments

Add Comments: