Hide Forgot
Cloned from launchpad blueprint https://blueprints.launchpad.net/ceilometer/+spec/db-common-migration-and-utils. Description: Ceilometer uses ceilometer/storage/sqlalchemy/models.py as python model of database. But this model doesn't uses for creation of database. Migrations (migrate and alembic) in ceilometer/storage/sqlalchemy/[migrate_repo, alembic]/versions are used for this goal. In fact we have a difference in models and migrations. Also migrations are tested in every component in OpenStack test and they should be checked by sync with models. We should use one main concept in migrations testing. From oslo should be used: 1) openstack/common/test.py , 2) openstack/common/db/sqlalchemy/test_migrations.[py,conf] Specification URL (additional information): None