<div dir="ltr">You can do it like we did for juno Designate as covered in our Vancouver talk start about 21 minutes:<div><br></div><div><a href="https://www.youtube.com/watch?v=N8y51zqtAPA">https://www.youtube.com/watch?v=N8y51zqtAPA</a><br></div><div><br></div><div>We've not ported the code to Kilo or Liberty yet but the approach may still work.</div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Nov 13, 2015 at 9:49 AM, Jaime Fernández <span dir="ltr"><<a href="mailto:jjjaime@gmail.com" target="_blank">jjjaime@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div>When removing an instance (with one floating address assigned) in Horizon, designate-sink only receives an event for instance removal. As a result, only the instance is removed but the floating addresses records are not removed.<br></div>I'm not sure if it's a bug in openstack (I guess that it should also notify about the unassignment of floating addresses) or it should be considered in the nova notification handler (<a href="https://github.com/openstack/designate/blob/master/designate/notification_handler/nova.py#L72" target="_blank">https://github.com/openstack/designate/blob/master/designate/notification_handler/nova.py#L72</a>).<br></div>However, it is not possible to add metadata in the floating IP records to save the instance_id and remove them easily when an instance is removed.<br></div>What's the best approach to remove the floating address records of an instance that is being removed?<br></div>
<br>__________________________________________________________________________<br>
OpenStack Development Mailing List (not for usage questions)<br>
Unsubscribe: <a href="http://OpenStack-dev-request@lists.openstack.org?subject:unsubscribe" rel="noreferrer" target="_blank">OpenStack-dev-request@lists.openstack.org?subject:unsubscribe</a><br>
<a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev" rel="noreferrer" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev</a><br>
<br></blockquote></div><br></div>