Node Not Found When Running OpenShift Ansible Playbook
Issue
- The Ansible Installer/Scaleup playbook log claims to fail on a node saying "node not found" but I can ssh without a password to that node
- I don't know why the node not found, I can connect via ssh without password, see:
[root@<Master> ~]# ssh <Node>
Last login: <DATE_TIME> from <Master>
- The ansible installer/scaleup log looks like the following but I can ssh to the system.
Result from run 50 is: {u'cmd': [u'oc', u'get', u'node', u'<Node3>'], u'end': u'<Date_Time>', u'stdout': u'', u'changed': True, 'attempts': 50, u'start': u'<Date_Time>', u'delta':
u'0:00:00.360946', u'stderr': u'Error from server: node "<Node3>" not found', u'rc': 1, u'warnings':[]}
failed: [<Master>] => (item=<Node3>) => {"attempts": 50, "changed": false, "cmd": ["oc","get", "node", "<Node3>"], "delta": "0:00:00.360946", "end": "<Date_Time>", "failed":true, "item": "<Node3>", "rc": 1, "start": "<Date_Time>", "stdout_lines": [],"warnings": []}
stderr: Error from server: node "<Node3>" not found
msg: Task failed as maximum retries was encountered
FATAL: all hosts have already failed -- aborting
PLAY RECAP ********************************************************************
to retry, use: --limit @/root/scaleup.retry
<Node1> : ok=12 changed=0 unreachable=0 failed=0
<Node2> : ok=16 changed=0 unreachable=0 failed=0
<Master> : ok=12 changed=4 unreachable=0 failed=1
<Node3> : ok=95 changed=14 unreachable=0 failed=1
<Node4> : ok=102 changed=16 unreachable=0 failed=0
================================================================================================================================================================================================
Environment
- OpenShift Enterprise 3
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.