Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1543830 - Installation failed while specifying Vsphere cloudprovider
Installation failed while specifying Vsphere cloudprovider
Status: CLOSED ERRATA
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer (Show other bugs)
3.9.0
Unspecified Unspecified
medium Severity medium
: ---
: 3.9.0
Assigned To: davis phillips
Gan Huang
: NeedsTestCase
Depends On: 1544027
Blocks:
  Show dependency treegraph
 
Reported: 2018-02-09 07:03 EST by Gan Huang
Modified: 2018-03-28 10:27 EDT (History)
3 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
Environment:
Last Closed: 2018-03-28 10:27:28 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2018:0489 None None None 2018-03-28 10:27 EDT

  None (edit)
Description Gan Huang 2018-02-09 07:03:51 EST
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 07:10:45 EST
Proposed PR: https://github.com/openshift/openshift-ansible/pull/7084
Comment 2 Scott Dodson 2018-02-21 17:15:14 EST
in openshift-ansible-3.9.0-0.46.0
Comment 4 Gan Huang 2018-02-28 02:48:56 EST
Verified in openshift-ansible-3.9.1-1.git.0.9862628.el7.noarch
Comment 7 errata-xmlrpc 2018-03-28 10:27:28 EDT
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.