Ask Your Question
1

Juno - how to release floating IPs from a project

asked 2015-06-08 21:09:26 -0500

ggont gravatar image

updated 2015-06-08 22:26:10 -0500

SGPJ gravatar image

Hello,

I was testing my lab setup and noticed that my project resource overview showed that 2 IPs were used. However I had no instances running. Then when I launched a third instance I noticed that I had to get a new IP from the public pool. Now it shows 3 used :) How can I remove these IPs from the project(...?) so that the resource shows 0?

Also, in Admin role I can see the public IPs ports with status DOWN | Admin state UP. I am using IPs in my instances .7 .4 and .5 of these

Name Fixed IPs Device Attached Status Admin State Actions

(07c32063) 192.168.122.7 network:floatingip DOWN    UP  
(53c291ef)  192.168.122.3  network:dhcp ACTIVE  UP  
(8d22adc2) 192.168.122.6 network:floatingip DOWN    UP  
(97449fd4)  192.168.122.5 network:floatingip    DOWN    UP  
(a7af36b8)  192.168.122.2 network:router_gateway    DOWN    UP  
(fd8df26e)  192.168.122.4 network:floatingip    DOWN    UP
edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
1

answered 2015-06-09 05:36:51 -0500

rahuk gravatar image

Hey hey,

first of all i belive floating-ips shown always as DOWN.

For release Floating IPs try this:

List all Floating IPs:

    # neutron floatingip-list
    +--------------------+------------------+---------------------+-----------------------------+
    | id                                   | fixed_ip_address | floating_ip_address | port_id                              |
    +-----------+------------------+---------------------+--------------------------------------+
    | 0a5e6d83-3e3a-45ba-bc1c-5faa3090d2a7 | 192.168.2.181| 8.2.1.3| bc9fc3cc-1023-4f5b-a970-c925e0095235 
|
+-----------------------------+---------------+----------------+--------------------------------+

Detach Floating-Ips:

# neutron floatingip-disassociate 0a5e6d83-3e3a-45ba-bc1c-5faa3090d2a7

Delete Floating-Ip from Projekt:

 # neutron floatingip-delete 0a5e6d83-3e3a-45ba-bc1c-5faa3090d2a7

Hope this will help you

regards rahuk

edit flag offensive delete link more

Comments

Thanks.. This is working for me and I have release unused floating IPs.

Gopalakrishnan S gravatar imageGopalakrishnan S ( 2016-04-27 04:57:13 -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

2 followers

Stats

Asked: 2015-06-08 21:09:26 -0500

Seen: 1,510 times

Last updated: Jun 09 '15