diff --git a/turbo_hipster/task_plugins/gate_real_db_upgrade/nova_mysql_migrations.sh b/turbo_hipster/task_plugins/gate_real_db_upgrade/nova_mysql_migrations.sh index 9f249f0..65a4c4d 100755 --- a/turbo_hipster/task_plugins/gate_real_db_upgrade/nova_mysql_migrations.sh +++ b/turbo_hipster/task_plugins/gate_real_db_upgrade/nova_mysql_migrations.sh @@ -27,6 +27,7 @@ pip_requires() { pip install -q mysql-python + pip install -q eventlet requires="tools/pip-requires" if [ ! -e $requires ] then @@ -105,6 +106,7 @@ export PYTHONPATH=$PYTHONPATH:$3 version=`mysql -u $4 --password=$5 $6 -e "select * from migrate_version \G" | grep version | sed 's/.*: //'` echo "Schema version is $version" +git branch -D working # zuul puts us in a headless mode, lets check it out into a working branch git checkout -b working