[Openstack] Issue in retrieving public IP address

Sajith Kariyawasam sajhak at gmail.com
Thu Jul 26 12:53:49 UTC 2012


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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20120726/6f7068a3/attachment.html>


More information about the Openstack mailing list