Ask Your Question
0

NoMoreFloatingIps: Zero floating ips available

asked 2014-06-17 23:21:59 -0500

leethaoqn gravatar image

updated 2014-06-17 23:26:32 -0500

Hello every body I try to auto assign floating ip for VM and i get that error NoMoreFloatingIps: Zero floating ips available.
I add three line in file /etc/nova/nova.conf like that :

default_floating_pool="Public"
floating_range = 172.22.22.192/29
auto_assign_floating_ip=true .

Any body can help me to solve that. Thank you

edit retag flag offensive close merge delete

Comments

Do please check if you exhausted default 50 floating ips.

SGPJ gravatar imageSGPJ ( 2014-06-18 00:37:12 -0500 )edit

i check that already, it's have 5 ip address. I using quota_floating_ips = 5

leethaoqn gravatar imageleethaoqn ( 2014-06-18 01:33:41 -0500 )edit

1 answer

Sort by ยป oldest newest most voted
0

answered 2014-06-18 04:34:08 -0500

For Neutron Networking: First of all, ignore all network configurations from /etc/nova/nova.conf for Neutron. Instead, look for configurations in files at /etc/neutron. You have to assign a floating IP to your current tenant before you can use it. This floating IP that you will assign to your tenant will come from the default_floating_pool. As far as Neutron networking goes, auto_assign_floating_ip should be set to false. Also, when creating a Public Subnet, make sure the network CIDR is the same as the external network. You may use starting and ending IP addresses to select a range from the full network CIDR.

For Nova Networking: Try setting the default_floating_pool to nova. That is how it had worked for us. You have to assign a floating IP to your current tenant before you can use it. This floating IP that you will assign to your tenant will come from the default_floating_pool.

edit flag offensive delete link more

Comments

For Nova Networking : Did we auto assign floating IP when the VM boot ?

leethaoqn gravatar imageleethaoqn ( 2014-06-18 04:49:18 -0500 )edit

For nova networking, /etc/nova/nova.conf should have the line

auto_assign_floating_ip=True

KunalTPatil gravatar imageKunalTPatil ( 2014-06-23 07:23:55 -0500 )edit

I am facing same issue....

My project has enough floating IPs assigned, but I stiil get this error

"NoMoreFloatingIps: Zero floating ips available".

root@wlanst-r610-12:/var/log/nova# nova floating-ip-list 8e88f2ad91534e42b0dd480fa0017559 192.168.55.197 None public eth1 8e88f2ad91534e

nitins gravatar imagenitins ( 2014-12-05 18:47:10 -0500 )edit

i can assign floating ips manually but when I set it to auto_assign_floating_ip=True

in nova.conf then VM fails to spawn.

nitins gravatar imagenitins ( 2014-12-05 18:49:30 -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: 2014-06-17 23:21:59 -0500

Seen: 376 times

Last updated: Jun 18 '14