docs/doc/source/updates/kubernetes/identifying-the-software-version-and-update-level-using-the-cli.rst
Ron Stone 0012d76f09 Add updates and upgrades content
Some substitutions also added to accomodate StX vs partner file naming.
Add 750.006 alarm to performing-an-orchestrated-upgrade

Signed-off-by: Ron Stone <ronald.stone@windriver.com>
Change-Id: I33588f3c1b22cd0dbc96133cf8eb056c8c2e5162
Signed-off-by: Ron Stone <ronald.stone@windriver.com>
2021-05-17 07:12:27 -04:00

2.8 KiB

Identify the Software Version and Update Level Using the CLI

You can view the current software version and update level from the CLI. The system type is also shown.

For more about working with software updates, see Manage Software Updates <managing-software-updates>

  • To find the software version from the CLI, use the system show command.

    ~(keystone_admin)]$ system show
    +----------------------+----------------------------------------------------+
    | Property             | Value                                              |
    +----------------------+----------------------------------------------------+
    | contact              | None                                               |
    | created_at           | 2020-02-27T15:29:26.140606+00:00                   |
    | description          | yow-cgcs-ironpass-1_4                              |
    | https_enabled        | False                                              |
    | location             | None                                               |
    | name                 | yow-cgcs-ironpass-1-4                              |
    | region_name          | RegionOne                                          |
    | sdn_enabled          | False                                              |
    | security_feature     | spectre_meltdown_v1                                |
    | service_project_name | services                                           |
    | software_version     | 20.06                                              |
    | system_mode          | duplex                                             |
    | system_type          | Standard                                           |
    | timezone             | UTC                                                |
    | updated_at           | 2020-02-28T16:19:56.987581+00:00                   |
    | uuid                 | 90212c98-7e27-4a14-8981-b8f5b777b26b               |
    | vswitch_type         | none                                               |
    +----------------------+----------------------------------------------------+

    Note

    The system_mode field is shown only for a Simplex or Duplex system.

  • To list applied software updates from the CLI, use the sw-patch query command.

    ~(keystone_admin)]$ sudo sw-patch query