SDN Node failed: Failed to get subnet for this host: hostname.example.com, error: hostsubnet "hostname.example.com" not found
Issue
- When installing OSE 3.1, it gets failed at the task :
TASK: [openshift_manage_node | Wait for Node Registration] ********************
failed: [Master_IP] => (item=Master_name.example.com) => {"attempts": 20, "changed": true, "cmd": ["oc", "get", "node", "Master_name.example.com"], "delta": "0:00:00.294432", "end": "2016-07-01 19:03:26.983200", "failed": true, "item": "Master_name.example.com", "rc": 1, "start": "2016-07-01 19:03:26.688768", "warnings": []}
stderr: Error from server: node "Master_name.example.com" not found
msg: Task failed as maximum retries was encountered
failed: [Master_IP] => (item=Slave_name.example.com) => {"attempts": 20, "changed": true, "cmd": ["oc", "get", "node", "Slave_name.example.com"], "delta": "0:00:00.293134", "end": "2016-07-01 19:05:16.265200", "failed": true, "item": "Slave_name.example.com", "rc": 1, "start": "2016-07-01 19:05:15.972066", "warnings": []}
stderr: Error from server: node "Slave_name.example.com" not found
msg: Task failed as maximum retries was encountered
FATAL: all hosts have already failed -- aborting
PLAY RECAP ********************************************************************
to retry, use: --limit @/root/config.retry
Slave_IP : ok=57 changed=20 unreachable=0 failed=0
Master_IP : ok=204 changed=58 unreachable=0 failed=1
localhost : ok=11 changed=0 unreachable=0 failed=0
Where are you experiencing the behavior? What environment?
Our Environment details are as follows:
1. Internal DNS hosted on a Linux VM for Name resolution.
2. 1 Master and 1 Node VM(both RHEL 7.2)
3.All the servers are not exposed to the internet directly. There is a corporate Proxy through which we access the internet.
- Logs show -
Jul 05 19:11:39 hostname.example.com atomic-openshift-node[26337]: F0705 19:11:39.939971 26337 flatsdn.go:42] SDN Node failed: Failed to get subnet for this host: hostname.example.com, error: hostsubnet "hostname.example.com" not found
Environment
- OpenShift Enterprise 3.1
- Internal DNS hosted on a Linux VM for Name resolution.
- 1 Master and 1 Node VM(both RHEL 7.2)
- All the servers are not exposed to the internet directly. There is a corporate Proxy through which we access the internet.
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.
