Am 02.02.2019 um 17:26 schrieb Clemens clemens.hardewig@crandale.de:
Hi Alfredo,
This is basics of Openstack: curl -s http://169.254.169.254/latest/meta-data/local-ipv4 http://169.254.169.254/latest/meta-data/local-ipv4 is a request to the metadata service with its special IP address 169.254.169.254 http://169.254.169.254/latest/meta-data/local-ipv4, to obtain the local ip address; the second one to get the public ip address It look like from remote that your network is not properly configured so that this information is not answered from metadata service successfully. What happens if you execute that command manually?
BR C
Am 02.02.2019 um 17:18 schrieb Alfredo De Luca <alfredo.deluca@gmail.com mailto:alfredo.deluca@gmail.com>:
Hi Clemens. Yes...you are right but not sure why the IPs are not correct
if [ -z "${KUBE_NODE_IP}" ]; then KUBE_NODE_IP=$(curl -s http://169.254.169.254/latest/meta-data/local-ipv4 http://169.254.169.254/latest/meta-data/local-ipv4) fi
sans="IP:${KUBE_NODE_IP}"
if [ -z "${KUBE_NODE_PUBLIC_IP}" ]; then KUBE_NODE_PUBLIC_IP=$(curl -s http://169.254.169.254/latest/meta-data/public-ipv4 http://169.254.169.254/latest/meta-data/public-ipv4)
I don't have that IP at all.