diff options
author | Joshua Hesketh <josh@nitrotech.org> | 2015-04-30 11:57:43 +1000 |
---|---|---|
committer | Joshua Hesketh <josh@nitrotech.org> | 2015-04-30 11:57:43 +1000 |
commit | cbeb7a4fa78d521ee63bd386804f816b698521b2 (patch) | |
tree | a26bfb002be6bf8522750abd60b71ff221a29337 /turbo_hipster/task_plugins/real_db_upgrade/nova_mysql_migrations.sh | |
parent | 4c0fbd8d25f929550fc413993a13ed12f4063565 (diff) | |
download | turbo-hipster-cbeb7a4fa78d521ee63bd386804f816b698521b2.tar.gz |
add mysql counters before flavor migrate
Change-Id: I605077ae5c16c8b4bdff51cca59c62ffedf632db
Diffstat (limited to 'turbo_hipster/task_plugins/real_db_upgrade/nova_mysql_migrations.sh')
-rwxr-xr-x | turbo_hipster/task_plugins/real_db_upgrade/nova_mysql_migrations.sh | 2 |
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%';" |