Bug 1379868

Summary: Install hang configuring AWS Cloud Provider when no AWS cloud provider vars set - byo scaleup.yml
Product: OpenShift Container Platform Reporter: Mike Fiedler <mifiedle>
Component: InstallerAssignee: Andrew Butcher <abutcher>
Status: CLOSED CURRENTRELEASE QA Contact: Johnny Liu <jialiu>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 3.3.0CC: aos-bugs, jokerman, mifiedle, mmccomas
Target Milestone: ---   
Target Release: ---   
Hardware: x86_64   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-02-10 01:57:26 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Attachments:
Description Flags
Inventory
none
Ansible log
none
Ansible config none

Description Mike Fiedler 2016-09-27 23:54:56 UTC
Created attachment 1205357 [details]
Inventory

Description of problem:

Was scaling an OpenStack cluster up by adding 252 nodes to it by running the byo/openshift-node/scaleup.yml playbook.   The install hit a task called Configure AWS Cloud Provider Settings and then hung.   My inventory had no AWS information configured and did not specify AWS as a cloud provider.  Lots of deprecation warnings occurred in this task:

2016-09-27 18:13:46,564 p=83542 u=root |  TASK [openshift_node : Configure AWS Cloud Provider Settings] ******************
2016-09-27 18:13:48,245 p=83542 u=root |  [DEPRECATION WARNING]: Skipping task due to undefined Error, in the future this will be a fatal error.:
'openshift_cloudprovider_aws_access_key' is undefined.
This feature will be removed in a future release. Deprecation warnings can be
disabled by setting deprecation_warnings=False in ansible.cfg.

Inventory, log and ansible.cfg attached

Version-Release number of selected component (if applicable): 3.3.0.32 and Ansible 2.2


How reproducible: Unknown


Steps to Reproduce:
1.   Installed initial core cluster with byo/config.yml.   Install successful.   Conformance tests run successfully to verify the cluster.
2.  Added 252 nodes to the inventory and ran the byo/openshift-node/scaleup.yml


Actual results:

Install hangs configuring AWS cloud provider


Expected results:

Successful install


Additional info:

See attachments

Comment 1 Mike Fiedler 2016-09-27 23:55:40 UTC
Created attachment 1205358 [details]
Ansible log

Comment 2 Mike Fiedler 2016-09-27 23:56:09 UTC
Created attachment 1205359 [details]
Ansible config

Comment 3 Scott Dodson 2017-02-10 01:57:26 UTC
This was fixed in https://github.com/openshift/openshift-ansible/pull/2518 and the fix is in openshift-ansible-3.3.30 and later.