Report faulty sub-block

This document explains how to report a faulty reservation sub-block for A4X Max and A4X compute instances that are part of a Slurm cluster or other compute instance-based clusters. If you notice an unresolvable hardware issue across multiple hosts in a sub-block, or the entire sub-block, you can report the sub-block as faulty so that Compute Engine can start repairs.

Reporting a faulty sub-block is supported only for A4X Max and A4X reservations. To report faulty hosts in other scenarios, see the following:

Limitations

When you report a faulty sub-block, the following limitations apply:

  • You can only report a faulty sub-block if the reservation meets all of the following conditions:

    • The reservation uses an A4X Max or A4X machine type. Running the API on other GPU machine series, even if they are part of an AI Hypercomputer reservation, might return an error or fail to report the host machines as faulty.

    • You invoke the operation on a reservation sub-block by specifying both the block name and the sub-block name. If you invoke the operation on any other topology level of the reservation, then the operation fails.

  • Reporting a faulty sub-block isn't supported through GKE APIs or node labels, unlike reporting a single faulty host through GKE.

  • Reporting a sub-block as faulty immediately disrupts all running compute instances in the sub-block. If the instances are part of a Slurm cluster, drain the affected Slurm nodes before you report the sub-block as faulty.

  • If you specify NVLINK_SWITCH as the failure component, then Compute Engine processes only the first fault reason that you specify in the request.

  • The SILENT_DATA_CORRUPTION fault behavior value isn't supported when you report a faulty sub-block. To report silent data corruption issues for a sub-block, specify GPU_ERROR as the fault behavior instead.

  • The gcloud compute reservations sub-blocks report-subblock-as-faulty command doesn't support the --async flag; passing --async returns an error. When you run the command without the --async flag, the command takes approximately 8 to 10 minutes to complete.

  • Unlike single-host fault reporting, VM audit logs don't include an upcomingMaintenance notification before Compute Engine terminates the running compute instances in the sub-block. To verify which maintenance operation disrupted a running instance, check for terminated instances and view the details of the sub-block.

Before you begin

Select the tab for how you plan to use the samples on this page:

gcloud

In the Google Cloud console, activate Cloud Shell.

Activate Cloud Shell

At the bottom of the Google Cloud console, a Cloud Shell session starts and displays a command-line prompt. Cloud Shell is a shell environment with the Google Cloud CLI already installed and with values already set for your current project. It can take a few seconds for the session to initialize.

REST

To use the REST API samples on this page in a local development environment, you use the credentials you provide to the gcloud CLI.

    Install the Google Cloud CLI.

    If you're using an external identity provider (IdP), you must first sign in to the gcloud CLI with your federated identity.

For more information, see Authenticate for using REST in the Google Cloud authentication documentation.

Required roles

To get the permissions that you need to report a faulty sub-block, ask your administrator to grant you the following IAM roles:

  • Compute Admin (roles/compute.admin) on the project
  • To view the state of a faulty sub-block report operation by using Cloud Logging: Logs Viewer (roles/logging.viewer) on the project

For more information about granting roles, see Manage access to projects, folders, and organizations.

These predefined roles contain the permissions required to report a faulty sub-block. To see the exact permissions that are required, expand the Required permissions section:

Required permissions

The following permissions are required to report a faulty sub-block:

  • To create a faulty sub-block report: compute.reservationSubBlocks.reportFaulty on the project
  • To view the details of a sub-block: compute.reservationSubBlocks.get on the project
  • To view a list of operations by using Logging: logging.operations.list on the project
  • To view the details of an operation by using Logging: logging.operations.get on the project
  • To view a list of operations in Compute Engine: compute.zoneOperations.list on the project
  • To view the details of an operation in Compute Engine: compute.zoneOperations.get on the project

You might also be able to get these permissions with custom roles or other predefined roles.

Understand the faulty sub-block report process

When you report a sub-block as faulty, Compute Engine marks the sub-block and its hosts as faulty, stops any running compute instances, and starts repairs, as described in the following steps:

  1. Marks the sub-block and hosts as faulty: Compute Engine starts a report faulty sub-block operation, which creates a sequence of sub-operations to mark the sub-block and its underlying host machines as faulty. While these sub-operations run, the report faulty sub-block operation remains in the RUNNING state and takes approximately 8 to 10 minutes to complete. To review the operation state, see Review report faulty sub-block operations in this document.

  2. Stops running instances and starts repairs: Within approximately 10 to 15 minutes after you start the operation, Compute Engine stops any compute instances running on the hosts in the sub-block. Depending on the automatic restart setting configured for each instance:

    • If automatic restart is enabled, then the instance transitions to the REPAIRING state.
    • If automatic restart is disabled, then the instance transitions to the TERMINATED state.
  3. Updates reservation health counters: When you report a sub-block as faulty, Compute Engine updates the healthInfo fields for both the sub-block and its parent block. You can view these fields by using the gcloud compute reservations sub-blocks describe command or by checking the reservation audit logs:

    • Sub-block healthInfo fields:

      • healthStatus: changes to DEGRADED because all hosts in the sub-block are sent for repair.
      • degradedHostCount: changes to the total number of hosts in the sub-block because all hosts in the sub-block are immediately sent for repair.
      • healthyHostCount: changes to 0.
    • Block healthInfo fields:

      • healthStatus: changes to DEGRADED. Compute Engine marks the health status of a block as DEGRADED if at least one sub-block in the block is degraded.
      • degradedSubBlockCount: increments by 1.
      • healthySubBlockCount: decrements by 1.
  4. Completes repairs and restarts instances: Repairing a faulty sub-block typically takes 12 hours to 14 days. After the repair operation completes, Compute Engine does one of the following if you haven't deleted the compute instances:

    • If automatic restart is enabled, then Compute Engine automatically restarts the instances and they return to the RUNNING state.
    • If automatic restart is disabled, then the instances remain in the TERMINATED state until you manually restart the instances.

Troubleshoot issues before you report a faulty sub-block

Before you report a faulty sub-block, troubleshoot the issue to confirm if it's a hardware problem across multiple hosts, rather than an issue with your workload or cluster configuration. This approach helps prevent unnecessary downtime for your workloads.

Check for GPU memory or Xid errors

If you observe GPU memory or Xid errors on one or more compute instances, verify whether manual recovery measures—such as resetting the GPUs or rebooting the affected instances—can resolve the issue before reporting a host or sub-block as faulty. For more information, see Review Xid messages.

Check for GPU performance issues and stragglers

If you notice slow performance, use the straggler detection service to identify VMs that might be performing slower than others in the cluster.

Monitor GPU temperatures and thermal violations

If you see thermal violation warnings in your logs or reported by NVIDIA Data Center GPU Manager (DCGM), review the following guidance:

  • Warnings versus critical errors: DCGM diagnostics might report thermal violations as warnings with a severity of monitor. This severity indicates that the GPUs can still run workloads, but you should monitor them. For instructions on running DCGM diagnostics, see Troubleshoot GPU VMs by using NVIDIA DCGM.
  • False positives: NVIDIA is investigating an increase in the frequency of thermal violation reports on GPUs that don't show signs of actual thermal issues.
  • Recommendation: Before reporting a host or sub-block as faulty due to thermal warnings, check whether the actual GPU temperatures exceed safe thresholds and whether the warnings affect the performance of your workload. To check GPU temperatures and performance for supported machine series, see GPU performance metrics. If temperatures remain stable and performance is normal, monitor the GPU instead of reporting the host or sub-block as faulty.

For more information about GPU troubleshooting, see Troubleshoot GPU VMs in the Compute Engine documentation.

Report a faulty sub-block

To report a faulty sub-block, complete the following steps:

  1. Identify the reservation, block, and sub-block names. For instructions on how to find the block and sub-block where your compute instances run, see View topology of a compute instance and View the topology of a reservation.

  2. Optional: Back up Local SSD data. When the compute instances in the sub-block stop, Compute Engine automatically discards the data on any Local SSD disks that are attached to those instances. You can't recover Local SSD data after Compute Engine discards it.

    For instructions on how to preserve Local SSD data, see Local SSD data backup.

  3. Report the faulty sub-block. To report a faulty sub-block, select one of the following options:

    gcloud

    To report a faulty sub-block, run the gcloud compute reservations sub-blocks report-subblock-as-faulty command without the --async flag:

    gcloud compute reservations sub-blocks report-subblock-as-faulty RESERVATION_NAME \
        --block-name=BLOCK_NAME \
        --sub-block-name=SUB_BLOCK_NAME \
        --disruption-schedule=IMMEDIATE \
        --failure-component=FAILURE_COMPONENT \
        --fault-reasons=behavior=FAULT_REASON,description="DESCRIPTION" \
        --zone=ZONE
    

    The Google Cloud CLI prompts you to confirm the operation because this command sends the entire sub-block and all of its host machines for repair. To continue, enter y.

    Replace the following:

    • RESERVATION_NAME: the name of the reservation that contains the sub-block.

    • BLOCK_NAME: the name of the block within the reservation.

    • SUB_BLOCK_NAME: the name of the sub-block to report as faulty.

    • FAILURE_COMPONENT: the component in the sub-block that experienced the fault. Specify one of the following values:

      • MULTIPLE_FAULTY_HOSTS: multiple host machines in the sub-block experienced the fault.
      • NVLINK_SWITCH: the NVLink switch in the sub-block experienced the fault. If you specify NVLINK_SWITCH, then Compute Engine processes only the first fault reason in --fault-reasons.
    • FAULT_REASON: the fault behavior that you observed in the sub-block. You can specify multiple fault reasons in a single command by repeating the --fault-reasons flag for each issue. Specify one of the following values:

      • GPU_ERROR: the sub-block experienced an unrecoverable GPU error, such as an XID error, or silent data corruption.
      • PERFORMANCE: the sub-block experienced performance issues.
      • SWITCH_FAILURE: the sub-block experienced a switch failure.
      • FAULT_BEHAVIOR_UNSPECIFIED: the fault behavior in the sub-block is unknown.
      • NVSWITCH_FAULT_SWITCH_ERROR (Preview): use with --failure-component=NVLINK_SWITCH as the default for general or intermittent NVSwitch issues.
      • NVSWITCH_FAULT_CONTROLLER_ERROR (Preview): use with --failure-component=NVLINK_SWITCH when telemetry or monitoring specifically indicates an NMX-C controller error.
      • NVSWITCH_FAULT_DEGRADED_BANDWIDTH (Preview): use with --failure-component=NVLINK_SWITCH when you observe performance degradation, such as dropped bandwidth or degraded link health.
    • DESCRIPTION: optional, but recommended. A description of the issue that you observed, such as XID numbers, details of failing tests, networking-related failure information, or telemetry findings. Providing detailed failure information helps Google Cloud troubleshoot issues faster.

    • ZONE: the zone where the reservation exists.

    REST

    To report a faulty sub-block, make a POST request to the reservationSubBlocks.reportFaulty method.

    When you report a faulty sub-block with failureComponent set to MULTIPLE_FAULTY_HOSTS, you can specify one or more fault reasons in the faultReasons array. If failureComponent is NVLINK_SWITCH, Compute Engine processes only the first fault reason:

    POST https://compute.googleapis.com/compute/v1/projects/PROJECT_ID/zones/ZONE/reservations/RESERVATION_NAME/reservationBlocks/BLOCK_NAME/reservationSubBlocks/SUB_BLOCK_NAME/reportFaulty
    
    {
      "disruptionSchedule": "IMMEDIATE",
      "failureComponent": "FAILURE_COMPONENT",
      "faultReasons": [
        {
          "behavior": "FAULT_REASON_1",
          "description": "DESCRIPTION_1"
        },
        {
          "behavior": "FAULT_REASON_2",
          "description": "DESCRIPTION_2"
        }
      ]
    }
    

    Replace the following:

    • PROJECT_ID: the ID of the project where the reservation exists.

    • ZONE: the zone where the reservation exists.

    • RESERVATION_NAME: the name of the reservation that contains the sub-block.

    • BLOCK_NAME: the name of the block within the reservation.

    • SUB_BLOCK_NAME: the name of the sub-block to report as faulty.

    • FAILURE_COMPONENT: the component in the sub-block that experienced the fault:

      • MULTIPLE_FAULTY_HOSTS: multiple host machines in the sub-block experienced the fault.
      • NVLINK_SWITCH: the NVLink switch in the sub-block experienced the fault. If you specify NVLINK_SWITCH, then Compute Engine processes only the first entry in faultReasons.
    • FAULT_REASON_1 and FAULT_REASON_2: each fault behavior that you observed in the sub-block. Specify one of the following values:

      • GPU_ERROR: the sub-block experienced an unrecoverable GPU error, such as an XID error, or silent data corruption.
      • PERFORMANCE: the sub-block experienced performance issues.
      • SWITCH_FAILURE: the sub-block experienced a switch failure.
      • FAULT_BEHAVIOR_UNSPECIFIED: the fault behavior in the sub-block is unknown.
      • NVSWITCH_FAULT_SWITCH_ERROR (Preview): use with NVLINK_SWITCH as the default for general or intermittent NVSwitch issues.
      • NVSWITCH_FAULT_CONTROLLER_ERROR (Preview): use with NVLINK_SWITCH when telemetry or monitoring specifically indicates an NMX-C controller error.
      • NVSWITCH_FAULT_DEGRADED_BANDWIDTH (Preview): use with NVLINK_SWITCH when you observe performance degradation, such as dropped bandwidth or degraded link health.
    • DESCRIPTION_1 and DESCRIPTION_2: optional, but recommended. A description for each fault reason, such as XID numbers, details of failing tests, networking-related failure information, or telemetry findings. Providing detailed failure information helps Google Cloud troubleshoot issues faster.

Review report faulty sub-block operations

To track the status of report faulty sub-block operations in your project, select one of the following options:

Console (Operations)

  1. In the Google Cloud console, go to the Operations page.

    Go to Operations

  2. In the table that appears, locate the operation with the operation type ReservationSubBlocks.reportFaulty for your sub-block.

  3. In the Status column, check the status of the operation. When the operation completes, the value is Done.

  4. Optional: To verify whether the compute instances in the sub-block have entered the REPAIRING state or restarted, view the details of the instances on the VM instances page in the Google Cloud console.

Console (Audit logs)

  1. In the Google Cloud console, go to the Logs Explorer page.

    Go to Logs Explorer

  2. Verify that the Show query toggle is set to the on position.

  3. In the query editor, enter the following query:

    resource.type="api" AND protoPayload.methodName=~"compute.reservationSubBlocks.reportFaulty"
    
  4. Click Run query. The Query results pane displays the matching audit log entries.

gcloud

  1. To view the status of report faulty sub-block operations in your project, use the gcloud compute operations list command with the --filter flag set to operationType:ReservationSubBlocks.reportFaulty:

    gcloud compute operations list --filter="operationType:ReservationSubBlocks.reportFaulty"
    
  2. To view the details of a specific operation, use the gcloud compute operations describe command:

    gcloud compute operations describe OPERATION_NAME \
        --zone="ZONE"
    

    Replace the following:

    • OPERATION_NAME: the name of the operation.

    • ZONE: the zone where the operation exists.

  3. Optional: To query Cloud Audit Logs for report faulty sub-block operations by using the gcloud CLI, run the following gcloud logging read command:

    gcloud logging read 'resource.type=api AND logName=projects/PROJECT_ID/logs/cloudaudit.googleapis.com%2Fsystem_event AND protoPayload.methodName=~"compute.reservationSubBlocks.reportFaulty"' \
        --format=json
    

    Replace PROJECT_ID with your project ID.

REST

To view the details and status of a report faulty sub-block operation in your project, make a GET request to the zoneOperations.get method:

GET https://compute.googleapis.com/compute/v1/projects/PROJECT_ID/zones/ZONE/operations/OPERATION_NAME

Replace the following:

  • PROJECT_ID: the ID of your project.

  • ZONE: the zone where the operation exists.

  • OPERATION_NAME: the name or ID of the operation.

What's next