Adding RHEL machines on OpenShift 4 fails due to missing python file

Solution In Progress - Updated -

Issue

Adding RHEL machines on OCP 4.11 following the official documentation fails with:

fatal: [rhel-node2.openshift4.example.com]: FAILED! => {
    "changed": false,
    "module_stderr": "/usr/bin/env: ‘python’: No such file or directory\n",
    "module_stdout": "",
    "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error",
    "rc": 127
}
fatal: [rhel-node1.openshift4.example.com]: FAILED! => {
    "changed": false,
    "module_stderr": "/usr/bin/env: ‘python’: No such file or directory\n",
    "module_stdout": "",
    "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error",
    "rc": 127
}

Environment

Red Hat OpenShift Container Platform 4.11
Red Hat Enterprise Linux 8.7

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