Bug 1041887

Summary: [RFE][keystone]: Use common code from Oslo for work with database
Product: Red Hat OpenStack Reporter: RHOS Integration <rhos-integ>
Component: RFEsAssignee: RHOS Maint <rhos-maint>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: unspecified    
Version: unspecifiedCC: markmc, yeylon
Target Milestone: ---Keywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
URL: https://blueprints.launchpad.net/keystone/+spec/use-common-oslo-db-code
Whiteboard: upstream_milestone_none upstream_status_implemented upstream_definition_new
Fixed In Version: Doc Type: Enhancement
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-19 17:37:18 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:53:51 UTC
Cloned from launchpad blueprint https://blueprints.launchpad.net/keystone/+spec/use-common-oslo-db-code.

Description:

There is common code for work with database in Oslo. It contains work around session, SQLAchemy engines, wrappers, etc.
We can use this code instead of Keystone implementation.

So we should:
1) Sync common code for work with database from Oslo
2) Use Oslo code instead of current project implementation.
   - work with sqlalchemy session and engines
   - use sqlalchemy migration utils, to make work with migrations more clear

Specification URL (additional information):

None