Description of problem: Installation failed while specifying VSphere cloudprovider Version-Release number of the following components: openshift-ansible master branch How reproducible: always Steps to Reproduce: 1. Trigger installation with vsphere cloudprovider enabled openshift_cloudprovider_kind=vsphere openshift_cloudprovider_vsphere_username=xxx openshift_cloudprovider_vsphere_password=xxxx openshift_cloudprovider_vsphere_host=xxxxx openshift_cloudprovider_vsphere_datacenter=Datacenter openshift_cloudprovider_vsphere_datastore=datastore1 Actual results: TASK [openshift_node : file] ************************************************************************************************************************************************ fatal: [10.66.xx.xx]: FAILED! => {"msg": "The conditional check '('config' in l2_openshift_node_kubelet_args) | bool' failed. The error was: error while evaluating conditional (('config' in l2_openshift_node_kubelet_args) | bool): {{ l_node_kubelet_args_default | combine(l_openshift_node_kubelet_args, recursive=True) }}: {{ openshift_node_kubelet_args_dict[openshift_cloudprovider_kind | default('undefined')] }}: 'dict object' has no attribute u'vsphere'\n\nThe error appears to have been in '/root/openshift-ansible/roles/openshift_node/tasks/config.yml': line 26, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- file:\n ^ here\n"} Expected results: Additional info: Please attach logs from ansible-playbook with the -vvv flag
Proposed PR: https://github.com/openshift/openshift-ansible/pull/7084
in openshift-ansible-3.9.0-0.46.0
Verified in openshift-ansible-3.9.1-1.git.0.9862628.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-2018:0489