docs/doc/source/updates/kubernetes/identifying-the-software-version-and-update-level-using-the-cli.rst
Ron Stone dd8efe5f85 Upgrades edits (r6,r7,dsR6,dsR7)
Copy edits for typos, markup and other technical issues.
Fix case typo
Fix merge conflicts.
Resolve FixMe issues.
Minor copy edit updates.

Signed-off-by: Ron Stone <ronald.stone@windriver.com>
Change-Id: I7d710d3faa957c1cb66cc18c9a248a567e7c580f
2022-10-27 06:34:33 -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     | nn.nn                                              |
    | 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