Merge "Run nova api_db sync before db sync" into stable/stein
This commit is contained in:
commit
efdc4c6a48
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue