Bug 1274131 - The ansible hang when getting openshift facts
Summary: The ansible hang when getting openshift facts
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Installer
Version: 3.1.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: ---
Assignee: Jason DeTiberus
QA Contact: Ma xiaoqiang
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-10-22 03:24 UTC by Ma xiaoqiang
Modified: 2016-07-04 00:45 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2015-11-20 15:41:39 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

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.


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