Ask Your Question
0

can not allocate flaoting ip

asked 2015-05-13 04:10:41 -0600

nethawk gravatar image

I used icehouse release. I can create floating IPs useing nova-manage floating create, and I laso can check the floating ip list using nova-manage floating list.

But when I allocate flaoting ip using nova floating-ip-create command,it returns error like this: ERROR: FloatingIpPoolNotFound: Floating ip pool not found. (HTTP 404) (Request-ID: req-5f47f447-b92e-4380-8ee9-5acfcda9e10f)

I want to know why and how to deal with it.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2015-05-13 04:16:15 -0600

rahuk gravatar image

updated 2015-05-13 04:21:54 -0600

You must create a externel Network first:

# neutron net-create ext-net --shared --router:external=True

# neutron subnet-create ext-net --name ext-subnet \
  --allocation-pool start=FLOATING_IP_START,end=FLOATING_IP_END \
  --disable-dhcp --gateway EXTERNAL_NETWORK_GATEWAY EXTERNAL_NETWORK_CIDR

The allocation-pool is your Floating-IP Pool

see here: http://docs.openstack.org/icehouse/in...

regards, rahuk

edit flag offensive delete link more

Comments

Can I complete these operations by dashbaord?

nethawk gravatar imagenethawk ( 2015-05-13 04:26:47 -0600 )edit

Of course u can but only as admin

Go to Networks under the Admin panel

  1. +Create Network
  2. Name: Extern/Provider/Whatever
  3. Project: Admin
  4. Provider Network Type: What you have set as br_ext e.g. Vlan/Flat/Local ...
  5. Set: Shared and External
  6. Finish

regards

rahuk gravatar imagerahuk ( 2015-05-13 04:39:18 -0600 )edit

ahh then you must create the subnet in this new Network! Same as normal Networks!

rahuk gravatar imagerahuk ( 2015-05-13 04:45:02 -0600 )edit

Now I can bind a flaoting ip to a vm, but I can not ping the floating ip from other PC.

nethawk gravatar imagenethawk ( 2015-05-13 20:56:48 -0600 )edit

Do you have configure your ext-br correctly ? Have you set your OVS bridge correctly ?

rahuk gravatar imagerahuk ( 2015-05-15 01:18:26 -0600 )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

1 follower

Stats

Asked: 2015-05-13 04:10:41 -0600

Seen: 460 times

Last updated: May 13 '15