Bug 1327503

Summary: Inconvenient to input "yes" with every node in containerized OpenShift installation
Product: OpenShift Container Platform Reporter: Gan Huang <ghuang>
Component: InstallerAssignee: Samuel Munilla <smunilla>
Status: CLOSED WONTFIX QA Contact: Xiaoli Tian <xtian>
Severity: low Docs Contact:
Priority: medium    
Version: 3.2.0CC: aos-bugs, jokerman, mmccomas
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: 2017-08-24 20:49:08 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:

Description Gan Huang 2016-04-15 09:13:59 UTC
Description of problem:
When run ansible playbooks directly, installer will prompt "Are you sure you want to continue connecting (yes/no)?". It's not convenient with many nodes.

Version-Release number of selected component (if applicable):
openshift3/installer:v3.2.0.15

How reproducible:
100%

Steps to Reproduce:
1. config the right key to ssh remote instance without password

2.docker run -ti -v ~/openshift/:/var/lib/openshift-installer/:Z -v ~/.ssh:/root/.ssh:Z openshift3/installer install

3.docker run --entrypoint=/usr/bin/ansible-playbook -ti -v ~/openshift/:/var/lib/openshift-installer/:Z -v ~/.ssh:/root/.ssh:Z openshift3/installer -i hosts /usr/share/ansible/openshift-ansible/playbooks/byo/config.yml

Actual results:
For step 3: quick-installer works well.     

For step 4:
4.GATHERING FACTS *************************************************************** 
<x.x.172.119> ESTABLISH CONNECTION FOR USER: root on PORT 22 TO x.x.172.119

paramiko: The authenticity of host 'x.x.172.119' can't be established.
The ssh-rsa key fingerprint is 1ea36996f185856f06a89b1e9e16e2eb.
Are you sure you want to continue connecting (yes/no)?
yes


Expected results:
Running well without asking "Are you sure you want to continue connecting (yes/no)"

Additional info: