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:
- To report a single faulty host machine for A5X, A4X Max, A4X, A4, A3 Ultra, A3 Mega, and A3 High (8 GPUs) instances, see Report faulty host.
- To report a single faulty host in a Google Kubernetes Engine (GKE) cluster, see Report faulty hosts through GKE.
- To resolve hardware issues on General GPU instances, which don't support reporting faulty hosts or sub-blocks, use standard GKE node auto-repair or contact Cloud Customer Care.
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_SWITCHas the failure component, then Compute Engine processes only the first fault reason that you specify in the request.The
SILENT_DATA_CORRUPTIONfault behavior value isn't supported when you report a faulty sub-block. To report silent data corruption issues for a sub-block, specifyGPU_ERRORas the fault behavior instead.The
gcloud compute reservations sub-blocks report-subblock-as-faultycommand doesn't support the--asyncflag; passing--asyncreturns an error. When you run the command without the--asyncflag, the command takes approximately 8 to 10 minutes to complete.Unlike single-host fault reporting, VM audit logs don't include an
upcomingMaintenancenotification 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.
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.reportFaultyon the project -
To view the details of a sub-block:
compute.reservationSubBlocks.geton the project -
To view a list of operations by using Logging:
logging.operations.liston the project -
To view the details of an operation by using Logging:
logging.operations.geton the project -
To view a list of operations in Compute Engine:
compute.zoneOperations.liston the project -
To view the details of an operation in Compute Engine:
compute.zoneOperations.geton 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:
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
RUNNINGstate and takes approximately 8 to 10 minutes to complete. To review the operation state, see Review report faulty sub-block operations in this document.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
REPAIRINGstate. - If automatic restart is disabled, then the instance transitions to the
TERMINATEDstate.
- If automatic restart is enabled, then the instance transitions to the
Updates reservation health counters: When you report a sub-block as faulty, Compute Engine updates the
healthInfofields for both the sub-block and its parent block. You can view these fields by using thegcloud compute reservations sub-blocks describecommand or by checking the reservation audit logs:Sub-block
healthInfofields:healthStatus: changes toDEGRADEDbecause 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 to0.
Block
healthInfofields:healthStatus: changes toDEGRADED. Compute Engine marks the health status of a block asDEGRADEDif at least one sub-block in the block is degraded.degradedSubBlockCount: increments by1.healthySubBlockCount: decrements by1.
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
RUNNINGstate. - If automatic restart is disabled, then the instances remain in the
TERMINATEDstate until you manually restart the instances.
- If automatic restart is enabled, then Compute Engine
automatically restarts the instances and they return to the
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:
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.
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.
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-faultycommand without the--asyncflag: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=ZONEThe 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 specifyNVLINK_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-reasonsflag 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_SWITCHas the default for general or intermittent NVSwitch issues.NVSWITCH_FAULT_CONTROLLER_ERROR(Preview): use with--failure-component=NVLINK_SWITCHwhen telemetry or monitoring specifically indicates an NMX-C controller error.NVSWITCH_FAULT_DEGRADED_BANDWIDTH(Preview): use with--failure-component=NVLINK_SWITCHwhen 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
POSTrequest to thereservationSubBlocks.reportFaultymethod.When you report a faulty sub-block with
failureComponentset toMULTIPLE_FAULTY_HOSTS, you can specify one or more fault reasons in thefaultReasonsarray. IffailureComponentisNVLINK_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 specifyNVLINK_SWITCH, then Compute Engine processes only the first entry infaultReasons.
FAULT_REASON_1andFAULT_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 withNVLINK_SWITCHas the default for general or intermittent NVSwitch issues.NVSWITCH_FAULT_CONTROLLER_ERROR(Preview): use withNVLINK_SWITCHwhen telemetry or monitoring specifically indicates an NMX-C controller error.NVSWITCH_FAULT_DEGRADED_BANDWIDTH(Preview): use withNVLINK_SWITCHwhen you observe performance degradation, such as dropped bandwidth or degraded link health.
DESCRIPTION_1andDESCRIPTION_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)
In the Google Cloud console, go to the Operations page.
In the table that appears, locate the operation with the operation type
ReservationSubBlocks.reportFaultyfor your sub-block.In the Status column, check the status of the operation. When the operation completes, the value is Done.
Optional: To verify whether the compute instances in the sub-block have entered the
REPAIRINGstate or restarted, view the details of the instances on the VM instances page in the Google Cloud console.
Console (Audit logs)
In the Google Cloud console, go to the Logs Explorer page.
Verify that the Show query toggle is set to the on position.
In the query editor, enter the following query:
resource.type="api" AND protoPayload.methodName=~"compute.reservationSubBlocks.reportFaulty"Click Run query. The Query results pane displays the matching audit log entries.
gcloud
To view the status of report faulty sub-block operations in your project, use the
gcloud compute operations listcommand with the--filterflag set tooperationType:ReservationSubBlocks.reportFaulty:gcloud compute operations list --filter="operationType:ReservationSubBlocks.reportFaulty"To view the details of a specific operation, use the
gcloud compute operations describecommand: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.
Optional: To query Cloud Audit Logs for report faulty sub-block operations by using the gcloud CLI, run the following
gcloud logging readcommand:gcloud logging read 'resource.type=api AND logName=projects/PROJECT_ID/logs/cloudaudit.googleapis.com%2Fsystem_event AND protoPayload.methodName=~"compute.reservationSubBlocks.reportFaulty"' \ --format=jsonReplace
PROJECT_IDwith 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
- If you encounter errors when reporting a faulty sub-block, see Troubleshoot report faulty host and sub-block API errors.
- To report only a single faulty host machine, see Report faulty host.