Why is upgrading Red Hat Enterprise Linux packages to 9.5 failing after updating Ansible Automation Platform with installer v2.5-11?
Environment
-
Ansible Automation Platform (AAP) 2.5
- Automation Gateway vx.x.x
-
Currently on Red Hat Enterprise Linux (RHEL) 9.4 but planning to upgrade to 9.5
Issue
-
Upgrading operating system packages from Red Hat Enterpise Linux 9.4 to 9.5 is failing
-
Recently upgraded Ansible Automation Platform using installer v2.5.11
Resolution
If the Ansible Automation Platform repository is provided via Red Hat Satellite, then make sure that the Red Hat Satellite repository is synced with the latest packages.
-
Run the following command to unset the operating system release version within
subscription-managersubscription-manager release --unset -
Run one of the following command to upgrade
openssland to install the appropriateautomation-gateway-proxy-opensslxxpackage# dnf upgrade openssl --allowerasing --enablerepo=ansible-automation-platformNOTE: AAP environment was installed with the bundled installer
# dnf upgrade openssl --allowerasing --enablerepo=ansible-automation-platform-2.5-for-rhel-9-x86_64-rpmsNOTE: AAP environment was installed with the non-bundled installer
-
Verify that that
opensslv3.2.2 andautomation-gateway-proxy-openssl32are installedrpm -qa | grep -E 'openssl|automation-gateway-proxy-openssl' -
Proceed with upgrading the rest of the operating system packages from RHEL 9.4 to 9.5
dnf upgrade -
Reboot the host
-
Verify that Automation Gateway services are still running
automation-gateway-service status
Root Cause
There was a major version change within the openssl libraries going from RHEL 9.4 to 9.5. The AAP installer v2.5.11 split the automation-gateway-proxy package into two: automation-gateway-proxy-openssl30 and automation-gateway-proxy-openssl32. These packages are specific to the version of openssl that is installed on the system.
This solution is part of Red Hat’s fast-track publication program, providing a huge library of solutions that Red Hat engineers have created while supporting our customers. To give you the knowledge you need the instant it becomes available, these articles may be presented in a raw and unedited form.