Bug 1274131

Summary: The ansible hang when getting openshift facts
Product: OpenShift Container Platform Reporter: Ma xiaoqiang <xiama>
Component: InstallerAssignee: Jason DeTiberus <jdetiber>
Status: CLOSED CURRENTRELEASE QA Contact: Ma xiaoqiang <xiama>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.1.0CC: aos-bugs, jokerman, mmccomas, xtian
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-11-20 15:41:39 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:
Embargoed:

Description Ma xiaoqiang 2015-10-22 03:24:10 UTC
Description of problem:
The ansible hang when getting openshift facts


Version-Release number of selected component (if applicable):
https://github.com/openshift/openshift-ansible.git master

How reproducible:
100%


Steps to Reproduce:
1. Install env via ansible


Actual results:
TASK: [openshift_facts | Verify Ansible version is greater than 1.8.0 and not 1.9.0 and not 1.9.0.1] *** 
ok: [10.66.79.161] => {"msg": "all assertions passed"}

TASK: [openshift_facts | Gather Cluster facts] ******************************** 

Wait long time for this step, the ansible hangs

Expected results:
Install env successfully.

Additional info:
Workround:
split "#!/usr/bin/python # pylint: disable=too-many-lines" to two lines in openshift-ansible/roles/openshift_facts/library/openshift_facts.py

Comment 1 Jason DeTiberus 2015-10-22 20:09:28 UTC
https://github.com/openshift/openshift-ansible/pull/720

Comment 2 Ma xiaoqiang 2015-10-23 01:08:24 UTC
Install env successfully. Move it to VERIFIED.