SQLAlchemy transaction lingering across requests
Bug #1376239 reported by
John Wood
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Barbican |
Fix Released
|
Critical
|
John Wood |
Bug Description
The SQLAlchemy transaction used in the thread-local session is persisting objects beyond individual requests, leading to inconsistent processing such as the 2-step secret's encrypted data not being retrieved sometimes when a subsequent GET is performed on that secret, resulting in a 404 error.
The SQLAlchemy session/transaction needs to be ended after each request. Pecan provides a means to do this for requests as per this page: http://
Changed in barbican: | |
assignee: | nobody → John Wood (john-wood-w) |
Changed in barbican: | |
status: | New → Confirmed |
Changed in barbican: | |
importance: | Undecided → Critical |
milestone: | none → juno-rc1 |
Changed in barbican: | |
status: | Fix Committed → Fix Released |
Changed in barbican: | |
milestone: | juno-rc1 → 2014.2 |
To post a comment you must log in.
Fix proposed to branch: master /review. openstack. org/125468
Review: https:/