← Back to team overview

openstack team mailing list archive

Re: Unable to create a floating ip

 

to create an individual ip, use the full ip address without /32. The floating ip create code ignores the network and broadcast address for a range, so you will end up with no usable ips if you specify a /32 or /31

Vish

On May 16, 2012, at 8:05 AM, Alessandro Tagliapietra wrote:

> Hello guys,
> 
> this is my nova.conf (network part)
> 
> --network_manager=nova.network.manager.FlatDHCPManager
> --public_interface=eth0
> --flat_interface=eth2
> --flat_network_bridge=br100--fixed_range=192.168.4.1/27--network_size=32
> --flat_network_dhcp_start=192.168.4.33--flat_injected=False
> --force_dhcp_release=true
> 
> i'm trying to add a floating ip with the command
> 
> nova-manage floating create --ip_range=94.23.x.x/32
> 
> and i get no output in logs or cmdline, then when i do nova-manage floating list i get  "no floating ip addresses have been defined" and in logs and cmdline
> 
> 2012-05-16 16:48:55 DEBUG nova.utils [req-58cd4a1d-1801-4380-8472-81dc55ed1b86 None None] backend <module 'nova.db.sqlalchemy.api' from '/usr/lib/python2.7/dist-packages/nova/db/sqlalchemy/api.pyc'> from (pid=12824) __get_backend /usr/lib/python2.7/dist-packages/nova/utils.py:658
> 
> Any idea on what's the problem?
> 
> Best Regards
> _______________________________________________
> 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