race in router delete with ha port creation

Bug #1655281 reported by Kevin Benton
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
High
Kevin Benton
Changed in neutron:
assignee: nobody → Kevin Benton (kevinbenton)
Changed in neutron:
status: New → In Progress
Boden R (boden)
Changed in neutron:
importance: Undecided → High
Revision history for this message
Jakub Libosvar (libosvar) wrote :
tags: added: l3-ha
tags: added: ocata-rc-potential
Changed in neutron:
milestone: none → ocata-rc1
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/418281
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=4c636bd1e62394025cc118f19c7b0fa2d65fe444
Submitter: Jenkins
Branch: master

commit 4c636bd1e62394025cc118f19c7b0fa2d65fe444
Author: Kevin Benton <email address hidden>
Date: Tue Jan 10 02:28:46 2017 -0700

    Retry on routerport delete race

    After deleting the router interfaces, another concurrent
    process (e.g. HA port creation) could happen before the actual
    router is deleted, which would lead to an SQLAlchemy error due
    to the relationship being violated.

    This patch fixes the issue by bumping the router revision before
    deleting the router to check for concurrent interface additions.
    A race will trigger a staledataerror which will be retried by
    the decorator

    Closes-Bug: #1655281
    Change-Id: I465e9a2f9b216991afa26c16271854fb88068006

Changed in neutron:
status: In Progress → Fix Released
tags: added: neutron-proactive-backport-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 10.0.0.0rc1

This issue was fixed in the openstack/neutron 10.0.0.0rc1 release candidate.

Revision history for this message
Miguel Angel Ajo (mangelajo) wrote :

Non backportable without also pulling revisions too which was introduced in ocata.

tags: removed: neutron-proactive-backport-potential
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.