← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1655281] Re: race in router delete with ha port creation

 

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 <kevin@xxxxxxxxxx>
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

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1655281

Title:
  race in router delete with ha port creation

Status in neutron:
  Fix Released

Bug description:
  http://logs.openstack.org/54/417854/1/check/gate-neutron-dsvm-
  fullstack-ubuntu-xenial/a0330f8/logs/dsvm-fullstack-
  logs/TestHAL3Agent.test_ha_router/neutron-server--2017-01-10--
  06-36-00-438766.txt.gz#_2017-01-10_06_36_13_353

To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1655281/+subscriptions


References