Closed chengchengmu closed 8 years ago
When I run debug.sh script, it says :
Node cm-chaos-openshift-rbox-node-fld6.figaro.amadeus.net: the IP in OpenShift (172.17.42.1) does not match DNS/hosts (10.55.0.89)
So where is that coming from?
172.17.42.1 is the IP of the docker0 interface on the openshift master, so this message is weird. I confirm that the IP of the openshift node does not change after a reboot.
I did more tests on 5 openshift nodes:
[root@openshift-master ~]# ./debug.sh
Analyzing master
Node cm-chaos-openshift-rbox-node-9y91.figaro.amadeus.net: the IP in OpenShift (172.17.42.1) does not match DNS/hosts (10.55.0.90)
Node cm-chaos-openshift-rbox-node-fld6.figaro.amadeus.net: the IP in OpenShift (172.17.42.1) does not match DNS/hosts (10.55.0.89)
Node cm-chaos-openshift-rbox-node-scg9.figaro.amadeus.net: the IP in OpenShift (172.17.42.1) does not match DNS/hosts (10.55.0.70)
Node cm-chaos-openshift-rbox-node-wdxb.figaro.amadeus.net: the IP in OpenShift (172.17.42.1) does not match DNS/hosts (10.55.0.91)
Analyzing cm-chaos-openshift-rbox-node-868e.figaro.amadeus.net (10.55.0.41)
Analyzing cm-chaos-openshift-rbox-node-9y91.figaro.amadeus.net (172.17.42.1)
Could not find node name in /etc/origin/master/master-config.yaml
Analyzing cm-chaos-openshift-rbox-node-fld6.figaro.amadeus.net (172.17.42.1)
Could not find node name in /etc/origin/master/master-config.yaml
Analyzing cm-chaos-openshift-rbox-node-scg9.figaro.amadeus.net (172.17.42.1)
Could not find node name in /etc/origin/master/master-config.yaml
Analyzing cm-chaos-openshift-rbox-node-wdxb.figaro.amadeus.net (172.17.42.1)
Could not find node name in /etc/origin/master/master-config.yaml
So I can collect logs : openshift-sdn-debug.zip
Root cause found by @david-martin and Jawed Khelil : At reboot time, the facter 2.4's ipaddress 's value is docker0 interface's IP. Problem should be solved by upgrading facter to 3.x
Closing it.
@menren I did what now? This thread escapes me completely
A certain Jose David Martin of Red Hat helped me to solve this issue. Sorry if it's not you. It was a blind guess ...
Possibly this David Martin https://github.com/jdnieto
Hi,
After a reboot of the openshift-node's machine, should sdn be configured correctly ?
In my case it seems not. Version used :
A node that rebooted tries to contact a pod hosted on another node, and got
no route to host
:When I run debug.sh script, it says :
Node cm-chaos-openshift-rbox-node-fld6.figaro.amadeus.net: the IP in OpenShift (172.17.42.1) does not match DNS/hosts (10.55.0.89)
By the way the node is considered as ready in the master, pods are scheduled on it.
Any idea of what went wrong ?
Thanks !