Hide Forgot
Description of problem: Setup multi-node env with resolve the master/node name in /etc/hosts. Run the debug.sh on master when the /etc/hosts file contains extra space in the end of the hostname. eg. cat -e /etc/hosts 10.66.128.64 node3.bmeng.local $ It will report incorrect messages about the IP mis-match. Version-Release number of selected component (if applicable): openshift-sdn commit: 855a002d3ca0481e0a36a5360737841a3904aa97 How reproducible: always Steps to Reproduce: 1. Run debug.sh on master when the /etc/hosts contains extra space in the end of node hostname. 2. 3. Actual results: # ./debug.sh Analyzing master Node node3.bmeng.local: no IP address in either DNS or /etc/hosts Node node3.bmeng.local: the IP in OpenShift (10.66.128.64) does not match DNS/hosts () # ping node3.bmeng.local PING node3.bmeng.local (10.66.128.64) 56(84) bytes of data. Expected results: Should not report such error if the hostname resolvable. Additional info:
Fixed in openshift-sdn PR 323. PR is merged.
Checked with the latest debug.sh The issue has been fixed.