Description of problem: If a Node does not have eth0 oo-accept-node will display a confusing error message. The offending code line is: $TC_DATA = %x[/sbin/tc clas show dev eth0].split("\n").grep(/parent/) However, there are more instance of eth0 in that file that need to be replaced. Version-Release number of selected component (if applicable): openshift-origin-node-util-1.10.4-1
The node.conf file is used, baring that the ethernet device is probed for by finding what device either routes from or routes to the public IP address. https://github.com/openshift/origin-server/pull/2957
Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/fa5184e8a1c458c8331657d14dc57eabe6fc16f1 Bug 978261 - find the external ethernet device rather than hard-code eth0
Check this on devenv_3427, Modify the EXTERNAL_ETH_DEV to non-exist one in node.conf Use oo-accept-node to check the issue. # oo-accept-node -v INFO: loading node configuration file /etc/openshift/node.conf INFO: loading resource limit file /etc/openshift/resource_limits.conf INFO: finding external network device Device "ethi10" does not exist. FAIL: SEVERE: not a valid ethernet device: 'ethi10' Cannot find device "ethi10" INFO: checking node public hostname resolution It will detect the nic dynamically, but not the hardcode one.