Processor Resources
mindx-dl-deviceinfo-<nodename>
Table 1 lists the NPU information reported by Ascend Device Plugin.
Parameter |
Meaning |
Remarks |
|---|---|---|
huawei.com/Ascend910 |
Name of the available processor on the current node. If there are multiple processors, use commas (,) to separate them. |
This field has been unavailable and will not be displayed in later versions. By default, the available processors of a node are maintained by Volcano, and this field does not take effect. To make the field take effect, change the value of the Volcano configuration parameter self-maintain-available-card to false. |
huawei.com/Ascend910-NetworkUnhealthy |
Name of the processor with unhealthy network on the current node. If there are multiple processors, use commas (,) to separate them. |
- |
huawei.com/Ascend910-Unhealthy |
Name of the unhealthy processor on the current node. If there are multiple processors, use commas (,) to separate them. |
- |
huawei.com/Ascend910-Recovering |
Processor being restored on the current node. If there are multiple processors, use commas (,) to separate them. |
- |
huawei.com/Ascend910-Fault |
Detailed fault information about a processor |
Array object, including fault_type, npu_name, large_model_fault_level, fault_level, fault_handling, fault_code, and fault_time_and_level_map. |
-fault_type |
Fault type |
|
-npu_name |
Name of the faulty processor. This parameter is left empty if the node is faulty. |
String |
-large_model_fault_level |
Fault handling type. This parameter is left empty if the node is faulty. |
NOTE:
|
-fault_level |
||
-fault_handling |
||
-fault_code |
Fault code, a string of characters separated by commas (,). |
For details about processor fault codes, see Processor Fault Code Reference Documents. |
-fault_time_and_level_map |
Fault code, fault occurrence time, and fault handling level. |
- |
SuperPodID |
SuperPoD ID |
String |
ServerIndex |
Relative position of the current node in a SuperPoD |
|
CheckCode |
Verification code |
- |
Table 2 describes the interconnect device fault information reported by Ascend Device Plugin.
Resource |
Meaning |
Description |
|---|---|---|
FaultCode |
List of interconnect device fault codes on the current node |
Array object, including the EventType, AssembledFaultCode, PeerPortDevice, PeerPortId, SwitchChipId, SwitchPortId, Severity, Assertion, and AlarmRaisedTime fields. |
-EventType |
Alarm ID |
- |
-AssembledFaultCode |
Fault code |
- |
-PeerPortDevice |
Type of the device interconnected |
|
-PeerPortId |
ID of the interconnected device |
- |
-SwitchChipId |
ID of the faulty UnifiedBus chip |
Numbered from 0 |
-SwitchPortId |
ID of the faulty UnifiedBus port |
Numbered from 0 |
-Severity |
Fault severity |
|
-Assertion |
Event type |
|
-AlarmRaisedTime |
Time when a fault or event occurs |
- |
FaultLevel |
Fault handling level of the current node |
The highest fault level in FaultCode is used. The options are NotHandle, SubHealthFault, Separate, and RestartRequest. |
UpdateTime |
Update time when a fault is reported |
- |
NodeStatus |
Health status of the current node |
Corresponds to the value of FaultLevel, including NotHandle: Healthy, SubHealthFault: SubHealthy, Separate: UnHealthy, and RestartRequest: UnHealthy. |
FaultTimeAndLevelMap |
List of fault occurrence time and fault handling levels |
Array object, including fault code, faulty UnifiedBus chip ID, faulty UnifiedBus port ID, fault_time, and fault_level. The key consists of the fault code, faulty UnifiedBus chip ID, and faulty UnifiedBus port ID, which are connected by underscores (_). |
-fault_time |
Time when a fault occurs |
- |
-fault_level |
Fault handling level |
- |
Table 3 describes the description information in the ConfigMap of Ascend Device Plugin.
Resource |
Meaning |
Description |
|---|---|---|
Description |
Description |
The available processor information of the node in this ConfigMap has been unavailable. By default, the available processors of a node are maintained by Volcano, and the processor information maintained in this ConfigMap does not take effect. To make the field take effect, change the value of the Volcano configuration parameter self-maintain-available-card to false. |
Table 4 describes the NPU fault information reported by Ascend Device Plugin. The object is named <device-plugin-pod-name>.<reporting time><faulty processor ID>, and its type is Event.
Resource |
Meaning |
Description |
|---|---|---|
type |
Event severity |
It can only be Warning. |
message |
Event content, including the node name, processor ID, fault occurrence or recovery type, fault code, and fault severity. |
String |
reason |
Reason for reporting an event |
|
action |
Fault level |
String. For details, see Table 1. |
source |
Fault source |
Structure, specifies the node where a fault occurs. |
eventTime |
Time when a fault occurs |
Timestamp |
involvedObject |
Object involved in a fault |
Structure. The Kind, Namespace, and Name fields specify the pod name of Ascend Device Plugin. Once specified, the event can be queried directly through the Event object or retrieved when viewing the current pod details. |
reportingComponent |
Event controller |
The value can only be device-plugin. |
reportingInstance |
Event reporting instance |
String. The value is the Ascend Device Plugin pod name. |
deviceNameCustomization.json
Device names can be customized in deviceNameCustomization.json. When compiling the Ascend Device Plugin image, place this file in the same directory as the binary package to change the resource type and resource name displayed by Ascend Device Plugin to custom names.
Resource |
Description |
Value |
|---|---|---|
ResourceType |
Initial device name, which is mandatory. |
Only Ascend 910, Ascend 310, and Ascend 310P are supported. |
DevicePublicType |
Type of the device displayed externally, for example, huawei.com/Ascend910. This parameter is mandatory. |
Only the xxx.xxx/xxx format is supported. The value of xxx can contain 10 to 32 characters, including uppercase letters, lowercase letters, and digits. |
DevicePublicNamePre |
Prefix of the device name displayed externally, for example, Ascend910-. For the name of the device displayed externally, Ascend Device Plugin appends the physical ID of the processor to the prefix. This parameter is mandatory. |
The value can contain 2 to 16 characters, including uppercase letters, lowercase letters, hyphens (-), and digits. The value must start with an uppercase or lowercase letter. |
PodConfigurationName |
Details of the mounted processor information displayed in the pod annotation. This parameter is mandatory when ResourceType is set to Ascend910. |
The value can contain 10 to 63 characters, including uppercase letters, lowercase letters, hyphens (-), slashes (/), periods (.), and digits. The value must start with an uppercase or lowercase letter and end with an uppercase or lowercase letter or digit. |