race condition in update_floatingip_statuses

Bug #1288036 reported by Aaron Rosen
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
neutron
Fix Released
High
Aaron Rosen

Bug Description

        2014-03-04 18:58:22.922 ERROR neutron.openstack.common.rpc.amqp [req-f92f33b1-0613-4c71-b67e-f2c7bc66d604 None None] Exception during message handling
2014-03-04 18:58:22.922 TRACE neutron.openstack.common.rpc.amqp Traceback (most recent call last):
2014-03-04 18:58:22.922 TRACE neutron.openstack.common.rpc.amqp File "/opt/stack/neutron/neutron/openstack/common/rpc/amqp.py", line 462, in _process_data
2014-03-04 18:58:22.922 TRACE neutron.openstack.common.rpc.amqp **args)
2014-03-04 18:58:22.922 TRACE neutron.openstack.common.rpc.amqp File "/opt/stack/neutron/neutron/common/rpc.py", line 45, in dispatch
2014-03-04 18:58:22.922 TRACE neutron.openstack.common.rpc.amqp neutron_ctxt, version, method, namespace, **kwargs)
2014-03-04 18:58:22.922 TRACE neutron.openstack.common.rpc.amqp File "/opt/stack/neutron/neutron/openstack/common/rpc/dispatcher.py", line 172, in dispatch
2014-03-04 18:58:22.922 TRACE neutron.openstack.common.rpc.amqp result = getattr(proxyobj, method)(ctxt, **kwargs)
2014-03-04 18:58:22.922 TRACE neutron.openstack.common.rpc.amqp File "/opt/stack/neutron/neutron/db/l3_rpc_base.py", line 109, in update_floatingip_statuses
2014-03-04 18:58:22.922 TRACE neutron.openstack.common.rpc.amqp status)
2014-03-04 18:58:22.922 TRACE neutron.openstack.common.rpc.amqp File "/opt/stack/neutron/neutron/db/l3_db.py", line 682, in update_floatingip_status
2014-03-04 18:58:22.922 TRACE neutron.openstack.common.rpc.amqp floatingip_db = self._get_floatingip(context, floatingip_id)
2014-03-04 18:58:22.922 TRACE neutron.openstack.common.rpc.amqp File "/opt/stack/neutron/neutron/db/l3_db.py", line 448, in _get_floatingip
2014-03-04 18:58:22.922 TRACE neutron.openstack.common.rpc.amqp raise l3.FloatingIPNotFound(floatingip_id=id)
2014-03-04 18:58:22.922 TRACE neutron.openstack.common.rpc.amqp FloatingIPNotFound: Floating IP bf2f2fa3-94d6-4746-a323-6d57d08e0d25 could not be found

Aaron Rosen (arosen)
Changed in neutron:
assignee: nobody → Aaron Rosen (arosen)
importance: Undecided → Medium
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

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

Changed in neutron:
status: New → In Progress
Changed in neutron:
importance: Medium → High
milestone: none → icehouse-3
Revision history for this message
Oleg Bondarev (obondarev) wrote :

Seems a duplicate of bug 1287049

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

Reviewed: https://review.openstack.org/78077
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=31f4046323839d6c0aaa885fe7bd5920845eab30
Submitter: Jenkins
Branch: master

commit 31f4046323839d6c0aaa885fe7bd5920845eab30
Author: Aaron Rosen <email address hidden>
Date: Tue Mar 4 19:19:40 2014 -0800

    Fix race condition in update_floatingip_statuses

    If a floatingip is deleted before update_floatingip_statuses() is processed
    FloatingIPNotFound is raised.

    Change-Id: Idf03fda75ccd147673169c24e79921ca6d8fe754
    Closes-bug: #1288036

Changed in neutron:
status: In Progress → Fix Committed
Thierry Carrez (ttx)
Changed in neutron:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in neutron:
milestone: icehouse-3 → 2014.1
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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