summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Hesketh <josh@nitrotech.org>2015-04-21 18:35:16 +1000
committerJoshua Hesketh <josh@nitrotech.org>2015-04-21 18:35:16 +1000
commitd5dba84d33803f0137363914e69882729e444d72 (patch)
treea92c0364d0efab4cc892da93f56b9665848a0b9c
parenta209001e3f890e4c9669f9fe28efd04548f1aab9 (diff)
downloadturbo-hipster-d5dba84d33803f0137363914e69882729e444d72.tar.gz
Fix migrate-flavor-data command
Missed the db sub-command Change-Id: I4f0170dcceaecd3151f8805b3a085e52086510af
-rwxr-xr-xturbo_hipster/task_plugins/real_db_upgrade/nova_mysql_migrations.sh4
1 files changed, 3 insertions, 1 deletions
diff --git a/turbo_hipster/task_plugins/real_db_upgrade/nova_mysql_migrations.sh b/turbo_hipster/task_plugins/real_db_upgrade/nova_mysql_migrations.sh
index 4332150..26752f8 100755
--- a/turbo_hipster/task_plugins/real_db_upgrade/nova_mysql_migrations.sh
+++ b/turbo_hipster/task_plugins/real_db_upgrade/nova_mysql_migrations.sh
@@ -120,7 +120,9 @@ EOF
# so we'll migrate just before then
if [ $i == 291 ]
then
- sudo /sbin/ip netns exec nonet `dirname $0`/nova-manage-wrapper.sh $VENV_PATH --config-file $WORKING_DIR_PATH/nova-$1.conf --verbose migrate-flavor-data
+ set -x
+ sudo /sbin/ip netns exec nonet `dirname $0`/nova-manage-wrapper.sh $VENV_PATH --config-file $WORKING_DIR_PATH/nova-$1.conf --verbose db migrate-flavor-data
+ set +x
fi
set -x