DetachedInstanceError: Instance <Agent at ... is not bound to a Session

Bug #1282421 reported by Armando Migliaccio
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
neutron
Fix Released
High
Armando Migliaccio
Changed in neutron:
assignee: nobody → Armando Migliaccio (armando-migliaccio)
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/74962

Changed in neutron:
status: New → In Progress
Revision history for this message
Armando Migliaccio (armando-migliaccio) wrote :

This bug might be a regression caused by this change:

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

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

Reviewed: https://review.openstack.org/74962
Committed: https://git.openstack.org/cgit/openstack/neutron/commit/?id=237746a6d63c96726e7966770a602b62205ee333
Submitter: Jenkins
Branch: master

commit 237746a6d63c96726e7966770a602b62205ee333
Author: armando-migliaccio <email address hidden>
Date: Thu Feb 20 00:21:19 2014 -0800

    Fix DetachedInstanceError for Agent instance

    The stacktrace observed seems to hint to a
    situation where a session is not properly
    rolled back when duplicate agent entries are
    found.

    Since it is ok to deal with duplicates, the
    addition of agents to the DB must be done
    one by one, otherwise we go against the
    ATOMICITY property of a transaction of all
    or none. It's either that or I am barking at
    the wrong tree.

    This patch also added UT to cover affected
    code.

    Closes-bug: 1282421
    Related-bug: 1282253

    Change-Id: Ic5f77808cc10f885d67f5a9cf3b3836283692850

Changed in neutron:
status: In Progress → Fix Committed
Akihiro Motoki (amotoki)
Changed in neutron:
importance: Undecided → High
milestone: none → icehouse-rc1
Thierry Carrez (ttx)
Changed in neutron:
status: Fix Committed → Fix Released
Thierry Carrez (ttx)
Changed in neutron:
milestone: icehouse-rc1 → 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.