Ask Your Question

Get the NAT IP from openstack using chef

asked 2013-07-17 06:22:00 -0500

saurav gravatar image

updated 2013-08-26 00:22:36 -0500

fifieldt gravatar image

How to get the NAT ip address of an opnestack server instance, i am using the knife-openstack command to create the new instance and bootstrap it.

The reason is that some of the configuration require me to add the NAT ip address, using ohai i can get only the internal ip but not the public ip/NAT ip/ floating ip which openstack assigns on the runtime.

any help

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2013-07-20 12:36:10 -0500

Wael gravatar image

Have you tried using the API to get the floating IP?

More details here:

edit flag offensive delete link more


I am using CHEF, and using knife-openstack plugin to create the servers, how to use this API in chef/knife

saurav gravatar imagesaurav ( 2013-07-21 16:55:01 -0500 )edit

Get to know Ask OpenStack

Resources for moderators

Question Tools


Asked: 2013-07-17 06:22:00 -0500

Seen: 521 times

Last updated: Jul 20 '13