[Rdo-list] Possible bug? Horizon/Floating IPs

Fox, Kevin M Kevin.Fox at pnnl.gov
Tue Nov 24 00:21:53 UTC 2015


There is a config value in horizon to autorelease floating ips. Ive never seen nova not autodissassociate on delete. That may be a misconfiguration between nova and neutron? I dont think horizon is involved in that path. Maybe try from the cli to double check?

Thanks,
Kevin

________________________________
From: Erich Weiler
Sent: Monday, November 23, 2015 4:10:45 PM
To: Fox, Kevin M; rdo-list at redhat.com
Subject: Re: [Rdo-list] Possible bug? Horizon/Floating IPs

Hi Kevin,

Thanks for the reply!  I think we may be talking about two different
things however...  I'm not looking to release the IP back to the public
pool, I'm just looking to disassociate from a deleted VM when the
instance is terminated.  After I terminate the instance, it still shows
as stuck to the deleted instance, which is kind of pointless.

After I disassociate the floating IP via 'neutron
floatingip-disassociate', it releases the IP back to my own allocated IP
list, so I most definitely can re-use that IP for another instance
easily.  I agree that if I unallocated it with 'neutron
floatingip-delete', then I may not get it back, but with 'neutron
floatingip-disassociate' I still own it as a user of a project.

Just checking if the decision was made to stop dissociating the floating
IPs upon instance termination after Icehouse, or if it was overlooked in
Kilo?

Thanks for the reply!

cheers,
erich

On 11/23/2015 03:59 PM, Fox, Kevin M wrote:
> Autorelease is kind of dangerous. There is no way to get an ip back, and
> it may be associated in dns and you may give it back to the pool before
> unregistering. I always have disabled it on all my clouds to fail safe
> for the users.
>
> Kevin *
> *
> ------------------------------------------------------------------------
> *From:* rdo-list-bounces at redhat.com on behalf of Erich Weiler
> *Sent:* Monday, November 23, 2015 2:56:07 PM
> *To:* rdo-list at redhat.com
> *Subject:* [Rdo-list] Possible bug? Horizon/Floating IPs
>
> Just thought I'd throw this out there as a possible bug...  I'm running
> RHEL 7.1 and OpenStack Kilo RDO.
>
> It seems that when I terminate an instance through Horizon that has an
> associated floating IP, the floating IP is *not* disassociated upon the
> instance's termination.  I have to manually disassociate the floating ip
> after I terminate the instance through Horizon via:
>
> neutron floatingip-disassociate e28051c5-7fb1-4887-ade9-f1b062523ad7
>
> for example.  Then it frees up.  Back when I was playing with the
> Icehouse release of RDO OpenStack, the floating IPs were released
> automatically when I terminated an instance through Horizon, so I was
> surprised when I did not see the same behaviour here.
>
> [root at os-con-01 ~]# rpm -q python-django-horizon
> python-django-horizon-2015.1.0-5.el7.noarch
>
> Just a heads up...
>
> cheers,
> erich
>
> _______________________________________________
> Rdo-list mailing list
> Rdo-list at redhat.com
> https://www.redhat.com/mailman/listinfo/rdo-list
>
> To unsubscribe: rdo-list-unsubscribe at redhat.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rdoproject.org/pipermail/dev/attachments/20151124/6843add2/attachment.html>


More information about the dev mailing list