Uninstalling the server software from Red Hat OpenShift

When you want to install a new version of server software or to reinstall when an installation fails, you can uninstall the server software and its components from the Red Hat OpenShift platform.

Before you begin

You must have completed the following tasks:
  • Installed HCL OneTest Server software.

  • Closed HCL OneTest Server, any open web browsers, and all other applications that are enabled by HCL OneTest Server.

  • Optional: Backed up data from the previous version of the product.


  1. Open and log in to the terminal.
  2. Run the following command to stop the workload that is running:
    oc delete all,cm,secret -lexecution-marker -n test-system
    Remember: test-system is the name of the namespace. If you created a namespace by using a different value, then you must use that value in place of the test-system in all the instances in this procedure.
  3. Run the following command to uninstall the server software:
    helm uninstall {my-ots} -n test-system
    The PersistentVolumeClaims and PersistentVolumes that were created during the installation are not deleted automatically. If you reinstall the server software, the user data is reused unless you specifically delete those volumes.
    Note: You must substitute {my-ots} with the same release name that you used during the installation of the server software.
  4. Run the following command to delete everything including user data contained in PersistentVolumeClaims and PersistentVolumes:
    oc delete project test-system
    Important: If you want to migrate data from a previous version to the latest version of the product, then you must have taken the backup of data before you run this command.


You have uninstalled the server software from the Red Hat OpenShift platform.