DB Duplicate error while scheduling distributed routers

Bug #1351123 reported by Armando Migliaccio
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
Low
Armando Migliaccio

Bug Description

I observed this error here:

http://logs.openstack.org/77/108177/10/experimental/check-tempest-dsvm-neutron-dvr/9e67d95/logs/screen-q-svc.txt.gz?level=TRACE#_2014-07-31_15_05_48_864

And in few other places. This seems to be triggered (for instance) during the following testcase:

tempest.scenario[...]test_server_connectivity_pause_unpause

It looks like the scheduling process fails because of a duplicate entry to the agent/router binding table. This might be an effect of fix:

https://review.openstack.org/#/c/73234/

Changed in neutron:
assignee: nobody → Armando Migliaccio (armando-migliaccio)
tags: added: l3-dvr-backlog
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/111143

Changed in neutron:
status: New → In Progress
Changed in neutron:
milestone: none → juno-3
importance: Undecided → Low
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.openstack.org/111143
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=0b4e42fe11bf918e18ea8f240d9055b3967b60bb
Submitter: Jenkins
Branch: master

commit 0b4e42fe11bf918e18ea8f240d9055b3967b60bb
Author: armando-migliaccio <email address hidden>
Date: Thu Jul 31 19:20:00 2014 -0700

    Fix DB Duplicate error when scheduling distributed routers

    The error was caused by binding the router to an agent
    candidate that was already selected during the scheduling
    process.

    A DB lookup was also saved by passing the router object
    around; this led to a minor style cleanup.

    Closes-bug: #1351123

    Change-Id: Ib71a0140c8a7fbd5b230609d33487f8adba252e7

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: juno-3 → 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.