Public bug reported:

Future incompatible changes in sqlalchemy migrations, like removing,
renaming columns and tables can break rolling upgrades (upgrades when
multiple Keystone instances are run at different versions).

To address this, we can ban schema changes which cause
incompatibilities, specifically drops and alters, like in Nova:

https://github.com/openstack/nova/blob/stable/liberty/nova/tests/unit/db/test_migrations.py#L224-L225

** Affects: keystone
     Importance: Undecided
     Assignee: Grzegorz Grasza (xek)
         Status: In Progress

** Changed in: keystone
     Assignee: (unassigned) => Grzegorz Grasza (xek)

** Changed in: keystone
       Status: New => In Progress

-- 
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/1509944

Title:
  Rolling upgrades: online schema migration

Status in OpenStack Identity (keystone):
  In Progress

Bug description:
  Future incompatible changes in sqlalchemy migrations, like removing,
  renaming columns and tables can break rolling upgrades (upgrades when
  multiple Keystone instances are run at different versions).

  To address this, we can ban schema changes which cause
  incompatibilities, specifically drops and alters, like in Nova:

  
https://github.com/openstack/nova/blob/stable/liberty/nova/tests/unit/db/test_migrations.py#L224-L225

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : yahoo-eng-team@lists.launchpad.net
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to