OpenShift Install - wait for api to become available
Issue
TASK [openshift_master : Wait for API to become available] *********************
FAILED - RETRYING: Wait for API to become available (120 retries left).
FAILED - RETRYING: Wait for API to become available (119 retries left).
…..
FAILED - RETRYING: Wait for API to become available (6 retries left).
FAILED - RETRYING: Wait for API to become available (5 retries left).
FAILED - RETRYING: Wait for API to become available (4 retries left).
FAILED - RETRYING: Wait for API to become available (3 retries left).
FAILED - RETRYING: Wait for API to become available (2 retries left).
FAILED - RETRYING: Wait for API to become available (1 retries left).
[WARNING]: Consider using the get_url or uri module rather than running curl.
If you need to use command because get_url or uri is insufficient you can add
warn=False to this command task or set command_warnings=False in ansible.cfg to
get rid of this message.
fatal: [ec2-xx-xx-xx-xx.example.com]: FAILED! => {"attempts": 120, "changed": false, "cmd": ["curl", "--silent", "--tlsv1.2", "--cacert", "/etc/origin/master/ca-bundle.crt", "https://console.example.com/healthz
/ready"], "delta": "0:00:00.037458", "end": "2018-04-16 18:46:54.998317", "msg": "non-zero return code", "rc": 35, "start": "2018-04-16 18:46:54.960859", "stderr": "", "stderr_lines": [], "stdout": "", "stdout_lines": []}
NO MORE HOSTS LEFT *************************************************************
to retry, use: --limit @/usr/share/ansible/openshift-ansible/playbooks/byo/config.retry
PLAY RECAP *********************************************************************
ec2-xx-xx-xx-xx.example.com : ok=55 changed=5 unreachable=0 failed=1
...
localhost : ok=11 changed=0 unreachable=0 failed=0
INSTALLER STATUS ***************************************************************
Initialization : Complete
Health Check : Complete
etcd Install : Complete
Master Install : In Progress
This phase can be restarted by running: playbooks/byo/openshift-master/config.yml
- Rerunning install allows it to complete
Environment
- Red Hat OpenShift Container Platform
- 3.6
- 3.7
- Ansible
- 2.3
- 2.4
- 2.5
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
