kibo 命令
kibo 退出码
本页列出 kibo 的退出码,由 kibo 的源码生成,说明保持英文。使用 --json 时,失败的类别也写在输出的 error 字段里。
| 退出码 | 类别 | 说明 |
|---|---|---|
0 | success | Success. When --no-wait returns, the object may still be changing; query its state again |
2 | invalid_input | Flag or configuration error, a failed local check of the server certificate, or an unconfirmed deletion |
10 | unauthenticated | Not authenticated |
11 | permission_denied | Permission denied |
12 | not_found | Object not found |
13 | conflict | State or version conflict, including the same command ID with different input |
14 | unsupported | The server does not support the operation |
15 | unavailable | Service temporarily unavailable |
16 | canceled | Canceled 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 |
17 | incomplete | Incomplete result, for example when workspace update has partly taken effect |
18 | unknown | Unknown result: whether the server ran the operation cannot be determined, including when the wait is aborted |
21 | integrity_failure | Integrity check failed |
workspace exec 与 workspace terminal 例外,与 ssh 一致:
| 退出码 | 说明 |
|---|---|
| the remote exit code | The remote process exited normally |
| 128 plus the signal number | The remote process was terminated by a signal |
124 | The remote process exceeded --exec-timeout and was terminated |
255 | kibo 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 |