The RHEL System Role for SAP sap_hana_preconfigure fails with "The RHEL release x.y is not supported for SAP HANA!"

Solution Verified - Updated -

Issue

On a RHEL system (Ansible managed node) which is to be configured for running SAP products using the RHEL System Roles for SAP or the Automation Hub collection redhat.sap_install, the role sap_hana_preconfigure fails with an error message similar to the following:

TASK [sap-hana-preconfigure : assert ]
fatal: [localhost]: FAILED! => {
  "assertion": "ansible_distribution_version in \ "['8.0', '8.1', '8.2', '8.4', '8.6']\"",
  "changed": false,
  "evaluated_to": false
  "msg": "The RHEL release 8.8 is not supported for SAP HANA!"
}

Note: The list of RHEL minor releases in the line starting with "assertion" and the RHEL minor release mentioned in the line starting with "msg" might be different in your case.

Environment

  • Red Hat Enterprise Linux (RHEL) 9
  • Red Hat Enterprise Linux (RHEL) 8
  • Certain versions of the RHEL package rhel-system-roles-sap or Red Hat Ansible Automation Hub collection redhat.sap_install

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content