Browse code

edit-glance-manage-command-for-recreate-db

As per https://bugs.launchpad.net/glance/+bug/1213197, and subsequent
review at https://review.openstack.org/#/c/47161/ Glance-manage commands
are proposed to be subcommands of 'db'. This would require change to the
script to recreate_db which calls the db_sync command.

Implements blueprint edit-glance-manage-command-for-recreate-db
Change-Id: I9470709ec34896dba7a37fdff4791206bb5ef5ed

AmalaBasha authored on 2013/09/20 19:56:10
Showing 1 changed files
... ...
@@ -171,7 +171,7 @@ function init_glance() {
171 171
     recreate_database glance utf8
172 172
 
173 173
     # Migrate glance database
174
-    $GLANCE_BIN_DIR/glance-manage db_sync
174
+    $GLANCE_BIN_DIR/glance-manage db sync
175 175
 
176 176
     create_glance_cache_dir
177 177
 }