BigSwitch Plugin: router interface immediately deleted from backend

Bug #1305331 reported by Kevin Benton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
High
Kevin Benton

Bug Description

Depending on the timing, a router interface may immediately be deleted from the backend after being created.

This is because the async creation thread cannot find the port to update its status after creating it on the backend. It assumes this is because it was already deleted so it deletes it from the backend even though the real cause is that it hasn't even been flushed to the db yet from the add_router_interface transaction.

Changed in neutron:
assignee: nobody → Kevin Benton (kevinbenton)
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/86468

Changed in neutron:
status: New → In Progress
Changed in neutron:
milestone: none → ongoing
importance: Undecided → High
tags: added: bigswitch icehouse-backport-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/86468
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=2527d3d30d6b91e5df74ce1b85cb0d079aff4216
Submitter: Jenkins
Branch: master

commit 2527d3d30d6b91e5df74ce1b85cb0d079aff4216
Author: Kevin Benton <email address hidden>
Date: Tue Apr 8 09:04:08 2014 -0700

    BigSwitch: Create router ports synchronously

    Since router ports are created as part of a
    long transaction with multiple REST calls, they
    need to be created sychronously. This is to prevent
    the async thread from deleting them from the backend
    if it can't find them in cases where they haven't been
    committed to the DB yet.

    Closes-Bug: #1305331
    Change-Id: I2ab3c862dc6b1760199654bbd0969ac5efdbe704

Changed in neutron:
status: In Progress → Fix Committed
Akihiro Motoki (amotoki)
Changed in neutron:
milestone: ongoing → juno-rc1
Thierry Carrez (ttx)
Changed in neutron:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in neutron:
milestone: juno-rc1 → 2014.2
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.