add mysql counters before flavor migrate

Change-Id: I605077ae5c16c8b4bdff51cca59c62ffedf632db
This commit is contained in:
Joshua Hesketh 2015-04-30 11:57:43 +10:00
parent 4c0fbd8d25
commit cbeb7a4fa7
1 changed files with 2 additions and 0 deletions

View File

@ -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%';"