Description of problem: Since this commit [1] was introduced in 3.11.155, node provisioning on AWS using auto-scaling groups for infra and compute nodes no longer generates the necessary openshift-node configmaps from which the /etc/origin/node/node-config.yaml file is extracted. [1] https://github.com/openshift/openshift-ansible/commit/57ef046 Version-Release number of the following components: openshift-ansible-3.11.219 ansible-2.6.18-1.el7ae.noarch How reproducible: Always, when using openshift-ansible >= 3.11.155 Steps to Reproduce: 1. Inventory only includes master nodes in the [nodes] group. 2. Run openshift-ansible/playbooks/aws/openshift-cluster/provision_install.yml Actual results: # oc get configmap -n openshift-node NAME DATA AGE node-config-master 1 22h # oc logs SYNC_POD_ON_INFRA_NODE -n openshift-node --tail=2 Error from server (NotFound): configmaps "node-config-infra" not found error: Unable to retrieve latest config for node # oc logs SYNC_POD_ON_COMPUTE_NODE -n openshift-node --tail=2 Error from server (NotFound): configmaps "node-config-compute" not found error: Unable to retrieve latest config for node Expected results: # oc get configmap -n openshift-node NAME DATA AGE node-config-compute 1 5h node-config-infra 1 5h node-config-master 1 5h
As discussed, we will revert this section of code. https://github.com/openshift/openshift-ansible/commit/57ef046#diff-09f8d477b832039889e8f93cb2f2b0d5R5-R14 This will return to creating configmaps for all openshift_node_group_names in openshift_node_groups. If the customer does not want configmaps created for all the names listed in the default opesnshit_node_groups list, they should specify their own list in their inventory.
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:2990