+++ This bug was initially created as a clone of Bug #1371006 +++
Description of problem:
Set correct cloudprovider per "Cloud Provider Configuration" in https://github.com/openshift/openshift-ansible/blob/master/inventory/byo/hosts.ose.example#L130, it turned out that AWS/OpenStack cloudprovider doesn't work because of lacking of "cloud-provider" and "cloud-config" in node kubelet_args and master args.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. cat #inventory_hosts
2. Trigger the installation
aws.conf not found in maser/node config.
[root@ip-172-18-15-87 ~]# grep -nir "aws.conf" /etc/origin/*
[root@ip-172-18-15-87 ~]# ll /etc/origin/cloudprovider/aws.conf
-rw-r--r--. 1 root root 27 Aug 28 21:55 /etc/origin/cloudprovider/aws.conf
pvc created by cloudprovider was in pending status.
cloudprovider is configured correctly.
--- Additional comment from Gan Huang on 2016-08-29 03:17:33 EDT ---
Due to "Set cloud provider facts" was removed from "roles/openshift_cloud_provider/tasks/main.yml", there is no keys of "cloudprovider" found in master/node facts.
--- Additional comment from Andrew Butcher on 2016-08-29 14:38:18 EDT ---
Proposed fix: https://github.com/openshift/openshift-ansible/pull/2374
--- Additional comment from Gan Huang on 2016-08-30 00:18:50 EDT ---
Verified with openshift-ansible-3.3.17-1.git.0.be4e0f9.el7.noarch.rpm
OpenStack/AWS cloudproviders are configured correctly. STI build successfully.
PR is not merged to openshift-ansible-3.2.37-1
This bug's verification is blocked by 1392365.
Verified with openshift-ansible-3.2.39-1.git.0.2c9adff.el7.noarch.rpm
AWS/OpenStack cloudprovider were configured correctly, S2I build succeed.
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.