docs/doc/source/fault-mgmt/kubernetes/uninstalling-snmp.rst
Ron Stone cf66f5d279 Armada Deprecation and Replacement
First pass - generic updates only. (command input/output to be done)
Address patchset 1 review comments.
Replace examples using openstack with metrics server
Remove DS app from application-list output
Additional migration to FluxCD (snmp, auditd)
Minor textual change.
Fix merge conflict.
Revert install r5 change.

Story: 2009138
Task: 45238

Signed-off-by: Ron Stone <ronald.stone@windriver.com>
Change-Id: Ia40ff45f12ec7b7ffa859e0d8bb5535303870d83
2022-06-29 10:40:56 -04:00

5.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-34  | cert-manager-fluxcd-manifests             | fluxcd-manifests | applied  | completed            |
    | nginx-ingress-controller | 1.1-35  | nginx-ingress-controller-fluxcd-manifests | fluxcd-manifests | applied  | completed            |
    | oidc-auth-apps           | 1.0-68  | oidc-auth-apps-fluxcd-manifests           | fluxcd-manifests | uploaded | completed            |
    | platform-integ-apps      | 1.0-52  | platform-integ-apps-fluxcd-manifests      | fluxcd-manifests | applied  | completed            |
    | rook-ceph-apps           | 1.0-17  | rook-ceph-manifest                        | manifest.yaml    | uploaded | completed            |
    | snmp                     | 1.0-36  | snmp-fluxcd-manifests                     | fluxcd-manifests | applied  | completed            |
    +--------------------------+---------+-------------------------------------------+------------------+----------+----------------------+
  2. Uninstall .

    ~(keystone_admin)]$ system application-remove snmp
    +---------------+----------------------------------+
    | Property      | Value                            |
    +---------------+----------------------------------+
    | active        | False                            |
    | app_version   | 1.0-36                           |
    | created_at    | 2022-06-27T10:45:42.733267+00:00 |
    | manifest_file | fluxcd-manifests                 |
    | manifest_name | snmp-fluxcd-manifests            |
    | name          | snmp                             |
    | progress      | None                             |
    | status        | removing                         |
    | updated_at    | 2022-06-27T10:45:51.253949+00:00 |
    +---------------+----------------------------------+

    The 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-34  | cert-manager-fluxcd-manifests             | fluxcd-manifests | applied  | completed            |
    | nginx-ingress-controller | 1.1-35  | nginx-ingress-controller-fluxcd-manifests | fluxcd-manifests | applied  | completed            |
    | oidc-auth-apps           | 1.0-68  | oidc-auth-apps-fluxcd-manifests           | fluxcd-manifests | uploaded | completed            |
    | platform-integ-apps      | 1.0-52  | platform-integ-apps-fluxcd-manifests      | fluxcd-manifests | applied  | completed            |
    | rook-ceph-apps           | 1.0-17  | rook-ceph-manifest                        | manifest.yaml    | uploaded | completed            |
    | snmp                     | 1.0-36  | snmp-fluxcd-manifests                     | fluxcd-manifests | uploaded | completed            |
    +--------------------------+---------+-------------------------------------------+------------------+----------+----------------------+
  3. Delete the uninstalled application definitions from the system.

    ~(keystone_admin)]$ system application-delete snmp

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

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

    ~(keystone_admin)]$ system application-list
    +--------------------------+---------+-------------------------------------------+------------------+----------+----------------------+
    | application              | version | manifest name                             | manifest file    | status   | progress             |
    +--------------------------+---------+-------------------------------------------+------------------+----------+----------------------+
    | cert-manager             | 1.0-34  | cert-manager-fluxcd-manifests             | fluxcd-manifests | applied  | completed            |
    | nginx-ingress-controller | 1.1-35  | nginx-ingress-controller-fluxcd-manifests | fluxcd-manifests | applied  | completed            |
    | oidc-auth-apps           | 1.0-68  | oidc-auth-apps-fluxcd-manifests           | fluxcd-manifests | uploaded | completed            |
    | platform-integ-apps      | 1.0-52  | platform-integ-apps-fluxcd-manifests      | fluxcd-manifests | applied  | completed            |
    | rook-ceph-apps           | 1.0-17  | rook-ceph-manifest                        | manifest.yaml    | uploaded | completed            |
    +--------------------------+---------+-------------------------------------------+------------------+----------+----------------------+