fix(gpu-health-monitor): add is_fatal and processing_strategy labels to active events, suppress NVLink BER codes #1994
All Vouch review confidence checks passed
Residual risk 0.21 = Change Risk (0.52) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.52 · 650 lines diff across 8 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.388
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #1994"
general
weight: 0.35
lalitadithya
Summary
Two gpu-health-monitor changes from the DCGM 4.7 rollout. Refs #1990, #1944.
1.
is_fatalandprocessing_strategylabels ondcgm_health_active_events(#1990)On DCGM 4.7,
DCGM_FR_NVLINK_ERROR_CRITICAL(71) is raised from the since-boot "link recovery successful" counter and stays active until the node reboots. The code maps toNONE, so no node is cordoned. Butdcgm_health_active_eventsshows these as standing NVLink errors, and alerts cannot tell them apart from fatal events.is_fatallabel ("true"/"false") todcgm_health_active_events. It uses the same rule as the event'sisFatal: therecommendedActionindcgmerrorsmapping.csvis notNONE.is_fatal="true", because gpu-health-monitor always sends those events withisFatal=True.processing_strategylabel. Its value is theProcessingStrategyenum name that gpu-health-monitor sends with the event, for exampleEXECUTE_REMEDIATIONorSTORE_ONLY. It uses the effective strategy, so the per-check store-only checks (GpuThermalMarginWatch,GpuPowerBrakeWatch,GpuDcgmUnresponsive) showSTORE_ONLYeven when the global strategy isEXECUTE_REMEDIATION.processing_strategyseries that the failure set, even if the strategy config changed in between.is_fatal,processing_strategyshows what gpu-health-monitor sends, not the final decision. For example, platform-connectors can still change the strategy toSTORE_ONLYon a node withnvsentinel.dgxc.nvidia.com/managed=false.Alerts can use
dcgm_health_active_events{is_fatal="true"}to skip informational events, andprocessing_strategyto skip events that NVSentinel only stores. The DCGM behaviour is tracked in NVIDIA/DCGM#318.2. Suppress the NVLink BER codes by default (#1944)
DCGM 4.7.0 removed the NVLink BER health and diagnostic checks because they failed healthy GPUs (release notes). Older hostengines still report them. They map to
CONTACT_SUPPORT, so the default quarantine policy cordons the node.DCGM_FR_NVLINK_EFFECTIVE_BER_THRESHOLD(119) andDCGM_FR_NVLINK_SYMBOL_BER_THRESHOLD(121) to the defaultgpu-health-monitor.dcgmHealthCheck.suppressedErrorCodesin the chartvalues.yamland invalues-full.yaml.DCGM_FI_DEV_NVLINK_SYMBOL_BER_RATIO(1216) andDCGM_FI_DEV_NVLINK_EFFECTIVE_BER_RATIO(1218) with a threshold from your hardware vendor. A customsuppressedErrorCodeslist replaces the default list.Testing
test_active_events_metric_is_fatal_matches_sent_eventandtest_connectivity_failure_active_events_metric_is_fatal.helm templaterenders the six default codes from the chart and fromvalues-full.yaml, and an empty list withsuppressedErrorCodes: [].Type of Change
Component(s) Affected
Testing
Checklist
Testing:-
Must-have tests
| # | Test | Expected result | Result |
|---|---|---|---|
| 1 | Inject a FAIL code that maps to an action: XID 95,
RESTART_VM. | The label isis_fatal="true". The event hasisFatal=true. | Pass || 2 | Inject a FAIL code that maps to
NONE: XID 48. | The label isis_fatal="false". The label follows the CSV action, not the DCGM severity. | Pass || 3 | Inject a WARN code that maps to an action: InfoROM invalid,
COMPONENT_RESET. | The label isis_fatal="true". | Pass || 4 | Set a
truecode and afalsecode on one watch: pending page retirement and XID 43. Then clear thetruecode. | The cleared series goes to 0. The other series stays at 1. | Pass || 5 | Change the DCGM version while codes are active. This restarts the DCGM hostengine. | The connectivity series goes to
true, then to 0. Each GPU series goes to 0 with its own label. No series stays at 1. | Pass || 6 | Change the CSV mapping, then restart GHM. | The label changes with the CSV. A missing row and an invalid value both give
true, because GHM usesCONTACT_SUPPORTas the default. | Pass || 7 | Inject NVLink BER on fields 1215 and 1217, on DCGM 4.5.3, 4.6.1 and 4.7.0. | DCGM 4.5.3 and 4.6.1 report FAIL. GHM sends no event and sets no series.
dcgm_health_check_suppressed_incidents_totalincreases. DCGM 4.7.0 reports healthy. | Pass |In every test, the label value is the same as the event
isFatalvalue.<!-- This is an auto-generated comment: release notes by coderabbit.ai -->
Summary by CodeRabbit
Summary
New Features
Active GPU health-event metrics now include
is_fatalandprocessing_strategylabels, showing each event’s fatality and handling strategy.Bug Fixes
NVLink BER threshold errors reported by older DCGM host engines are suppressed by default. Custom suppression lists replace the defaults.
Documentation
Clarified that suppressing BER threshold errors also hides genuine high-BER events, while other NVLink watch codes remain reportable. Disabling suppression restores reporting of BER and throttling events.
STORE_ONLYevents trigger no module action.<!-- end of auto-generated comment: release notes by coderabbit.ai -->