neutron_floatingip handler misses floating IP addresses which are directly deleted

Bug #1270124 reported by Simon Pasquier
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Designate
Fix Released
Medium
Endre Karlson
Icehouse
Fix Released
Medium
Endre Karlson

Bug Description

With Neutron there is 2 ways to remove a floating IP address from a port:
1/ neutron floatingip-disassociate <uuid>
2/ neutron floatingip-delete <uuid>

Case 2/ isn't managed correctly by the neutron_floatingip handler, leaving orphaned records in the DB.

Example of notification generated by neutron in that case:
{u'_context_roles': [u'Member', u'anotherrole'], u'_context_request_id': u'req-e905e3d8-7c3b-4d0b-a5aa-7c0f14b0b9df', u'_context_read_deleted': u'no', u'event_type': u'floatingip.delete.start', u'_context_user_name': u'demo', u'_context_project_name': u'demo', u'timestamp': u'2014-01-17 11:30:41.456481', u'_context_tenant_name': u'demo', u'_context_tenant': u'a84efb332b0a46e5bfc1805575b00acd', u'message_id': u'9d30a752-5121-4cf0-bce4-86c2260dbbbc', u'_unique_id': u'8eca7bd4402c44449123f0b20eda2c2d', u'_context_is_admin': False, u'_context_timestamp': u'2014-01-17 11:30:41.452922', u'_context_project_id': u'a84efb332b0a46e5bfc1805575b00acd', u'_context_tenant_id': u'a84efb332b0a46e5bfc1805575b00acd', u'_context_user': u'5e0e5ccd874044ff9f5eb9017bf9be5e', u'_context_user_id': u'5e0e5ccd874044ff9f5eb9017bf9be5e', u'publisher_id': u'network.i-00000cac', u'payload': {u'floatingip_id': u'f38ff2b6-cd4d-433e-8a9c-9e00dfc05b1e'}, u'priority': u'INFO'}

Changed in designate:
milestone: none → icehouse-2
assignee: nobody → Endre Karlson (endre-karlson)
importance: Undecided → Medium
status: New → In Progress
Kiall Mac Innes (kiall)
Changed in designate:
status: In Progress → Triaged
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to designate (master)

Fix proposed to branch: master
Review: https://review.openstack.org/68117

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to designate (master)

Reviewed: https://review.openstack.org/68117
Committed: https://git.openstack.org/cgit/stackforge/designate/commit/?id=8d59ad9d0b562bc8cbd9c80e65f944ffd34fff47
Submitter: Jenkins
Branch: master

commit 8d59ad9d0b562bc8cbd9c80e65f944ffd34fff47
Author: Endre Karlson <email address hidden>
Date: Tue Jan 21 12:08:07 2014 +0100

    Sink - Delete record on floatingip.delete event

    Closes-Bug: #1270124

    Change-Id: I1f1b9be771815cb089189b52a4f6ab7f3e19279a

Changed in designate:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.