[openstack-dev] [Ceilometer] Alembic or SA Migrate (again)

Herndon, John Luke john.herndon at hp.com
Wed Nov 13 14:23:44 UTC 2013


Hi Folks!

Sorry to dig up a really old topic[1][2], but I©öd like to know the status
of
ceilometer db migrations.

Rehash: I©öd like to submit two branches to modify the Event and Trait
tables. If I
were to do that now, I would need to write SQLAlchemy scripts to do the
database migration [3]. Since the unit tests use db migrations to build up
the db
schema, there¡¯s currently no way to get the unit tests to run if your new
code uses an alembic migration and needs to alter columnsŠ.

A couple of questions:
1) What is the progress of creating the schema from the models for unit
tests?
2) What is the time frame for requiring alembic migrations?
3) Should I push these branches up now, or wait and use an alembic
migration?
4) Is there anything I can do to help with 1 or 2?


Thanks,
-john

1: 
http://lists.openstack.org/pipermail/openstack-dev/2013-August/014214.html
2: 
http://lists.openstack.org/pipermail/openstack-dev/2013-September/014593.ht
ml
3: 
https://bitbucket.org/zzzeek/alembic/issue/21/column-renames-not-supported-
on-sqlite
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 5443 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20131113/9ca52f5a/attachment.bin>


More information about the OpenStack-dev mailing list