Upgrade the Ansible Automation Platform Operator

To upgrade to the latest version of Ansible Automation Platform Operator on OpenShift Container Platform, you can use the following procedure:

Before you begin

Important:

Upgrading from version 2.4 or 2.5 is not supported. Upgrade to Red Hat Ansible Automation Platform 2.6 before upgrading to version 2.7.

See Upgrading Red Hat Ansible Automation Platform Operator in the version 2.6 documentation.

  1. For existing deployments only: You must deploy your automation controller and automation hub instances to the same, single namespace before upgrading. For more information see, Migrating from one namespace to another.
  2. Review the Backup and restore in an OpenShift environment section and backup your services:
    • AutomationControllerBackup
    • AutomationHubBackup
    • EDABackup
Important:

Upgrading from Event-Driven Ansible 2.4 is not supported. If you are using Event-Driven Ansible 2.4 in production, contact Red Hat before you upgrade.

Procedure

  1. Log in to OpenShift Container Platform.
  2. Navigate to Operators > Installed Operators.
  3. Select the Ansible Automation Platform Operator installed on your project namespace.
  4. Select the Subscriptions tab.
  5. To upgrade to 2.7 change the channel to stable-2.7.
  6. This creates an InstallPlan for the user. Click Preview InstallPlan.
  7. Click Approve.
  8. Create a Custom Resource (CR) using the Ansible Automation Platform UI.
    Note:

    The automation controller and automation hub UIs remain until all SSO configuration is supported in the platform gateway UI.

Results

You can confirm you have upgraded successfully by navigating to Operators > Installed Operators, here under Ansible Automation Platform you can verify the version number matches your target version.

Additionally, go to your Ansible Automation Platform Operator deployment and click All instances to verify if all instances upgraded correctly. All pods should display either a Running or Completed status, with no pods displaying an error status.