Description of problem: Using the ansible script form github I tried installing Openshift on a master and a single node. The master was RHEL and registered with a pool attached. The node was registered but I forgot to attach a pool ID. The ansible playbook ran but failed at: /home/cloud-user/openshift-ansible/roles/openshift_version/tasks/set_version_containerized.yml The version was set to 0.0 and v0.0 and therefore it couldn't be found. If the version is 0.0 and/or v0.0 then a message should remind the user to fully subscribe the node. Both register and add the appropriate pool. Version-Release number of selected component (if applicable): Latest on github. How reproducible: run: # ansible-playbook -vvvv /home/cloud-user/openshift-ansible/playbooks/byo/config.yml On a cluster where one or more of the nodes in the cluster have not being full subscribed (unregistered or registered without a pool) Steps to Reproduce: 1. 2. 3. Actual results: Expected results: Additional info:
Better error message added in https://github.com/openshift/openshift-ansible/pull/2348
Verified this bug with openshift-ansible-3.3.14-1.git.0.ed5ec69.el7.noarch, and PASS. 1. create all necessary repos on master, only create rhel repo on node. 2. run ansible installation. 3. Failed with the following message: TASK [openshift_version : fail] ************************************************ fatal: [10.14.6.219]: FAILED! => {"changed": false, "failed": true, "msg": "No OpenShift version available, please ensure your systems are fully registered and have access to appropriate yum repositories."}
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-2016:1933