Currently, we auto-create an unversioned DB. This makes it awkward to
later upgrade it, especially since our 'glance-manage version_control'
command doesn't support retroactively versiioning it.
This is easily avoided by running version_control() after creating the
DB.
Reviewed: https:/ /review. openstack. org/6166 github. com/openstack/ glance/ commit/ 8e642d9be1d5045 fe351289a50bd18 44c1c06a4d
Committed: http://
Submitter: Jenkins
Branch: milestone-proposed
commit 8e642d9be1d5045 fe351289a50bd18 44c1c06a4d
Author: Mark McLoughlin <email address hidden>
Date: Tue Mar 27 15:03:06 2012 +0100
Run version_control after auto-creating the DB
Fixes bug #966241
Currently, we auto-create an unversioned DB. This makes it awkward to
later upgrade it, especially since our 'glance-manage version_control'
command doesn't support retroactively versiioning it.
This is easily avoided by running version_control() after creating the
DB.
Change-Id: I935c06fcbcd361 1c65d464850ca05 445129f905f