Bug 1041779

Summary: [RFE][glance]: Cleanup handling of SQLAlchemy session in DB access layer
Product: Red Hat OpenStack Reporter: RHOS Integration <rhos-integ>
Component: RFEsAssignee: RHOS Maint <rhos-maint>
Status: CLOSED UPSTREAM QA Contact:
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: markmc, yeylon
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://blueprints.launchpad.net/glance/+spec/db-session-cleanup
Whiteboard: upstream_milestone_none upstream_status_unknown upstream_definition_new
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-19 17:42:24 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description RHOS Integration 2013-12-12 19:17:26 UTC
Cloned from launchpad blueprint https://blueprints.launchpad.net/glance/+spec/db-session-cleanup.

Description:

Bring the use of sessions and transactions in glance.db.sqlalchemy.api modules into a consistent state:
 - use explicit transactions only when necessary
 - don't pass session objects to public DB api methods
 - fix incorrect usage of sessions throughout the DB-related code

Specification URL (additional information):

None