Rolling back IBM Netcool Operations Insight on Red Hat OpenShift

Learn how to roll back from version 1.6.10 to version 1.6.9 or version 1.6.8. Roll back with the Red Hat® OpenShift® Container Platform Operator Lifecycle Manager (OLM) user interface (UI), or the command line.

Rolling back to version 1.6.9 with the online (console) method

  1. Change the NOI instance version from 1.6.10 to 1.6.9. Go to Operators > Installed Operators > IBM® Netcool® for AIOps Event Manager. Then, select the NOI tab. Select your deployment and then select the YAML tab. Change the version back to version 1.6.9 and save the changes.
  2. Roll back the NOI operator by deleting the ClusterServiceVersion (CSV) and subscription for NOI soon after changing the instance version.

    To delete the CSV with the OLM UI, complete the following steps:

    1. Go to Home > Search.
    2. Select the project (namespace) that your NOI operator subscription is deployed in from the project list.
    3. Select CSV ClusterServiceVersion in the resources list. A list of CSVs is displayed. Click the CSV called IBM Cloud Pak for AIOps Event Manager.
    4. Select Uninstall operator from the Actions menu.

    To delete the subscription with the OLM UI, complete the following steps:

    1. Go to Home > Search.
    2. Select the project (namespace) that your NOI operator subscription is deployed in from the project list.
    3. Select SUB Subscription in the resources list. A list of subscriptions is displayed. Click the subscription called ibm-noi-catalog-subscription.
    4. Select Remove Subscription from the Actions menu.
  3. Reinstall the NOI operator into the same namespace. For more information, see the Install the Netcool Operations Insight Operator section in the Installing cloud native components with the Operator Lifecycle Manager (OLM) user interface topic in the version 1.6.9 documentation.
  4. Manually restart the PostgresSQL cluster pod.
    oc delete pod <release-name>-noi-postgres-cluster-1
    Where <release-name> is the release name.
    Note: Do not delete the PostgresSQL cluster or remove any Persistent Volume Claims (PVCs).

Rolling back to version 1.6.9 with the online (CASE) or offline (bastion host or portable device) methods

  1. Change the NOI instance version from 1.6.10 to 1.6.9. To change the instance version from the command line, use the oc edit noi command and change the version back to version 1.6.9.
  2. Roll back the operator image by deleting the ClusterServiceVersion (CSV) and subscription for NOI.

    To delete the CSV and subscription with the CLI, run the following commands:

    oc delete csv noi.v1.10.0
    oc delete subscription ibm-noi-catalog-subscription
  3. Revert the catalog source image to 1.6.9 and re-install the NOI operator into the same namespace. For more information, see the following topics in the version 1.6.9 documentation.
    CASE
    Offline (bastion host)
    • 4.1 Create the catalog source steps 1 and 2 in the Installing Netcool Operations Insight on Red Hat OpenShift in an air-gapped environment (offline) with the oc-ibm_pak plug-in and a bastion host topic.
    • 4.2 Create the operator step 1 in the Installing Netcool Operations Insight on Red Hat OpenShift in an air-gapped environment (offline) with the oc-ibm_pak plug-in and a bastion host topic.
    Offline (portable device)
    • 4.1 Create the catalog source steps 1 and 2 in the Installing Netcool Operations Insight on Red Hat OpenShift in an air-gapped environment (offline) with the oc-ibm_pak plug-in and a portable compute or portable storage device topic.
    • 4.2 Create the operator step 1 in the Installing Netcool Operations Insight on Red Hat OpenShift in an air-gapped environment (offline) with the oc-ibm_pak plug-in and a portable compute or portable storage device topic.
  4. Manually restart the PostgresSQL cluster pod.
    oc delete pod <release-name>-noi-postgres-cluster-1
    Where <release-name> is the release name.
    Note: Do not delete the PostgresSQL cluster or remove any Persistent Volume Claims (PVCs).

Rolling back to version 1.6.8

Roll back to version 1.6.8 from the command line or from the OLM UI.
  • To roll back from the command line, use the oc edit noi command and change the version back to version 1.6.8.
  • To roll back from the OLM UI, go to Operators > Installed Operators > IBM Cloud Pak for AIOps Event Manager. Then, select the NOI tab. Select your deployment and then select the YAML tab. Change the version back to version 1.6.8 and save the changes.