RFE: Retrofit keystone-manage db_* commands to work with Alembic

Bug #1816158 reported by Lance Bragstad on 2019-02-15
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Identity (keystone)
Wishlist
Unassigned

Bug Description

(Original blueprint and specification was written by Boris Bobrov)

Dependent bug: https://bugs.launchpad.net/keystone/+bug/1816107

Now we have two commands that are related to migrations -- db_sync to migrate and db_version to show the current version. It works OK with sqlalchemy-migrate, but not with Alembic that we will be using. What needs to be done is to create a set of commands - "db upgrade/downgrade/stamp/revision/version". It will comply with alembic commands and with oslo.db migration_cli interface.

Lance Bragstad (lbragstad) wrote :
summary: - RFE: Replace db_sync and db_version with a set of db-related commands
+ RFE: Retrofit keystone-manage db_* commands to work with Alembic
Changed in keystone:
status: New → Triaged
importance: Undecided → Wishlist
tags: added: sql
tags: added: upgrades
tags: added: rfe

We will track this in [1]. Thus marking this as duplicate of [1].

[1] https://bugs.launchpad.net/keystone/+bug/1816107

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers