summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoshua Hesketh <josh@nitrotech.org>2015-04-30 11:08:59 +1000
committerJoshua Hesketh <josh@nitrotech.org>2015-04-30 11:08:59 +1000
commit4c0fbd8d25f929550fc413993a13ed12f4063565 (patch)
tree1b1850fcbcf256ff86f576e56bb88b2eb279a54d
parent7ad3bcc4768c5dd05bccd53831a6fb4e9be25e87 (diff)
downloadturbo-hipster-4c0fbd8d25f929550fc413993a13ed12f4063565.tar.gz
Fix mysql counters for migrate_flavor_data
Change-Id: Ibfbe082ccbbfcb0826c6805c83745daece27389e
-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 d620a70..1171f40 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
@@ -122,6 +122,8 @@ EOF
then
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 --force
+ echo "MySQL counters after migrate_flavor_data:"
+ mysql -u $DB_USER --password=$DB_PASS $DB_NAME -e "show status like 'innodb%';"
set +x
fi