Return Codes
Table 1 describes the return codes of Elastic Agent.
Return Code |
Value |
Description |
|---|---|---|
OK |
0 |
APIs are properly called. |
UnRegistry |
400 |
The job ID is not registered. |
OrderMix |
401 |
The request does not comply with the state machine sequence. |
JobNotExist |
402 |
The job ID does not exist. |
ProcessRescheduleOff |
403 |
The process-level recovery function is not enabled. |
ProcessNotReady |
404 |
The training process is not started. |
RecoverableRetryError |
405 |
The recovery fails because the device fails to be cleaned. |
UnRecoverableRetryError |
406 |
The recovery fails because the device fails to be stopped. |
DumpError |
407 |
The dying gasp fails to be saved. |
UnInit |
408 |
Initialization is not triggered. |
ClientError |
499 |
Other failure causes. |
OutOfMaxServeJobs |
500 |
The number of service jobs exceeds the maximum. |
OperateConfigMapError |
501 |
The ConfigMap fails to be operated. |
OperatePodGroupError |
502 |
The PodGroup fails to be operated. |
ScheduleTimeout |
503 |
Pod scheduling timed out. |
SignalQueueBusy |
504 |
The control signal fails to enter the queue. |
EventQueueBusy |
505 |
The state machine event fails to enter the queue. |
ControllerEventCancel |
506 |
The state machine has exited. |
WaitReportTimeout |
507 |
The client call to the API timed out. |
WaitPlatStrategyTimeout |
508 |
The AI platform's preparations of the recovery policy timed out. |
WriteConfirmFaultOrWaitPlatResultFault |
509 |
The AI platform fault information is incorrect. |
ServerInnerError |
599 |
An internal server error occurs. |