Ansible fails to install nodes on Openshift
Issue
- While installing via ansible "oc get nodes" fails to fetch minions. Error output :
TASK: [openshift_node | Check scheduleable state] *****************************
changed: [sv-2000lvu19 -> sv-2000lvu19]
failed: [sv-2000lvu16 -> sv-2000lvu19] => {"attempts": 10, "changed": true, "cmd": ["oc", "get", "node", "sv-2000lvu16.ebrc.local"], "delta": "0:00:00.194013", "end": "2015-06-29 13:33:22.546935", "failed": true, "rc": 1, "start": "2015-06-29 13:33:22.352922", "warnings": []}
stderr: Error from server: minion "sv-2000lvu16.ebrc.local" not found
msg: Task failed as maximum retries was encountered
- Below error is seen when in node logs.
Could not find an allocated subnet for minion x.y.z: Get https://x.y.z:8443/oapi/v1/hostsubnets/x.y.z: dial tcp 10.10.10.10:8443: i/o timeout. Waiting...
- Ansible issues on Openshift.
Environment
- Openshift Enterprise
- 3.0
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.
