Ask Your Question
0

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
0

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: http://docs.openstack.org/api/openstack-network/2.0/content/floatingip_show.html

edit flag offensive delete link more

Comments

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

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

Seen: 449 times

Last updated: Jul 20 '13