the node_ip_addr parameter is used with register_dns (
|
echo update add <%= scope.lookupvar('fqdn') %> 180 A <%= scope.lookupvar('::openshift_origin::node_ip_addr') %> |
) to set the host dns entry.
Originally the variable was only used for setting the PUBLIC_IP in node.conf, hence the name, but it has a more generic use now.
This also highlights an issue with the usage of the variable in oo-install (https://github.com/openshift/openshift-extras/blob/4823853f7df32af6e1a2689826276e00e84e4d0a/oo-install/workflows/origin_deploy/originator.rb#L378) instead, originator.rb should be setting it to the value of host_instance.ip_addr for each host.