summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Hesketh <josh@nitrotech.org>2015-04-30 11:57:43 +1000
committerJoshua Hesketh <josh@nitrotech.org>2015-04-30 11:57:43 +1000
commitcbeb7a4fa78d521ee63bd386804f816b698521b2 (patch)
treea26bfb002be6bf8522750abd60b71ff221a29337
parent4c0fbd8d25f929550fc413993a13ed12f4063565 (diff)
downloadturbo-hipster-cbeb7a4fa78d521ee63bd386804f816b698521b2.tar.gz
add mysql counters before flavor migrate
Change-Id: I605077ae5c16c8b4bdff51cca59c62ffedf632db
-rwxr-xr-xturbo_hipster/task_plugins/real_db_upgrade/nova_mysql_migrations.sh2
1 files changed, 2 insertions, 0 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 1171f40..a346dd2 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
@@ -121,6 +121,8 @@ EOF
if [ $i == 291 ]
then
set -x
+ echo "MySQL counters before migrate_flavor_data:"
+ mysql -u $DB_USER --password=$DB_PASS $DB_NAME -e "show status like 'innodb%';"
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 --force
echo "MySQL counters after migrate_flavor_data:"
mysql -u $DB_USER --password=$DB_PASS $DB_NAME -e "show status like 'innodb%';"