The default metadata driver for glance uses sqlalchemy, which implies there exists a backend database which must be managed. The glance-manage binary provides a set of commands for making this easier.
This will take an empty database and create the necessary tables.
This will print the version of a glance database.
glance-manage db_sync <VERSION>
This will take an existing database and upgrade it to the specified VERSION.
glance-manage downgrade <VERSION>
This will downgrade an existing database from the current version to the specified VERSION.