← Back to team overview

openstack team mailing list archive

Re: Floating IP vs. Fixed IP in nova-network

 

That is a confusing log message. That log is from the allocation code in the floating ip mixin class. It is not actually allocating a floating ip unless you have auto_assign_floating_ip set to True.

Vish

On Nov 20, 2012, at 10:08 AM, Ahmed Al-Mehdi <ahmed@xxxxxxxxxx> wrote:

> Hello,
> 
> When I launch a VM instance, I see the following message regarding floating IP in nova-network.log:
> 
> 2012-11-18 15:50:29 DEBUG nova.network.manager [req-f2b4df1f-6c29-48dc-991b-93fb5eb29d08 ce016bb05df949ebbafcc7c165359d7c ce1e819636744dc680fa5515f6475e87] [instance: 4e80964e-5bd1-4df4-a517-223c79d55517] floating IP allocation for instance |%s| from (pid=1375) allocate_for_instance /usr/lib/python2.7/dist-packages/nova/network/manager.py:315
> 2012-11-18 15:50:29 DEBUG nova.network.manager [req-f2b4df1f-6c29-48dc-991b-93fb5eb29d08 ce016bb05df949ebbafcc7c165359d7c ce1e819636744dc680fa5515f6475e87] [instance: 4e80964e-5bd1-4df4-a517-223c79d55517] network allocations from (pid=1375) allocate_for_instance /usr/lib/python2.7/dist-packages/nova/network/manager.py:977
> 2012-11-18 15:50:29 DEBUG nova.network.manager [req-f2b4df1f-6c29-48dc-991b-93fb5eb29d08 ce016bb05df949ebbafcc7c165359d7c ce1e819636744dc680fa5515f6475e87] [instance: 4e80964e-5bd1-4df4-a517-223c79d55517] networks retrieved for instance: |[<nova.db.sqlalchemy.models.Network object at 0x47f1d10>]| from (pid=1375) allocate_for_instance /usr/lib/python2.7/dist-packages/nova/network/manager.py:982  
> 
> I did not configure nova to assign floating IP to VMs.  Can someone please help me understand why nova-network is assigning floating IP.
> 
> Thank you,
> Ahmed.
> 
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp


Follow ups

References