Prerequisites and channel upgrades
To upgrade to a newer version of Ansible Automation Platform Operator, you must:
Ensure your system meets the system requirements detailed in the Operator topologies section of theTested deployment models .
- Create AutomationControllerBackup and AutomationHubBackup objects. For help with this see Backup and recovery for operator environments
- Review the Release notes for the new Ansible Automation Platform version to which you are upgrading and any intermediate versions.
- Determine the type of upgrade you want to perform. See the Channel Upgrades section for more information.
Channel upgrades Copy linkLink copied!
Upgrading to version 2.6 from Ansible Automation Platform 2.4 involves retrieving updates from a “channel”. A channel refers to a location where you can access your update. It currently resides in the OpenShift console UI.
In-channel upgrades Copy linkLink copied!
Most upgrades occur within a channel as follows:
- A new update becomes available in the marketplace, through the redhat-operator CatalogSource.
- The system automatically creates a new InstallPlan for your Ansible Automation Platform subscription.
- If set to Manual, the InstallPlan needs manual approval in the OpenShift UI.
- If set to Automatic, it upgrades as soon as the new version is available.
Note Set a manual install strategy on your Ansible Automation Platform Operator subscription during installation or upgrade. You will be prompted to approve upgrades when available in your chosen update channel. Stable channels, like stable-2.5, are available for each X.Y release.
- A new subscription, CSV, and operator containers are created alongside the old ones. The old resources are cleaned up after a successful install.
Cross-channel upgrades Copy linkLink copied!
Upgrading between X.Y channels is always manual and intentional. Stable channels for major and minor versions are in the Operator Catalog. Currently, only version 2.x is available, so there are few channels. It is recommended to stay on the latest minor version channel for the latest patches.
If the subscription is set for manual upgrades, you must approve the upgrade in the UI. Then, the system upgrades the Operator to the latest version in that channel.
It is recommended to set a manual install strategy on your Ansible Automation Platform Operator subscription during installation or upgrade. You will be prompted to approve upgrades when they become available in your chosen update channel. Stable channels, such as stable-2.5, are available for each X.Y release.
The containers provided in the latest channel are updated regularly for OS upgrades and critical fixes. This allows customers to receive critical patches and CVE fixes faster. Larger changes and new features are saved for minor and major releases.
For each major or minor version channel, there is a corresponding "cluster-scoped" channel available. Cluster-scoped channels deploy operators that can manage all namespaces, while non-cluster-scoped channels can only manage resources in their own namespace.
Cluster-scoped bundles are not compatible with namespace-scoped bundles. Do not try to switch between normal (stable-2.6 for example) channels and cluster-scoped (stable-2.6-cluster-scoped) channels, as this is not supported.