← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 993396] Re: should migration.py have register_models and unregister_models

 

it seems like nova has removed the mechanism to register and unregister
models, as have other projects, like congress:
https://github.com/openstack/congress/commit/63976719d6cfdc8d5518c7378d52d30c739b8ebd

by the looks of it, only glance supports it:
http://hound.openstack.org/?q=register_model&i=nope&files=&repos=

i think this is something we will not pursue.

** Changed in: keystone
       Status: Triaged => Won't Fix

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

Title:
  should migration.py have register_models and unregister_models

Status in OpenStack Identity (keystone):
  Won't Fix

Bug description:
  keystone also applies the migration mechanism to do the db sync and version migration. 
  It may also be a good choice that migration.py has register_models and unregister_models to create the tables directly from scratch to the final version as it does in nova and glance.

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