Hi Sajith,
We can get the public ip from within the spawned instance by calling the
metadata service.

wget http://169.254.169.254/latest/meta-data/public-ipv4

public-ipv4 file will contain the public ip. So calling this from the init
script we can get public ip of the instance.

I tried attaching persistent volumes to an instance but it did not work by
following the nova documentation. This feature also may only
be working for kvm.

However since we don't need this feature just now we can report the issue
to nova community and wait. If there is need to run LB within
openstack, instead of using persistent storage, we can create a separate LB
image with all the requirements installed
and then passing the configuration at startup.

Damitha

-- 
__________________________________________________________________
Damitha Kumarage
Senior Technical Lead; WSO2 Inc.
Oxygenating the Web Service Platform
http://www.wso2.com/
blog:
http://damithakumarage.wordpress.com/
__________________________________________________________________
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to