Comment 2 for bug 779311

Revision history for this message
Graham Hemingway (graham-hemingway) wrote :

Rick, thanks for getting back to me on this.

My connection string is:
sql_connection = sqlite:////var/lib/glance/glance.sqlite

There is a migrate version table. Here is some info:
sqlite> select * from migrate_version;
Glance Migrations|/usr/lib/pymodules/python2.6/glance/registry/db/migrate_repo|0

So, the database was not created in either of these ways. I ran into a glance bug two weeks ago (see https://answers.launchpad.net/glance/+question/154442). In trying to fix this I deleted the glance.sqlite database. I let glance recreate it on startup (which it seems to do). But I never called db_sync or anything else. I am certain that this is the cause of my issue. Is there a way to fix it?

Thanks,
   Graham