docs/doc/source/fault-mgmt/uninstalling-snmp.rst
Juanita-Balaraj 959c15c7b4 On behalf of JB, submitting updated files against patchset 4.
Completed Review Comments for Patch Set 2

Added SNMPv3 Updates

Deleted 2 topics (Configure SNMP Trap Destinations, Add an SNMP Community String Using the CLI)
Updated topics with SNMPv3 updates (Enable SNMP Support, Traps, Active Alarm Tables, Event Tables)
Added new topic (Uninstall SNMP)

Story: 2008132
Task: 41395

Change-Id: I8bcff5d2acbbdcc98519e552bb16406110407388
Signed-off-by: Juanita-Balaraj <juanita.balaraj@windriver.com>
Signed-off-by: Stone <ronald.stone@windriver.com>
2021-03-18 13:41:55 -03:00

7.8 KiB

Uninstall SNMP

Use the following procedure to uninstall :

  1. Run the following command to check if the SNMP application is installed (status "applied").

    ~(keystone_admin)]$ system application-list
    +--------------------------+-------------------------+-----------------------------------+------------------------+---------------+-----------+
    | application              | version                 | manifest name                     | manifest file          | status        | progress  |
    +--------------------------+-------------------------+-----------------------------------+------------------------+---------------+-----------+
    | cert-manager             | 1.0-6                   | cert-manager-manifest             | certmanager-manifest.  | applied       | completed |
    |                          |                         |                                   | yaml                   |               |           |
    |                          |                         |                                   |                        |               |           |
    | nginx-ingress-controller | 1.0-0                   | nginx-ingress-controller-manifest | nginx_ingress_controll | applied       | completed |
    |                          |                         |                                   | er_manifest.yaml       |               |           |
    |                          |                         |                                   |                        |               |           |
    | oidc-auth-apps           | 1.0-29                  | oidc-auth-manifest                | manifest.yaml          | uploaded      | completed |
    | platform-integ-apps      | 1.0-9                   | platform-integration-manifest     | manifest.yaml          | uploaded      | completed |
    | rook-ceph-apps           | app-version-placeholder | manifest-placeholder              | tarfile-placeholder    | upload-failed | None      |
    | snmp                     | 1.0-2                   | snmp-manifest                     | snmp_manifest.yaml     | applied       | completed |
    +--------------------------+-------------------------+-----------------------------------+------------------------+---------------+-----------+
  2. Uninstall SNMP.

    ~(keystone_admin)]$ system application-remove snmp
    +---------------+----------------------------------+
    | Property      | Value                            |
    +---------------+----------------------------------+
    | active        | True                             |
    | app_version   | 1.0-2                            |
    | created_at    | 2020-11-12T06:26:21.526433+00:00 |
    | manifest_file | snmp_manifest.yaml               |
    | manifest_name | snmp-manifest                    |
    | name          | snmp                             |
    | progress      | None                             |
    | status        | removing                         |
    | updated_at    | 2020-11-12T06:51:34.987085+00:00 |
    +---------------+----------------------------------+

    The SNMP application is removed, but still shows as "Uploaded".

    ~(keystone_admin)]$ system application-list
    +--------------------------+-------------------------+-----------------------------------+-------------------------+---------------+-----------+
    | application              | version                 | manifest name                     | manifest file           | status        | progress  |
    +--------------------------+-------------------------+-----------------------------------+-------------------------+---------------+-----------+
    | cert-manager             | 1.0-6                   | cert-manager-manifest             | certmanager-manifest.   | applied       | completed |
    |                          |                         |                                   | yaml                    |               |           |
    |                          |                         |                                   |                         |               |           |
    | nginx-ingress-controller | 1.0-0                   | nginx-ingress-controller-manifest | nginx_ingress_controlle | applied       | completed |
    |                          |                         |                                   | r_manifest.yaml         |               |           |
    |                          |                         |                                   |                         |               |           |
    | oidc-auth-apps           | 1.0-29                  | oidc-auth-manifest                | manifest.yaml           | uploaded      | completed |
    | platform-integ-apps      | 1.0-9                   | platform-integration-manifest     | manifest.yaml           | uploaded      | completed |
    | rook-ceph-apps           | app-version-placeholder | manifest-placeholder              | tarfile-placeholder     | upload-failed | None      |
    | snmp                     | 1.0-2                   | snmp-manifest                     | snmp_manifest.yaml      | uploaded      | completed |
    +--------------------------+-------------------------+-----------------------------------+-------------------------+---------------+-----------+
  3. Delete the uninstalled SNMP application definitions from the system.

    ~(keystone_admin)]$ system application-delete snmp

    The following message is displayed when the SNMP application is deleted "Application SNMP deleted".

  4. Run the following command to check if the SNMP application is deleted.

    ~(keystone_admin)]$ system application-list
    +--------------------------+-------------------------+-----------------------------------+--------------------------+---------------+-----------+
    | application              | version                 | manifest name                     | manifest file            | status        | progress  |
    +--------------------------+-------------------------+-----------------------------------+--------------------------+---------------+-----------+
    | cert-manager             | 1.0-6                   | cert-manager-manifest             | certmanager-manifest.    | applied       | completed |
    |                          |                         |                                   | yaml                     |               |           |
    |                          |                         |                                   |                          |               |           |
    | nginx-ingress-controller | 1.0-0                   | nginx-ingress-controller-manifest | nginx_ingress_controller | applied       | completed |
    |                          |                         |                                   | _manifest.yaml           |               |           |
    |                          |                         |                                   |                          |               |           |
    | oidc-auth-apps           | 1.0-29                  | oidc-auth-manifest                | manifest.yaml            | uploaded      | completed |
    | platform-integ-apps      | 1.0-9                   | platform-integration-manifest     | manifest.yaml            | uploaded      | completed |
    | rook-ceph-apps           | app-version-placeholder | manifest-placeholder              | tarfile-placeholder      | upload-failed | None      |
    +--------------------------+-------------------------+-----------------------------------+--------------------------+---------------+-----------+