[openstack-ansible][magnum]

Clemens clemens.hardewig at crandale.de
Sat Feb 2 16:36:12 UTC 2019



> Am 02.02.2019 um 17:26 schrieb Clemens <clemens.hardewig at 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 at gmail.com <mailto:alfredo.deluca at 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. 
>> 
>> 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20190202/c14a0200/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3783 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20190202/c14a0200/attachment.bin>


More information about the openstack-discuss mailing list