nickryand at gmail
Jul 31, 2012, 12:40 PM
Post #3 of 3
Re: Getting Nova to return floating ip's as "public"
[In reply to]
On Mon, Jul 30, 2012 at 6:44 AM, Kieron B <kieronb [at] gmail> wrote:
> Can you provide some examples of the tools you are using?
I have seen knife-openstack and nova ssh affected. The nova issue has
been reported in a bug report here:
> On Sun, Jul 29, 2012 at 2:44 AM, Nick Downs <nickryand [at] gmail> wrote:
>> I am having an issue with getting the public IP's to be typed correctly
>> inside of nova. My nova configuration seems to be pretty basic:
>> Floating IP's are 10.10.0.128/25
>> The issue I am running into is the floating IP's are returned by the
>> nova API as private. This breaks a couple of tools I am using because
>> those tools are looking for addresses listed as "public".
>> How can I change my configuration to return the public IP's as type
>> OpenStack-operators mailing list
>> OpenStack-operators [at] lists
I have figured out how that Ip addresses are labeled based on the
label given to the specific network it comes from. In my case, I only
defined one network, labled "private". My VM's are issued a single
ip on the "private" network and a floating IP (I have
auto_assign_floating_ip set to true).
I tested adding another network named "public" and sure enough each VM
is given an IP on each network. The tools reflect this and try to use
the ip labeled as "public".
My issue now is trying to figure out how to get the bridging setup
correctly so my VM's can actually use the new "public" ip. However
that is out of the scope of this email thread.
I think if the following two behavior's were changed, the tools can be
updated to work with the type of network topology I had setup.
1. A server can go into the ACTIVE state prior to a floating IP address
being assigned with auto_assign_floating_ip. I need to test this more
to confirm the behavior.
2. Floating IP's that are auto_assigned to a host should be classified
in a way that allows the end user to parse them out correctly. Right
now auto_assigned floating IP's are not returned by the
I will be reporting these behaviors to the appropriate list once I do a bit
OpenStack-operators mailing list
OpenStack-operators [at] lists