Comment 1 for bug 779311

Revision history for this message
Rick Harris (rconradharris) wrote :

Hi Graham, thanks for the bug report!

It looks like we're trying to erroneously re-migrate your database from the beginning. AFAIK, this only happens when the target DB is missing the `migrate_version` table which keeps track of which version of the database schema we're using.

Out of curiosity:

* Could you paste in what value you have for `sql_connection` in `/etc/glance/glance.conf`?

* Is there a `migrate_version` table present in the `glance` database?

* If the `migrate_version` table is present, can you paste in the results of a `SELECT * FROM migrate_version;`

* How was the `glance` database originally created? Was the database created by installing the glance package, or was glance originally installed from source and `glance-manage db_sync` run?

Thanks,

-Rick