Merge "Run nova api_db sync before db sync" into stable/stein

This commit is contained in:
Zuul 2019-06-28 08:11:31 +00:00 committed by Gerrit Code Review
commit efdc4c6a48
1 changed files with 2 additions and 2 deletions

View File

@ -3,15 +3,15 @@
# Bootstrap and exit if KOLLA_BOOTSTRAP variable is set. This catches all cases
# of the KOLLA_BOOTSTRAP variable being set, including empty.
if [[ "${!KOLLA_BOOTSTRAP[@]}" ]]; then
nova-manage db sync
nova-manage api_db sync
nova-manage db sync
nova-manage db online_data_migrations
exit 0
fi
if [[ "${!KOLLA_UPGRADE[@]}" ]]; then
nova-manage db sync
nova-manage api_db sync
nova-manage db sync
exit 0
fi