github NVIDIA/NVSentinel v1.33.0
Release v1.33.0

one hour ago

Release v1.33.0

This release lets a health event override choose a custom remediation action, adds offline tests for kubernetes-object-monitor policies, and adds the service version to traces. It also fixes several PostgreSQL change-stream problems that skipped health events, keeps a manual uncordon in effect when its datastore write fails, and adds a GPUReset condition that reports whether the reset succeeded. PostgreSQL installs made from the example values file must repair a table before the upgrade. Read the Upgrade Notes below.

Note

DCGM 3.x support in GPU Health Monitor is deprecated. It will be removed on 30 November 2026. DCGM 3.x is end-of-life and gets no more patches. After the removal, NVSentinel does not detect faults on nodes that run DCGM 3.x. To find these nodes, run kubectl get nodes -l nvsentinel.dgxc.nvidia.com/dcgm.version=3.x. Upgrade DCGM on these nodes to 4.x before you upgrade to the release that removes DCGM 3.x support. For the steps in each global.dcgm.mode, see GPU Health Monitor: DCGM 3.x Support Removal. To give feedback, comment on #2102.

Upgrade Notes

Repair resume_tokens on PostgreSQL installs made from the example values file (#2401, #2400, #2373, #2347)

Earlier versions of values-postgresql.yaml created the resume_tokens table from an init script, with a last_event_id column where the modules expect resume_token. On such an install, the modules logged Failed to load resume position and received the whole changelog again after each restart. In this release, a module that cannot load its saved position fails at startup. On such an install, fault-quarantine, node-drainer, fault-remediation and health-events-analyzer then restart in a loop. The example file no longer sets an init script, but an existing table keeps its columns.

Before you upgrade, run \d resume_tokens in the NVSentinel database. If the output lists last_event_id, replace the table in one transaction:

BEGIN;
DROP TABLE resume_tokens;
CREATE TABLE resume_tokens (
    client_name VARCHAR(255) PRIMARY KEY,
    resume_token JSONB NOT NULL,
    last_updated TIMESTAMPTZ DEFAULT NOW()
);
COMMIT;

The old table holds no saved positions. The running modules save their position to the new table after the next health event that they process.

GPUReset Succeeded condition (#2462)

janitor sets Complete=True on each GPUReset that ends, also when the reset failed. Thus a fault-remediation action that reads Complete counted a failed reset as successful. janitor now also sets a Succeeded condition when a GPUReset ends: True with the reason GPUResetSucceeded, or False with the failure reason and message. It also adds this condition to the GPUResets that ended before the upgrade. With Succeeded, a health event that fault-remediation processes after a failed GPUReset gets a new GPUReset, instead of a remediated status.

If your Helm values send an action to GPUReset with completeConditionType: "Complete", change the value to "Succeeded" under fault-remediation.maintenance.actions. Helm keeps the value that you set, so make this change yourself. Use Succeeded only with janitor v1.33.0 or later. An earlier janitor does not set the condition, so fault-remediation reads each GPUReset as still running.

RepeatedXIDErrorOnSameGPU skips XIDs that need no hardware action (#2340, #2339)

RepeatedXIDErrorOnSameGPU counted every XID except 31 and 45. An application that crash-loops on a GPU raises its XID again on each restart. About five restarts then escalated a healthy GPU to a fatal CONTACT_SUPPORT derived event, and the default fault-quarantine rule set for health-events-analyzer quarantined the node. The rule now skips each XID that the XID catalogue resolves as IGNORE or RESTART_APP, and XID 45, 68 codes in all. XIDs 157 and 161 are IGNORE in the catalogue but still count, because a repeat shows that repairs keep failing on the GPU.

The fix is in the default value of health-events-analyzer.config. helm upgrade --reuse-values keeps your previous value. If you run health-events-analyzer, upgrade with --reset-then-reuse-values (Helm 3.14 or later). It keeps your own values and applies the new chart defaults. If you set your own config, copy the three exclusion lists of the rule from the v1.33.0 chart.

Major New Features

Custom Remediation Action from a Health Event Override (#2442, #2424)

A health event override can now send a fault to a custom remediation action. Set recommendedAction: "CUSTOM" and customRecommendedAction in the override of the rule. fault-remediation finds the action by this name in maintenance.actions.

platformConnector:
  transformers:
    OverrideTransformer:
      rules:
        - name: "nvlink-to-hardware-repair"
          when: 'event.checkName == "GpuNvlinkWatch" && event.isFatal == true'
          override:
            recommendedAction: "CUSTOM"
            customRecommendedAction: "hardware-repair"

platform-connectors does not start if a rule sets CUSTOM without a name, sets an empty name, or sets a name without CUSTOM. An override to a built-in action now clears the customRecommendedAction of the health event. nvsentinel_overrides_applied_total counts customRecommendedAction as its own field.

Offline Tests for kubernetes-object-monitor Policies (#2352, #2351)

kubernetes-object-monitor policies are CEL expressions that run only in the cluster, so a typo or a wrong match showed only after rollout. The new --test-policies flag of the kubernetes-object-monitor binary checks the policies in --policy-config-path against the cases in a YAML test file. It uses the same evaluation as the monitor in the cluster. The test file lists the cluster objects that lookup() sees, and cases with a resource, a policy name and the expected match. The binary prints one line for each case. It exits with 0 when all cases pass, 1 when a case fails, and 2 when the configuration or the test file is not valid. The kubernetes-object-monitor documentation gives the file format and a docker run example.

Service Version in Traces (#2394, #2386)

The spans of each NVSentinel module now carry service.version with the build version, and the telemetry.sdk.* attributes. The modules read OTEL_RESOURCE_ATTRIBUTES. If the value is malformed, a module keeps its valid attributes and logs a warning. service.name and service.version always come from the module, so OTEL_SERVICE_NAME and OTEL_RESOURCE_ATTRIBUTES do not change them. To add pod, namespace and node attributes, use the k8sattributes processor of the OpenTelemetry Collector.

Drain and Remediation Decisions on the Health Event (#2393, #2206)

This release extends the recorded decisions (ADR-064) to the already-drained check of node-drainer. The check derived the drain scope of each earlier health event again from the current partialDrainEnabled. After a change to that setting, an earlier partial drain made a health event that needed a full drain AlreadyDrained, so node-drainer did not evict the pods on the other GPUs. The check now reads the recorded scope of each health event. A health event that node-drainer marks AlreadyDrained now records its scope too. The drain_scope label of node_drainer_events_processed_total also comes from the recorded scope.

Metrics

  • fault_quarantine_event_backlog_count reports -1 until the first checkpoint (#2414): fault-quarantine reported 0 from its start until it processed its first health event, also when the datastore still held health events for it, for example while the circuit breaker was tripped. The gauge now reports -1, which means unknown, until fault-quarantine records its first checkpoint. Make your alerts and dashboards treat -1 as unknown.
  • number_of_fields reports the field inventory (#2471, #2468): this gpu-health-monitor gauge stayed at 0. It now reports the number of device fields that the DCGM bindings provide.

Bug Fixes & Reliability

  • A manual uncordon stays in effect when its datastore write fails (#2405, #2404): when you uncordoned a quarantined node by hand, fault-quarantine cleaned the node first and then wrote Cancelled to the datastore. If that write failed, fault-quarantine only logged it. node-drainer and fault-remediation then drained and rebooted the node that you had put back. Fault-quarantine now writes Cancelled first, and cleans the node only after the write succeeds. It retries a failed write from a queue. The annotations stay on the node until then, so a restart also retries the write. A manual untaint and a switch from dry run to a live run work the same way.
  • The PostgreSQL change stream does not skip health events (#2347, #2288, #2373, #2159, #2152): with the PostgreSQL datastore:
    • The watcher saved its read position as its resume position. An acknowledgment of one health event thus saved a position past the health events that were still buffered, and a restart skipped them. The watcher now saves the newest position that has no unacknowledged health event before it. If the save fails, the watcher now returns an error, and health-events-analyzer and event-exporter exit and replay from the saved position.
    • A new watcher with no saved position started from the clock of the module, and saved nothing until its first acknowledgment. A crash before then skipped all health events since the first start. The watcher now saves its start position, from the database clock, before it reads.
    • If the first LISTEN connection failed at startup, the change stream did not start, and the pod still reported Ready. The watcher now polls while LISTEN connects. The pod is ready only after the listener subscribes or a poll succeeds.
  • fault-remediation resumes after an expired health event (#2403, #2402): with MongoDB, the change stream of fault-remediation matched updates on the looked-up document. MongoDB cannot resume after a change whose document expired, so after a restart the watcher reopened past that change. fault-remediation then skipped the next drained health event, and the node stayed cordoned at drain-succeeded with no maintenance CR. The change stream now matches only on the fields that the update wrote.
  • lifecycle-manager does not release a node that is quarantined again (#2032, #2031): a new quarantine can start after the last readiness check of a ValidationRequest but before the release. The earlier successful result then removed the cordon and taints of the new quarantine. lifecycle-manager now checks the readinessCriteria on the live Node at the release. A node that fails a criterion keeps its scheduling gate. The request then completes as Failed, with a ReleaseBlocked condition (reason NodeReadinessViolation) that names the failing nodes and criteria.
  • Cold-start recovery stops cleanly when the circuit breaker refuses a health event (#2440, #2438): when the circuit breaker tripped again during cold-start recovery, the recovery counted each refused health event as a failure. fault-quarantine then exited, and restarted into the tripped state. The recovery now stops at the refused health event, saves the results that it completed, and leaves the refused health events for the next start. fault_quarantine_cold_start_events_total{result="failed"} no longer counts refused health events.
  • The circuit breaker ignores the cordons of deleted nodes (#2383, #2382): the breaker kept the cordon of a deleted node in its window. On a small or autoscaled GPU fleet, the replacement of a quarantined node then tripped the breaker. This happened at once when no GPU nodes were left, or at the next check after GPU nodes scaled back up. With 0 GPU nodes counted, the breaker now trips only if a node cordoned in the window is still in the cluster. When the last GPU node is deleted, the breaker drops the cordons of the deleted nodes.
  • gpu-health-monitor reads the GPU metadata again after a reboot (#2317, #2316): gpu-health-monitor read gpu_metadata.json one time. The file survives a reboot, and metadata-collector rewrites it only when its pod starts. Thus after a reboot, gpu-health-monitor reported faults with the GPU UUID and PCI address of the previous boot. It now reads the file again when the file changes.
  • syslog-health-monitor scans the current boot after a reboot (#2407, #2406): the post-reboot scan ran only when the state file held the boot ID of an earlier boot. The chart keeps that file under /var/run, which a reboot clears. So after a reboot, syslog-health-monitor started at the end of the journal and missed the XIDs logged before it started. The scan now runs when the boot ID is different from the saved one, also when no boot ID is saved. A first install and a new node also read the bootLookbackWindow of the current boot, default 2h.
  • The MongoDB init Job follows its pod template (#2381, #2378): the name of the create-mongodb-database Job included only the init inputs. A change to mongodb-store.mongodb.nodeSelector, tolerations, images or image pull secrets kept the name, so helm upgrade and the Argo CD diff failed with an immutable-field error. The name now includes a hash of the pod template. At the first upgrade, the Job gets a new name and runs one more time. Each init step is idempotent.
  • labeler memory on large fleets (#2457, #2456): with expected device counts on, labeler read every node of a partition on each node event, so a restart on a large fleet did N × N work. On 5,000 nodes, labeler stayed at about 1.3 cores, and its memory grew about 22 MB a minute. labeler now keeps the expected count of each partition. It reads a partition again only when the highest count in the partition goes down.
  • nic-health-monitor uses the host default route (#2396, #2395): nic-health-monitor read the route table of its own pod, not the route table of the host. It did not find the default-route NIC of the host, and it classified that NIC as a compute NIC. It now reads the route table of the host.
  • nic-health-monitor writes its state file less often (#2431): the one-second velocity counters moved their snapshot timestamps on each poll, also when the values did not change. nic-health-monitor then rewrote its state file every second or two. It now saves a timestamp-only change at most one time a minute. A value change, a breach or a recovery still saves at once.
  • NVLink down on an unbridged RTX 3090 (#2444, #2443): with gpu-health-monitor.suppressNvlinkDownOnUnbridgedPcie on, gpu-health-monitor did not suppress DCGM_FR_NVLINK_DOWN on a bridge-capable GeForce RTX GPU, such as an RTX 3090, with no bridge installed. It now classifies such a GPU as unbridged when the GPU metadata reports NVLink hardware links but no active links.
  • RebootNode RebootCompleted condition (#2455, #2453): the NodeReady condition of a RebootNode reports whether the reboot completed, not whether the node is Ready. Thus a timed-out reboot showed NodeReady=False on a node that was Ready. janitor now also sets the RebootCompleted condition to the same value. NodeReady is deprecated, and janitor continues to set it.
  • GPUReset Succeeded condition (#2462): see the Upgrade Notes.
  • Kubernetes sink permissions (#2472, #2469): with platformConnector.k8sConnector.enabled: false, the platform-connectors roles still allowed writes of node status and Kubernetes Events. The node-local role also allowed pod eviction, which platform-connectors does not use. The chart now grants the node status and Event writes only when the Kubernetes sink is on, and it no longer grants pod eviction.
  • RepeatedXIDErrorOnSameGPU exclusions (#2340, #2339): see the Upgrade Notes.
  • values-postgresql.yaml init script (#2401, #2400): see the Upgrade Notes.

Documentation

  • Integrating an External Health Detector (#2263): a new tutorial shows how to connect an external health detector to NVSentinel through kubernetes-object-monitor. It gives the rules that a detector must follow, and policy examples for node-level and GPU-level faults.
  • Apply the janitor CRDs before you enable janitor (#2432): Helm does not apply the CRDs of a subchart during helm upgrade. If you enable janitor on an existing install without its CRDs, janitor crash-loops, and fault-remediation cannot create maintenance CRs. The janitor documentation now gives the steps to check and apply the CRDs from the chart first.
  • Percona MongoDB on Linux kernel 6.19 and newer (#2416): on kernels 6.19 through 7.0.13, MongoDB 8.0 does not start, and the Percona backend stays in CrashLoopBackOff. The MongoDB store documentation now describes how to check a node, and the GLIBC_TUNABLES=glibc.pthread.rseq=1 workaround.
  • Simplified Technical English (#2487): the published documentation now uses ASD-STE100 Simplified Technical English and one set of terms on every page.

Chores

  • Dependency license check (#2434, #2426): make dependency-licenses-lint runs go-licenses on the core Go modules, and fails on a third-party dependency whose license is not allowed. It runs in make lint-test-all and in the lint workflow. .dependency-licenses.yaml lists the allowed licenses and the exceptions.
  • Dependabot Go module fixup without pull_request_target (#2437, #2436): GitHub blocks pull_request_target workflows by default in public repositories from 2 December 2026. The Dependabot Go module fixup now runs as two workflows. The second workflow treats the patch from the first workflow as untrusted.
  • CEL guard E2E test (#2308, #2301): the test sent its fatal XID before fault-quarantine saw the node label, so the test failed in 20 E2E runs. The test now applies the node label before it restarts fault-quarantine.
  • Demo fixes (#2415, #2411, #2491, #2492, #2493, #2490): the demos show the Helm error when an install fails, and list and check column as a prerequisite. Their cleanup hint removes only the KIND node image. Step 3 of the custom remediation demo stops at once if the remediation already finished.

Acknowledgments

This release includes contributions from:

Thank you to everyone who contributed code, testing, documentation, design reviews, and feedback! Special thanks to first-time contributors @iExalt, @jnummelin, @kevinmingtarja, @mrVectorz, @redhat-telco-guy, and @vito-lin-dev.

Container Images

See versions.txt for the full list of container images and versions.

Helm Chart

Install with:

helm install nvsentinel oci://ghcr.io/nvidia/nvsentinel \
  --version v1.33.0 \
  --namespace nvsentinel \
  --create-namespace

To upgrade from v1.32.0 — review the Upgrade Notes above first:

helm upgrade nvsentinel oci://ghcr.io/nvidia/nvsentinel \
  --version v1.33.0 \
  --namespace nvsentinel \
  --reuse-values

Don't miss a new NVSentinel release

NewReleases is sending notifications on new releases.