Ask Your Question
0

Correcting Falsely Associated Floating IPs

asked 2014-06-26 16:57:05 -0500

loopback127 gravatar image

After creating an instance, associating a floating IP with that instance, and then deleting that instance without first disassociating the floating IP I have found that the IPs seem to remain in an allocated state:

[root@controller ~]# nova floating-ip-list
+--------------+-----------+----------+---------+
| Ip           | Server Id | Fixed Ip | Pool    |
+--------------+-----------+----------+---------+
| xx.xx.xx.236 |           | -        | ext-net |
| xx.xx.xx.237 |           | -        | ext-net |
+--------------+-----------+----------+---------+
[root@controller ~]# neutron floatingip-list
+--------------------------------------+------------------+---------------------+---------+
| id                                   | fixed_ip_address | floating_ip_address | port_id |
+--------------------------------------+------------------+---------------------+---------+
| 10f9c38b-8b6d-43fc-b79f-5cda72ab5a57 |                  | xx.xx.xx.234        |         |
| 2797a70d-1806-4898-8452-69a003a3d541 |                  | xx.xx.xx.233        |         |
| 7c8cfe87-01b1-438a-aa5e-06126588792e |                  | xx.xx.xx.236        |         |
| 93d28815-ce60-476b-8891-7c4bbd75c73b |                  | xx.xx.xx.235        |         |
| bdaabeb0-d5ad-453d-bce5-7a9ae70b3687 |                  | xx.xx.xx.237        |         |
+--------------------------------------+------------------+---------------------+---------+

How do I correct this error? I image I have to manually edit the database I would just like to know where. Thanks.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2014-06-26 17:00:53 -0500

mpetason gravatar image

You would need to release them from the tenant if you want them to go back into the pool for all tenants. It shouldn't be associated with the instance anymore. You can release floating IP addresses from the tenant from within the Security tab - Floating IP addresses.

edit flag offensive delete link more

Comments

I appologize, I'm new to this, where is this Security Tab?

Update: Nevermind, I wasn't looking under the project section, thank you very much for the help.

loopback127 gravatar imageloopback127 ( 2014-06-26 17:05:48 -0500 )edit

Which version of OpenStack are you using? It should be with the tenant space. Basically you allocate a Floating IP to a Tenant/Project > You then associate it with an Instance. You are removing the association when you delete the instance, but the project still has the allocation to use it again.

mpetason gravatar imagempetason ( 2014-06-26 17:07:28 -0500 )edit

You are welcome! It's mostly learning the work flow. It's abstracted when you associate it when launching an instance. It's really allocating it to the project.

mpetason gravatar imagempetason ( 2014-06-26 17:14:07 -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

1 follower

Stats

Asked: 2014-06-26 16:57:05 -0500

Seen: 69 times

Last updated: Jun 26 '14