Reviewed: https://review.openstack.org/5980 Committed: http://github.com/openstack/glance/commit/1e708f423c5c8a3ac2c2905971a04e47bd484c88 Submitter: Jenkins Branch: milestone-proposed
commit 1e708f423c5c8a3ac2c2905971a04e47bd484c88 Author: Mark McLoughlin <email address hidden> Date: Tue Mar 27 12:23:47 2012 +0100
Allow specifying the current version in 'glance-manage version_control'
Fixes bug #966242
The version_control command is a bit useless since you can't actually specify what version to use and it defaults to version=0.
Allow the user to specify a version:
$> glance-manage version_control 9 # set the diablo version
and default to the latest version if none is specified.
Also, allow db_sync to be supplied a version for the case where we're upgrading an unversioned DB.
Finally, re-work the argument handling in glance-manage to more easily handle optional args.
The tests are extended to test using db_sync for upgrades and to test placing an existing database under version control.
Change-Id: I231dc710554198bfd1fdcb82c3c3768963f64bd8
Reviewed: https:/ /review. openstack. org/5980 github. com/openstack/ glance/ commit/ 1e708f423c5c8a3 ac2c2905971a04e 47bd484c88
Committed: http://
Submitter: Jenkins
Branch: milestone-proposed
commit 1e708f423c5c8a3 ac2c2905971a04e 47bd484c88
Author: Mark McLoughlin <email address hidden>
Date: Tue Mar 27 12:23:47 2012 +0100
Allow specifying the current version in 'glance-manage version_control'
Fixes bug #966242
The version_control command is a bit useless since you can't actually
specify what version to use and it defaults to version=0.
Allow the user to specify a version:
$> glance-manage version_control 9 # set the diablo version
and default to the latest version if none is specified.
Also, allow db_sync to be supplied a version for the case where we're
upgrading an unversioned DB.
Finally, re-work the argument handling in glance-manage to more easily
handle optional args.
The tests are extended to test using db_sync for upgrades and to test
placing an existing database under version control.
Change-Id: I231dc710554198 bfd1fdcb82c3c37 68963f64bd8