Description of problem: Version-Release number of the following components: rpm -q openshift-ansible - openshift-ansible-3.11.104-1.git.0.379a011.el7.noarch rpm -q ansible - ansible-2.6.17-1.el7ae.noarch ansible --version - ansible 2.6.17 How reproducible: Steps to Reproduce: 1. Deploy cluster 2. Nodes will fail to bootstrap 3. Actual results: See Task "Dump all candidate bootstrap hostnames" and beyond in attached log Expected results: Nodes to be able to bootstrap and have their CSRs accepted Additional info: Please attach logs from ansible-playbook with the -vvv flag
Created the following PR with the fix, setting undefined to null results in variables having python type list. https://github.com/openshift/openshift-ansible/pull/12050
Verify this bug using the way mentioned in Comment 14. When one key from oo_nodes_to_config does not map to a hostvar with l_kubelet_node_name set: TASK [Set l_nodes_to_join from node_list] **************************************************************************************** ok: [localhost] => {"ansible_facts": {"l_nodes_to_join": "[AnsibleUndefined, u'gpei-3node-registry-router-1', u'gpei-3master-etcd-1']"}, "changed": false} With the patch applied: TASK [Set l_nodes_to_join from node_list] **************************************************************************************** ok: [localhost] => {"ansible_facts": {"l_nodes_to_join": [null, "gpei-3node-registry-router-1", "gpei-3master-etcd-1"]}, "changed": false} And no regression issue found during installation with openshift-ansible-3.11.161-1.git.0.376158f.el7.noarch.rpm.
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-2020:0017