docs/doc/source/dist_cloud/kubernetes/reviewing-update-status-for-distributed-cloud-using-the-cli.rst
Ron Stone 10805c3e8f Apply dir convention to DC
Moved all DC content under a kubernetes directory. This is needed
to allow title versioning distinctions in partner builds.

Signed-off-by: Ron Stone <ronald.stone@windriver.com>
Change-Id: Ia7ab4fccc7cb9ed6c242cf584f237165f00e5ef2
2021-08-03 07:57:24 -04:00

4.3 KiB

Review Update Status for Distributed Cloud Using the CLI

You can use the CLI to review the updates in the central update repository and their synchronization status across the subclouds of the .

To use the Horizon Web interface instead, see Reviewing Update Status for Distributed Cloud Using Horizon <reviewing-update-status-for-distributed-cloud-using-horizon>.

  • To check the status of updates in the central update repository, use the query option on the SystemController region.

    For example:

    ~(keystone_admin)]$ sw-patch --os-region-name SystemController query Patch ID RR Release Patch State =================== == ======= =========== wrcp_nn.nn_PATCH_0001 N nn.nn Applied wrcp_nn.nn_PATCH_0002 N nn.nn Applied wrcp_nn.nn_PATCH_0003 N nn.nn Partial wrcp_nn.nn_PATCH_0004 N nn.nn Available wrcp_nn.nn_PATCH_0005 N nn.nn Available

    The Patch State column indicates whether the Patch is available, partially-applied or applied. Applied indicates that the update has been installed on all hosts of the cloud (SystemController in this case).

  • To identify which subclouds are update-current (in-sync), use the

    ~(keystone_admin)]$ dcmanager subcloud list
    +----+-----------+--------------+--------------------+-------------+
    | id | name      | management   | availability       | sync        |
    +----+-----------+--------------+--------------------+-------------+
    |  1 | subcloud1 | managed      | online             | in-sync     |
    |  2 | subcloud2 | managed      | online             | in-sync     |
    |  3 | subcloud3 | managed      | online             | out-of-sync |
    |  4 | subcloud4 | managed      | offline            | unknown     |
    +----+-----------+--------------+--------------------+-------------+

    Note

    The sync status is the rolled up sync status of platform-sync-status, identity-sync-status, and patching-sync-status.

  • To see synchronization details for a subcloud:

    ~(keystone_admin)]$ dcmanager subcloud show subcloud1
    +-----------------------------+----------------------------+
    | Field                       | Value                      |
    +-----------------------------+----------------------------+
    | id                          | 1                          |
    | name                        | subcloud1                  |
    | description                 | None                       |
    | location                    | None                       |
    | software_version            | nn.nn                      |
    | management                  | managed                    |
    | availability                | online                     |
    | deploy_status               | complete                   |
    | management_subnet           | fd01:82::0/64              |
    | management_start_ip         | fd01:82::2                 |
    | management_end_ip           | fd01:82::11                |
    | management_gateway_ip       | fd01:82::1                 |
    | systemcontroller_gateway_ip | fd01:81::1                 |
    | group_id                    | 1                          |
    | created_at                  | 2020-07-15 19:23:50.966984 |
    | updated_at                  | 2020-07-17 12:36:28.815655 |
    | dc-cert_sync_status         | in-sync                    |
    | identity_sync_status        | in-sync                    |
    | load_sync_status            | in-sync                    |
    | patching_sync_status        | in-sync                    |
    | platform_sync_status        | in-sync                    |
    +-----------------------------+----------------------------+