Removing IBM Automation foundation

To upgrade the WebSphere Automation operator from version 1.5.3 to 1.6.0, you must remove the dependency on the IBM Automation foundation operators from a WebSphereAutomation custom resource instance running version 1.5.3 of the WebSphere Automation operator.

Procedure

  1. Copy the remove-iaf.sh script from the Script for removing IBM Automation foundation from WebSphere Automation operator page.
  2. Run the oc login command in your terminal to connect into the Red Hat® OpenShift® Container Platform.
  3. Determine the namespace of the WebSphere Automation operator and instance.
    1. Find the operator namespace (for example, openshift-operators).
    2. Find the instance namespace (for example, websphere-automation).
  4. Grant permissions to the file by using the chmod +x remove-iaf.sh command, and run the script by using the ./remove-iaf.sh command.
    • When prompted, enter the operator namespace that you obtained in the previous step.
    • When prompted, enter the instance namespace that you obtained in the previous step.
  5. Wait until the IBM Automation Foundation removal complete! message appears.

What to do next

If the script does not complete successfully, use the following troubleshooting information.
If the remove-iaf.sh script fails and the IBM Automation Foundation removal complete! message did not appear
  1. Reset the cluster back to its default settings.
    1. Reinstall version 1.5.3 of the IBM WebSphere Automation operator.
    2. Wait for the WebSphereAutomation instance to show the All prerequisites and installed components are ready status message.
  2. Follow the steps to remove the IBM Automation foundation again.
If there is more than one instance of WebSphere Automation
The script allows only a single instance of WebSphereAutomation to be upgraded at a time. If there are multiple instances of WebSphereAutomation (not including WebSphereHealth or WebSphereSecure) that are running on OpenShift Container Platform, the WebSphere Automation 1.5.3 operator must be installed for every non-global namespace corresponding to each WebSphereAutomation component. Similarly, the remove-iaf.sh script must be run once for every non-global namespace containing each WebSphereAutomation instance.