Closed juhoffma closed 8 years ago
Leading to the result:
PLAY [Configure etcd certificates] ********************************************
skipping: no hosts matched
PLAY [Configure etcd hosts] ***************************************************
skipping: no hosts matched
PLAY [Delete temporary directory on localhost] ********************************
TASK: [file name={{ g_etcd_mktemp.stdout }} state=absent] *********************
ok: [localhost]
PLAY [Configure nfs hosts] ****************************************************
skipping: no hosts matched
PLAY [Set master facts and determine if external etcd certs need to be generated] ***
TASK: [Check for RPM generated config marker file .config_managed] ************
FATAL: no hosts matched or all hosts have already failed -- aborting
PLAY RECAP ********************************************************************
Register host ---------------------------------------------------------- 66.06s
Create ec2 instance ---------------------------------------------------- 61.87s
docker | Install docker ------------------------------------------------ 60.51s
Wait for ssh ----------------------------------------------------------- 36.84s
openshift_common | Install the base package for versioning ------------- 24.38s
Subscribe only to the ose repo ----------------------------------------- 18.78s
Disable all known rhsm repos ------------------------------------------- 18.42s
os_firewall | Install iptables packages -------------------------------- 15.81s
Wait for user setup ---------------------------------------------------- 15.67s
os_firewall | need to pause here, otherwise the iptables service starting can sometimes cause ssh to fail -- 10.03s
to retry, use: --limit @/Users/buddy/openshift_setup.retry
localhost : ok=29 changed=10 unreachable=0 failed=0
openshift-master.demo.openshift.me : ok=0 changed=0 unreachable=1 failed=0
openshift-node-demo-04f933b9.demo.openshift.me : ok=46 changed=17 unreachable=0 failed=0
openshift-node-demo-05f933b8.demo.openshift.me : ok=0 changed=0 unreachable=1 failed=0
openshift-node-demo-07f933ba.demo.openshift.me : ok=46 changed=17 unreachable=0 failed=0
openshift-node-demo-0af933b7.demo.openshift.me : ok=46 changed=17 unreachable=0 failed=0
openshift-node-demo-0bf933b6.demo.openshift.me : ok=0 changed=0 unreachable=1 failed=0
openshift-node-infra-4ef832f3.demo.openshift.me : ok=0 changed=0 unreachable=1 failed=0
After reading through this ansible github issue
Setting control_path
to the following value fixed it for me
[ssh_connection]
ssh_args = -o ControlMaster=auto -o ControlPersist=900s
#control_path = %(directory)s/%%h-%%r
control_path = %(directory)s/%%C
in ansible.cfg
fixed the problem
Hi,
constantly seeing when trying to deploy a new instance. Tried it 3 times, and always 3 nodes failed, the other three went fine: