Troubleshoot report faulty host and sub-block API errors

This document explains how to resolve errors that you might encounter when using the report faulty host API or the report faulty sub-block API.

Host error messages

When you use the report faulty host API, you might encounter one of the following errors.

Compute instance deleted during a running operation

This error occurs when you delete a compute instance while a faulty host report operation is still in progress.

Error messages:

INTERNAL_ERROR

Resolution: Before you delete a compute instance, verify that the reportHostAsFaulty operation has completed. Otherwise, the report faulty host operation fails.

Compute instance not part of a reservation

This error occurs when you report a compute instance that was created without using a reservation.

Error message:

INSTANCES_WITHOUT_RESERVATION_NOT_SUPPORTED

Resolution: Verify that you created the compute instance by using the reservation-bound provisioning model. To report a faulty host for an A4X Max, A4X, A4, A3 Ultra, A3 Mega, A3 High (8 GPUs), or G4 (g4-standard-384) instance that uses the flex-start or spot provisioning model, contact your account team.

Duplicate faulty host report operations

This error occurs when you send a request to the repair faulty host API while another request is already in progress for the same compute instance. Additionally, your compute instance may remain in the REPAIRING state.

Error message:

FAILED_WITH_UNEXPECTED_STATUS

Resolution: Wait until the first report faulty host operation completes before you send another request to the API. If the compute instance is unresponsive, then restart the compute instance before you send another request to the API.

Fault reason is missing

This error occurs when you don't specify the faultReasons field in a report faulty host request.

Error message:

FAULT_REASONS_EMPTY_SHOULD_BE_SPECIFIED

Resolution: The faultReasons field is required. To resolve this issue, specify the faultReasons field in your request.

Incorrect machine type

This error occurs when the compute instance uses an unsupported machine type.

Error message:

MACHINE_TYPE_NOT_SUPPORTED

Resolution: The report faulty host API supports only the A4X Max, A4X, A4, A3 Ultra, A3 Mega, A3 High (8 GPUs), and G4 (g4-standard-384) machine types.

Rate limit exceeded

Error message:

RATE_LIMIT_EXCEEDED

Reason: You exceeded the request limit for the instances.reportHostAsFaulty method, or Google lacks sufficient capacity to fulfill your request.

Unsupported compute instance state

This error occurs when the compute instance is in an unsupported state.

Error message:

INSTANCE_SHOULD_BE_RUNNING

Resolution: Before you send a request to the report faulty host API, verify that the compute instance is in the RUNNING state.

Sub-block error messages

When you use the report faulty sub-block API, you might encounter one of the following errors.

Reservation not found

This HTTP 404 error occurs immediately after you make a request if the specified reservation doesn't exist.

Error message:

Could not fetch resource: - The resource 'RESERVATION_NAME' was not found.

Resolution: Verify the reservation name and zone for which you are reporting the faulty sub-block, and send the request for an existing reservation.

Sub-reservation not found

This HTTP 404 error occurs immediately after you make a request if the specified block or sub-block doesn't exist in the reservation.

Error message:

Could not fetch resource: - The resource 'SUB_BLOCK_NAME' was not found.

Resolution: Verify the block name and sub-block name, and send the request for an existing sub-block.

Duplicate faulty sub-block report operations

This precondition failure error occurs when you send a request to report a sub-block as faulty while another report faulty operation is already in progress for the same sub-block.

Error messages:

Could not fetch resource: Report Faulty is already ongoing for subblock SUB_BLOCK_NAME
Could not fetch resource: Report Faulty is already ongoing for reservation sub-block SUB_BLOCK_NAME!

Resolution: Wait until the ongoing report faulty sub-block operation completes before you send another request for the same sub-block.

Fault reasons are missing

This error occurs when you run the gcloud compute reservations sub-blocks report-subblock-as-faulty command or call the API without specifying the --fault-reasons flag or faultReasons field.

Error message:

argument --fault-reasons: Must be specified.

Resolution: Specify at least one fault reason with a behavior value in the --fault-reasons flag or faultReasons field.

Invalid failure component for NVSwitch fault behavior

This error occurs when you specify an NVSwitch fault behavior without setting the --failure-component flag or failureComponent field to NVLINK_SWITCH. This requirement applies to the NVSWITCH_FAULT_SWITCH_ERROR, NVSWITCH_FAULT_CONTROLLER_ERROR, and NVSWITCH_FAULT_DEGRADED_BANDWIDTH fault behaviors.

Error message:

Invalid value for field 'failure_component': 'FAILURE_COMPONENT'. Failure component must be NVLINK_SWITCH when reporting a faulty NVSwitch behavior, but was FAILURE_COMPONENT

Resolution: When you specify an NVSwitch fault behavior, set the --failure-component flag or failureComponent field to NVLINK_SWITCH.

Incorrect machine type

This error occurs when the reservation uses a machine type that doesn't support reporting a faulty sub-block.

Error message:

Reporting sub-block as faulty is not allowed for SUB_BLOCK_NAME with machine type MACHINE_TYPE.

Resolution: The report faulty sub-block API supports only A4X Max and A4X machine types. To report a single faulty host for other A5X, A4X Max, A4X, A4, A3 Ultra, A3 Mega, and A3 High (8 GPUs) machine types, see Report faulty host.

All instances in the sub-block are undergoing maintenance

This precondition failure error occurs when you report a sub-block as faulty while all compute instances in the sub-block are already undergoing maintenance, unless the failure component is set to NVLINK_SWITCH.

Error message:

Report Faulty is not allowed for reservation sub-block SUB_BLOCK_NAME because all instances are under maintenance!

Resolution: Wait until maintenance completes on the instances in the sub-block before sending another request. If you are reporting an NVLink switch issue, set the --failure-component flag or failureComponent field to NVLINK_SWITCH.