Kibotos
kibo 命令

kibo 退出码

本页列出 kibo 的退出码,由 kibo 的源码生成,说明保持英文。使用 --json 时,失败的类别也写在输出的 error 字段里。

退出码类别说明
0successSuccess. When --no-wait returns, the object may still be changing; query its state again
2invalid_inputFlag or configuration error, a failed local check of the server certificate, or an unconfirmed deletion
10unauthenticatedNot authenticated
11permission_deniedPermission denied
12not_foundObject not found
13conflictState or version conflict, including the same command ID with different input
14unsupportedThe server does not support the operation
15unavailableService temporarily unavailable
16canceledCanceled or timed out while the server-side operation is still in progress, for example when node drain --wait, template prepare, or volume move does not finish within the total wait time
17incompleteIncomplete result, for example when workspace update has partly taken effect
18unknownUnknown result: whether the server ran the operation cannot be determined, including when the wait is aborted
21integrity_failureIntegrity check failed

workspace exec 与 workspace terminal 例外,与 ssh 一致:

退出码说明
the remote exit codeThe remote process exited normally
128 plus the signal numberThe remote process was terminated by a signal
124The remote process exceeded --exec-timeout and was terminated
255kibo itself failed, for example the Workspace was not found, the session was revoked, the connection could not be resumed within 30 seconds after a disconnect, or output was lost after exec resumed. The specific category is in the error output