Ask Your Question
3

Floating IP pool not visible as admin

asked 2013-07-15 13:31:37 -0500

vicethal gravatar image

updated 2013-07-15 15:56:14 -0500

smaffulli gravatar image

Hello,

I'm building my Stack for home experimentation. It's nearly set up, but right now I cannot get floating IPs working. I suspect I have a permissions / security error. All my services are running on a single machine with a single ethernet interface.

My ~/.bash_profile, solely for OS authentication:

export OS_USERNAME=admin
export OS_PASSWORD=surely_a_decent_password
export OS_TENANT_ID=86jibberish22
export OS_TENANT_NAME=admin
export OS_AUTH_URL=http://localhost:5000/v2.0/
export NOVACLIENT_DEBUG=1
export NOVA_VERSION=2

The tenant_ID and tenant_name are from the project "admin". (Is this the correct usage of these fields?) Update:

root@bridge:~# keystone user-role-list
+------+----------------------+-------+---------------+
|  id  |         name         |user_id| tenant_id     |
+------+----------------------+-------+---------------+
| 81be |    KeystoneAdmin     | 1fc42 | 8fjibberish22 |
| 68e8 | KeystoneServiceAdmin | 1fc42 | 8fjibberish22 |
| aa46 |        admin         | 1fc42 | 8fjibberish22 |
+------+----------------------+-------+---------------+

my tenant_id matches that of the admin user as well as admin the group.

My procedure:

I create the floating IP pool.

root@bridge:~# nova-manage floating create --ip_range=192.168.1.128/25
root@bridge:~# nova-manage floating list
None    192.168.1.129   None    nova    eth0
None    192.168.1.130   None    nova    eth0
... <every IP in the subnet is displayed>

But it doesn't seem to "actually" exist:

root@bridge:~# nova floating-ip-create
ERROR: FloatingIpPoolNotFound: Floating ip pool not found. (HTTP 404) (Request-ID: req-seems-sensitive-so-Ill-censor-it)

root@bridge:~# nova floating-ip-pool-list

root@bridge:~# nova floating-ip-list

root@bridge:~#

The full output of nova --debug floating-ip-create is here: http://pastebin.com/Dg4qQzht

So, what the heck? The IPs are visible and available through nova-manage, but nova claims none of them exist.

edit retag flag offensive close merge delete

Comments

same issue i'm facing, is you issue solve ?

Rahul Patil gravatar imageRahul Patil ( 2013-08-23 08:36:08 -0500 )edit

hi vicethal, and rahul I am also facing the same problem. Were you able to resolve the issue?

shalmali gravatar imageshalmali ( 2013-09-02 01:03:46 -0500 )edit

2 answers

Sort by ยป oldest newest most voted
1

answered 2014-12-19 19:26:01 -0500

Stuart Stent gravatar image

The floating IP pool name needs to be set in nova.conf: openstack-config --set /etc/nova/nova.conf \ DEFAULT default_floating_pool ext_net

Then restart the nova services.

edit flag offensive delete link more

Comments

Thanks, this fixed it for me, though it was not exactly the same problem. I got that error message through occi interface...

vincent-legoll gravatar imagevincent-legoll ( 2016-03-02 07:31:09 -0500 )edit
0

answered 2013-09-14 11:25:59 -0500

updated 2013-09-14 11:26:54 -0500

When you created floating ip range you didn't specified desired pool. However default pool is nova, so to grab floating ip address you need to specify pool: nova floating-ip-create nova

edit flag offensive delete link more

Comments

I am hitting into this indecipherable error when I tried your command: $ nova floating-ip-create ERROR: The server has either erred or is incapable of performing the requested operation. (HTTP 500) (Request-ID: req-25dcdc3d-fe71-44a5-8435-94d9bc6df78c)

I.P gravatar imageI.P ( 2013-10-09 13:01:24 -0500 )edit

Remove all floating IPs, then create pool: nova-manage floating create --ip_range=192.168.1.128/25 --pool=nova --interface=eth0. Then try: nova floating-ip-create nova

Alen Komljen gravatar imageAlen Komljen ( 2013-10-10 09:45:00 -0500 )edit

[root@server2 ~(keystone_admin)]# nova-manage floating create --ip_range=192.168.1.128/25 --pool=nova --interface=eth3 error: Floating ip 192.168.1.129 already exists. [root@server2 ~(keystone_admin)]# nova floating-ip-create nova ERROR: FloatingIpPoolNotFound: Floating ip pool not found. (HTTP 404) (Request-ID: req-62c7bd5b-0093-41ac-b5a6-af020a519c71)

Aswin Mohanan gravatar imageAswin Mohanan ( 2013-12-18 02:25:37 -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: 2013-07-15 13:31:37 -0500

Seen: 5,696 times

Last updated: Sep 14 '13