Description of problem: During OpenShift Install (/usr/share/ansible/openshift-ansible/playbooks/openstack/openshift-cluster/install.yml), the playbook fails at task "Enable RHEL repositories" with error "'openshift_version' is undefined". 'openshift_version' variable is supposed to be derived automatically during the playbook run. Please note that this bug is similar to bz-1642923 , but in this case it is in install.yml. Tried to workaround the issue by adding "- import_playbook: ../../init/version.yml" to install.yml , but didn't work. On the otherhand if I use the provision_install.yml it gets past the registration. Version-Release number of selected component (if applicable): OCP 3.11 How reproducible: Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
I believe this should be fixed in a more recent version of 3.11: https://github.com/openshift/openshift-ansible/pull/10504
Fixed by https://github.com/openshift/openshift-ansible/pull/10742
*** Bug 1642923 has been marked as a duplicate of this bug. ***
In openshift-ansible-3.11.55-1 and later
verified on # rpm -qa|grep -i ansible ansible-2.6.12-1.el7ae.noarch openshift-ansible-playbooks-3.11.75-1.git.0.95e8e2a.el7.noarch openshift-ansible-3.11.75-1.git.0.95e8e2a.el7.noarch openshift-ansible-docs-3.11.75-1.git.0.95e8e2a.el7.noarch openshift-ansible-roles-3.11.75-1.git.0.95e8e2a.el7.noarch
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2019:0326