Bug 1543830 - Installation failed while specifying Vsphere cloudprovider
Summary: Installation failed while specifying Vsphere cloudprovider
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 3.9.0
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: ---
: 3.9.0
Assignee: davis phillips
QA Contact: Gan Huang
URL:
Whiteboard:
Depends On: 1544027
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-02-09 12:03 UTC by Gan Huang
Modified: 2018-03-28 14:27 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2018-03-28 14:27:28 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:0489 0 None None None 2018-03-28 14:27:56 UTC

Description Gan Huang 2018-02-09 12:03:51 UTC
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

Comment 1 Gan Huang 2018-02-09 12:10:45 UTC
Proposed PR: https://github.com/openshift/openshift-ansible/pull/7084

Comment 2 Scott Dodson 2018-02-21 22:15:14 UTC
in openshift-ansible-3.9.0-0.46.0

Comment 4 Gan Huang 2018-02-28 07:48:56 UTC
Verified in openshift-ansible-3.9.1-1.git.0.9862628.el7.noarch

Comment 7 errata-xmlrpc 2018-03-28 14:27:28 UTC
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


Note You need to log in before you can comment on or make changes to this bug.