← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1816158] [NEW] RFE: Retrofit keystone-manage db_* commands to work with Alembic

 

Public bug reported:

(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.

** Affects: keystone
     Importance: Wishlist
         Status: Triaged


** Tags: sql upgrades

** Summary changed:

- 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

** Changed in: keystone
   Importance: Undecided => Wishlist

** Tags added: sql

** Tags added: upgrades

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Identity (keystone).
https://bugs.launchpad.net/bugs/1816158

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

Status in OpenStack Identity (keystone):
  Triaged

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.

To manage notifications about this bug go to:
https://bugs.launchpad.net/keystone/+bug/1816158/+subscriptions