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 Copy linkLink copied!
- Read the Release notes for 2.6
- For existing deployments only: You must deploy your automation controller and automation hub instances to the same, single namespace before upgrading to 2.6. For more information see, Migrating from one namespace to another.
- Review the Backup and restore in an OpenShift environment section and backup your services:
- AutomationControllerBackup
- AutomationHubBackup
- EDABackup
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.
About this task Copy linkLink copied!
If you are on version 2.4, it is recommended to skip 2.5 and upgrade straight to version 2.6.
If you upgraded from 2.4 to 2.5, you must migrate your authentication methods and users before upgrading to 2.6 as that legacy authenticator functionality was removed.
Procedure Copy linkLink copied!
- Log in to OpenShift Container Platform.
- Navigate to .
- Select the Ansible Automation Platform Operator installed on your project namespace.
- Select the Subscriptions tab.
- Change the channel:
- To upgrade from version 2.4, change the channel to stable-2.6.
- To upgrade from version 2.5, change the channel to stable-2.6.
- This creates an InstallPlan for the user. Click .
- Click .
- Create a Custom Resource (CR) using the Ansible Automation Platform UI. The automation controller and automation hub UIs remain until all SSO configuration is supported in the platform gateway UI.
Results Copy linkLink copied!
You can confirm you have upgraded successfully by navigating to , here under Ansible Automation Platform you can see the version number, begins with 2.6.x.
Additionally, go to your Ansible Automation Platform Operator deployment and click to verify if all instances upgraded correctly. All pods should display either a Running or Completed status, with no pods displaying an error status.
Create Ansible Automation Platform custom resources Copy linkLink copied!
After upgrading to the latest version of Ansible Automation Platform Operator on OpenShift Container Platform, you can create an Ansible Automation Platform custom resource (CR) that specifies the names of your existing deployments, in the same namespace.
About this task Copy linkLink copied!
The following example outlines the steps to deploy a new Event-Driven Ansible setup after upgrading to the latest version, with existing automation controller and automation hub deployments already in place.
The Appendix contains more examples of Ansible Automation Platform CRs for different deployments.
Procedure Copy linkLink copied!
Results Copy linkLink copied!
Navigate to your Ansible Automation Platform Operator deployment and click to verify whether all instances have deployed correctly. You should see the Ansible Automation Platform instance and the deployed AutomationController, EDA, and AutomationHub instances here.
Alternatively, you can verify whether all instances deployed correctly by running oc get route in the command line.