← Back to team overview

openstack team mailing list archive

Issue in retrieving public IP address

 

Hi all,

We need to get the public IP address of an Openstack instance in the
startup of the instance. We have added a script to rc.local of the instance
so that it invokes
"http://169.254.169.254/latest/meta-data/public-ipv4"; in the script to get
the public IP.

We keep on starting several instances, and found that the public IP is
returned *only* at the creation of the first instance.

In subsequent instances publicIP is not returned as expected. Any idea
whats the issue is ?


-- 
Best Regards
Sajith