Add DB2 as an option for backend database
Current OpenStack supports multiple open source database as the backend database, for example: MySQL, SQLite, PostgreSQL are the default supported database for the community.
I plan to contribue changes to Cinder to allow the use of DB2 as the backing database, and doing so will require me to:
1. Update Cinder project to support DB2 initialization and access by updating the SQLALchemy-migrate code.
2. Run tempest on a DB2 installed environment
Blueprint information
- Status:
- Complete
- Approver:
- Mike Perez
- Priority:
- Low
- Drafter:
- None
- Direction:
- Approved
- Assignee:
- Jay Bryant
- Definition:
- Approved
- Series goal:
- Accepted for liberty
- Implementation:
- Implemented
- Milestone target:
- 7.0.0
- Started by
- Jay Bryant
- Completed by
- John Griffith
Related branches
Related bugs
Sprints
Whiteboard
Gerrit topic: https:/
Addressed by: https:/
Fix BVT cinder test_volume_
@jdg:
Is this for the "free" version of db2? Will need to make sure we get CI versions of this running as well.
@jsbryant:
Given your question here as well as in the review referenced above, I thought I should probably provide additional details here with regards to DB2 Enablement. I have the following Wiki page that provides additional details: https:/
SQLAlchemy already supports DB2, the ibm_db_sa packages are available in pypi and SQLAlchemy-migrate is close to having DB2 support integrated. Additionally, Keystone has been patched to support DB2 and the changes for Nova are currently out for review.
Fortunately, Cinder has required few changes to enable DB2 support. I am working on getting the unittests working.
@jsbryant:
Forgot to mention that IBM is working to address the CI issue. First we have code written to enable devstack to setup an install for DB2. We are also working to get a third test running.
Addressed by: https:/
Update test_migrations to support DB2 (ibm-db-sa)
Addressed by: https:/
Add spec for DB2 database enablement
@jsbryant (7/5/2014):
I have made good progress on this. I have the code mostly in place and just need to finish working out some details before pushing the code up.