Description of problem: cloud-config should be null or not show up rather than /etc/origin/cloudprovider/.conf in cloud provider not enabled cluster Version-Release number of the following components: openshift-ansible-3.10.0-0.46.0 How reproducible: Always Steps to Reproduce: 1. install OCP without cloud provider enabled Actual results: # grep -A3 cloud-config /etc/origin/node/node-config.yaml cloud-config: - /etc/origin/cloudprovider/.conf cloud-provider: - # systemctl status atomic-openshift-node.service -l | grep cloud └─25578 /usr/bin/hyperkube kubelet --v=5 --address=0.0.0.0 --allow-privileged=true --anonymous-auth=true --authentication-token-webhook=true --authentication-token-webhook-cache-ttl=5m --authorization-mode=Webhook --authorization-webhook-cache-authorized-ttl=5m --authorization-webhook-cache-unauthorized-ttl=5m --bootstrap-kubeconfig=/etc/origin/node/bootstrap.kubeconfig --cadvisor-port=0 --cert-dir=/etc/origin/node/certificates --cgroup-driver=systemd --client-ca-file=/etc/origin/node/client-ca.crt --cloud-config=/etc/origin/cloudprovider/.conf --cloud-provider= --cluster-dns=172.16.120.109 Expected results: cloud-config should be null or not show up
Need to update node-config template in openshift_node_group role to check for empty string and skip cloud configuration in that situation.
Proposed: https://github.com/openshift/openshift-ansible/pull/8473
openshift-ansible-3.10.0-0.51.0
Fixed. openshift-ansible-3.10.0-0.53.0.git.0.53fe016.el7.noarch.rpm in cloud provider not enabled cluster, cloud-config and cloud-provider are not in node-config.yaml # cat /etc/redhat-release Red Hat Enterprise Linux Atomic Host release 7.5 Kernel Version: 3.10.0-862.el7.x86_64
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-2018:1816