Browse code

Merge "Run online_data_migrations during nova setup"

Jenkins authored on 2016/03/31 03:51:21
Showing 1 changed files
... ...
@@ -708,6 +708,10 @@ function init_nova {
708 708
 
709 709
         recreate_database $NOVA_API_DB
710 710
         $NOVA_BIN_DIR/nova-manage api_db sync
711
+
712
+        # Run online migrations on the new databases
713
+        # Needed for flavor conversion
714
+        $NOVA_BIN_DIR/nova-manage db online_data_migrations
711 715
     fi
712 716
 
713 717
     create_nova_cache_dir