Debian Codegraph @

doc/source/cli/cyborg-status.rst

raw
1 =============
2 cyborg-status
3 =============
4
5 Synopsis
6 ========
7
8 ::
9
10 cyborg-status <category> <command> [<args>]
11
12 Description
13 ===========
14
15 :program:`cyborg-status` is a tool that provides routines for checking the
16 status of a Cyborg deployment.
17
18 Options
19 =======
20
21 The standard pattern for executing a :program:`cyborg-status` command is::
22
23 cyborg-status <category> <command> [<args>]
24
25 Run without arguments to see a list of available command categories::
26
27 cyborg-status
28
29 Categories are:
30
31 * ``upgrade``
32
33 Detailed descriptions are below.
34
35 You can also run with a category argument such as ``upgrade`` to see a list of
36 all commands in that category::
37
38 cyborg-status upgrade
39
40 These sections describe the available categories and arguments for
41 :program:`cyborg-status`.
42
43 Upgrade
44 ~~~~~~~
45
46 .. _cyborg-status-checks:
47
48 ``cyborg-status upgrade check``
49 Performs a release-specific readiness check before restarting services with
50 new code. This command expects to have complete configuration and access
51 to databases and services.
52
53 **Return Codes**
54
55 .. list-table::
56 :widths: 20 80
57 :header-rows: 1
58
59 * - Return code
60 - Description
61 * - 0
62 - All upgrade readiness checks passed successfully and there is nothing
63 to do.
64 * - 1
65 - At least one check encountered an issue and requires further
66 investigation. This is considered a warning but the upgrade may be OK.
67 * - 2
68 - There was an upgrade status check failure that needs to be
69 investigated. This should be considered something that stops an
70 upgrade.
71 * - 255
72 - An unexpected error occurred.
73
74 **History of Checks**
75
76 **2.0.0 (Stein)**
77
78 * Placeholder to be filled in with checks as they are added in Stein.